معرفی شرکت ها


darkmark-0.1.0


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Execute codeblocks inside of markdown
ویژگی مقدار
سیستم عامل -
نام فایل darkmark-0.1.0
نام darkmark
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده "Waylon S. Walker" <waylon@waylonwalker.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/darkmark/
مجوز -
# DarkMark <img src="https://user-images.githubusercontent.com/22648375/216847624-d4dbc93b-76d7-4d2c-ba71-fa58b4b331e5.png" alt="darkmark" width="250" align=right> [![PyPI - Version](https://img.shields.io/pypi/v/darkmark.svg)](https://pypi.org/project/darkmark) [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/darkmark.svg)](https://pypi.org/project/darkmark) Runs codeblocks marked with the darkmark, and inserts the results. DarkMark uses tree-sitter to identify codeblocks. Currently it only supports python codeblocks in markdown files and runs them with ipython. Handy for writing docs/blog posts so you can stay right in your markdown editor of choice and get the outputs in line. No need to jump into a whole other tool just to do live execution. ----- ## Installation ```console pip install darkmark ``` ```console ❯ darkmark --help Usage: darkmark [OPTIONS] FILE COMMAND [ARGS]... run code blocks in markdown ╭─ Arguments ────────────────────────────────────────────────────────────────────────────╮ │ * file PATH [default: None] [required] │ ╰────────────────────────────────────────────────────────────────────────────────────────╯ ╭─ Options ──────────────────────────────────────────────────────────────────────────────╮ │ --version │ │ --debug start with debug mode │ │ running │ │ --dry-run --no-dry-run run without saving │ │ [default: no-dry-run] │ │ --sexp --no-sexp print the sexp of the │ │ document │ │ [default: no-sexp] │ │ --clear --no-clear clear existing │ │ darkmarks │ │ [default: no-clear] │ │ --verbose --no-verbose show the log messages │ │ [default: no-verbose] │ │ --watch --no-watch rerun when file changes │ │ [default: no-watch] │ │ --install-completion [bash|zsh|fish|powers Install completion for │ │ hell|pwsh] the specified shell. │ │ [default: None] │ │ --show-completion [bash|zsh|fish|powers Show completion for the │ │ hell|pwsh] specified shell, to │ │ copy it or customize │ │ the installation. │ │ [default: None] │ │ --help Show this message and │ │ exit. │ ╰────────────────────────────────────────────────────────────────────────────────────────╯ ``` ## Usage Mark your codeblocks with the darkmark. ~~~ markdown ```python {.python .darkmark} r = requests.get('https://waylonwalker.com') r.status_code ``` ~~~ Then run `darkmark <file>.md` and darkmark will insert the results of the codeblock. ~~~ markdown ``` {.console .darkmark_output} 200 ``` ~~~ ## Automatic imports Automatic imports are provided by [pyflyby](https://github.com/deshaw/pyflyby). ## Supported Languages Currently the only language supported is python. * python ## Example Running `darkmark --watch <file.md>` updates the file on save. [darkmark.webm](https://user-images.githubusercontent.com/22648375/216849738-12897dfc-3e2b-4e5b-9b6d-cbb29c3ae782.webm) ## License `darkmark` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.


نیازمندی

مقدار نام
- checksumdir
- ipython
- pyflyby
- rich
- tree-sitter-languages
- typer


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl darkmark-0.1.0:

    pip install darkmark-0.1.0.whl


نصب پکیج tar.gz darkmark-0.1.0:

    pip install darkmark-0.1.0.tar.gz