markdown-exec 1.12.1__tar.gz → 1.12.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/CHANGELOG.md +8 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/PKG-INFO +3 -9
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/README.md +2 -8
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/pyproject.toml +1 -1
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/scripts/gen_credits.py +1 -1
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/pyodide.py +16 -10
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/CODE_OF_CONDUCT.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/CONTRIBUTING.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/LICENSE +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/config/coverage.ini +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/config/git-changelog.toml +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/config/mypy.ini +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/config/pytest.ini +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/config/ruff.toml +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/config/vscode/launch.json +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/config/vscode/settings.json +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/config/vscode/tasks.json +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/.overrides/main.html +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/.overrides/partials/comments.html +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/.overrides/partials/path-item.html +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/changelog.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/code_of_conduct.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/contributing.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/credits.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/css/material.css +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/css/mkdocstrings.css +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/gallery.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/index.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/js/feedback.js +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/license.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/reference/api.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/schema.json +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/ansi.sh +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/argparse.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/argparse_format.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/chalk.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/d2.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/diagrams.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/drawsvg.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/expandable_filetree.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/hyperbolic.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/matplotlib.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/plotly.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/pydeps.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/qrcode.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/rich.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/rich_terminal.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/runpy.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/gallery/textual.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/usage/boolean_matrix.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/usage/hide.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/usage/multiple.pycon +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/usage/platform_html.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/usage/platform_md.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/usage/source.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/snippets/usage/source.pycon +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/usage/index.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/usage/pyodide.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/usage/python.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/usage/shell.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/docs/usage/tree.md +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/duties.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/mkdocs.yml +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/scripts/get_version.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/scripts/make +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/scripts/make.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/__init__.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/__init__.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/debug.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/__init__.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/_exec_python.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/base.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/bash.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/console.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/markdown.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/pycon.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/python.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/sh.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/tree.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/logger.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/main.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/mkdocs_plugin.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/processors.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/rendering.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/assets/ansi.css +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/assets/pyodide.css +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/assets/pyodide.js +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/__init__.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/base.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/bash.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/console.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/markdown.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/pycon.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/pyodide.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/python.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/sh.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/formatters/tree.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/logger.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/mkdocs_plugin.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/processors.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/py.typed +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/rendering.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/__init__.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/conftest.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_api.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_base_formatter.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_converter.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_headings.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_python.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_shell.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_toc.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_tree.py +0 -0
- {markdown_exec-1.12.1 → markdown_exec-1.12.2}/tests/test_validator.py +0 -0
|
@@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
7
|
<!-- insertion marker -->
|
|
8
|
+
## [1.12.2](https://github.com/pawamoy/markdown-exec/releases/tag/1.12.2) - 2026-07-05
|
|
9
|
+
|
|
10
|
+
<small>[Compare with 1.12.1](https://github.com/pawamoy/markdown-exec/compare/1.12.1...1.12.2)</small>
|
|
11
|
+
|
|
12
|
+
### Code Refactoring
|
|
13
|
+
|
|
14
|
+
- Better integrate with Zensical ([e4f60c1](https://github.com/pawamoy/markdown-exec/commit/e4f60c12de3b05fb31486b5823f45258d281d001) by Timothée Mazzucotelli). [PR-99](https://github.com/pawamoy/markdown-exec/pull/99)
|
|
15
|
+
|
|
8
16
|
## [1.12.1](https://github.com/pawamoy/markdown-exec/releases/tag/1.12.1) - 2025-11-11
|
|
9
17
|
|
|
10
18
|
<small>[Compare with 1.12.0](https://github.com/pawamoy/markdown-exec/compare/1.12.0...1.12.1)</small>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: markdown-exec
|
|
3
|
-
Version: 1.12.
|
|
3
|
+
Version: 1.12.2
|
|
4
4
|
Summary: Utilities to execute code blocks in Markdown files.
|
|
5
5
|
Keywords: markdown,python,exec,shell,bash,mkdocs
|
|
6
6
|
Author-Email: =?utf-8?q?Timoth=C3=A9e_Mazzucotelli?= <dev@pawamoy.fr>
|
|
@@ -157,9 +157,7 @@ and the [gallery](https://pawamoy.github.io/markdown-exec/gallery/) for more exa
|
|
|
157
157
|
<div id="premium-sponsors" style="text-align: center;">
|
|
158
158
|
|
|
159
159
|
<div id="silver-sponsors"><b>Silver sponsors</b><p>
|
|
160
|
-
<a href="https://squidfunk.github.io/mkdocs-material/"><img alt="Material for MkDocs" src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg" style="height: 320px; "></a><br>
|
|
161
160
|
<a href="https://fastapi.tiangolo.com/"><img alt="FastAPI" src="https://raw.githubusercontent.com/tiangolo/fastapi/master/docs/en/docs/img/logo-margin/logo-teal.png" style="height: 200px; "></a><br>
|
|
162
|
-
<a href="https://docs.pydantic.dev/latest/"><img alt="Pydantic" src="https://pydantic.dev/assets/for-external/pydantic_logfire_logo_endorsed_lithium_rgb.svg" style="height: 180px; "></a><br>
|
|
163
161
|
</p></div>
|
|
164
162
|
|
|
165
163
|
<div id="bronze-sponsors"><b>Bronze sponsors</b><p>
|
|
@@ -181,23 +179,18 @@ and the [gallery](https://pawamoy.github.io/markdown-exec/gallery/) for more exa
|
|
|
181
179
|
<a href="https://github.com/machow"><img alt="machow" src="https://avatars.githubusercontent.com/u/2574498?u=c41e3d2f758a05102d8075e38d67b9c17d4189d7&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
182
180
|
<a href="https://github.com/BenHammersley"><img alt="BenHammersley" src="https://avatars.githubusercontent.com/u/99436?u=4499a7b507541045222ee28ae122dbe3c8d08ab5&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
183
181
|
<a href="https://github.com/trevorWieland"><img alt="trevorWieland" src="https://avatars.githubusercontent.com/u/28811461?u=74cc0e3756c1d4e3d66b5c396e1d131ea8a10472&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
184
|
-
<a href="https://github.com/laenan8466"><img alt="laenan8466" src="https://avatars.githubusercontent.com/u/21331242?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
185
182
|
<a href="https://github.com/MarcoGorelli"><img alt="MarcoGorelli" src="https://avatars.githubusercontent.com/u/33491632?u=7de3a749cac76a60baca9777baf71d043a4f884d&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
186
183
|
<a href="https://github.com/analog-cbarber"><img alt="analog-cbarber" src="https://avatars.githubusercontent.com/u/7408243?u=642fc2bdcc9904089c62fe5aec4e03ace32da67d&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
187
184
|
<a href="https://github.com/OdinManiac"><img alt="OdinManiac" src="https://avatars.githubusercontent.com/u/22727172?u=36ab20970f7f52ae8e7eb67b7fcf491fee01ac22&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
188
185
|
<a href="https://github.com/rstudio-sponsorship"><img alt="rstudio-sponsorship" src="https://avatars.githubusercontent.com/u/58949051?u=0c471515dd18111be30dfb7669ed5e778970959b&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
189
186
|
<a href="https://github.com/schlich"><img alt="schlich" src="https://avatars.githubusercontent.com/u/21191435?u=6f1240adb68f21614d809ae52d66509f46b1e877&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
190
|
-
<a href="https://github.com/SuperCowPowers"><img alt="SuperCowPowers" src="https://avatars.githubusercontent.com/u/6900187?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
191
187
|
<a href="https://github.com/butterlyn"><img alt="butterlyn" src="https://avatars.githubusercontent.com/u/53323535?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
192
188
|
<a href="https://github.com/livingbio"><img alt="livingbio" src="https://avatars.githubusercontent.com/u/10329983?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
193
189
|
<a href="https://github.com/NemetschekAllplan"><img alt="NemetschekAllplan" src="https://avatars.githubusercontent.com/u/912034?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
194
190
|
<a href="https://github.com/EricJayHartman"><img alt="EricJayHartman" src="https://avatars.githubusercontent.com/u/9259499?u=7e58cc7ec0cd3e85b27aec33656aa0f6612706dd&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
195
191
|
<a href="https://github.com/15r10nk"><img alt="15r10nk" src="https://avatars.githubusercontent.com/u/44680962?u=f04826446ff165742efa81e314bd03bf1724d50e&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
196
|
-
<a href="https://github.com/cdwilson"><img alt="cdwilson" src="https://avatars.githubusercontent.com/u/14631?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
197
192
|
<a href="https://github.com/activeloopai"><img alt="activeloopai" src="https://avatars.githubusercontent.com/u/34816118?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
198
193
|
<a href="https://github.com/roboflow"><img alt="roboflow" src="https://avatars.githubusercontent.com/u/53104118?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
199
|
-
<a href="https://github.com/wrath-codes"><img alt="wrath-codes" src="https://avatars.githubusercontent.com/u/90050913?u=b26582409dfff8ce2b60016fd119be09309708da&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
200
|
-
<a href="https://github.com/leodevian"><img alt="leodevian" src="https://avatars.githubusercontent.com/u/167141781?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
201
194
|
<a href="https://github.com/cmclaughlin"><img alt="cmclaughlin" src="https://avatars.githubusercontent.com/u/1061109?u=ddf6eec0edd2d11c980f8c3aa96e3d044d4e0468&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
202
195
|
<a href="https://github.com/blaisep"><img alt="blaisep" src="https://avatars.githubusercontent.com/u/254456?u=97d584b7c0a6faf583aa59975df4f993f671d121&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
203
196
|
<a href="https://github.com/RapidataAI"><img alt="RapidataAI" src="https://avatars.githubusercontent.com/u/104209891?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
@@ -206,9 +199,10 @@ and the [gallery](https://pawamoy.github.io/markdown-exec/gallery/) for more exa
|
|
|
206
199
|
<a href="https://github.com/blakeNaccarato"><img alt="blakeNaccarato" src="https://avatars.githubusercontent.com/u/20692450?u=bb919218be30cfa994514f4cf39bb2f7cf952df4&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
207
200
|
<a href="https://github.com/ChargeStorm"><img alt="ChargeStorm" src="https://avatars.githubusercontent.com/u/26000165?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
208
201
|
<a href="https://github.com/Alphadelta14"><img alt="Alphadelta14" src="https://avatars.githubusercontent.com/u/480845?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
202
|
+
<a href="https://github.com/Cusp-AI"><img alt="Cusp-AI" src="https://avatars.githubusercontent.com/u/178170649?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
209
203
|
</p></div>
|
|
210
204
|
|
|
211
205
|
|
|
212
|
-
*And
|
|
206
|
+
*And 7 more private sponsor(s).*
|
|
213
207
|
|
|
214
208
|
<!-- sponsors-end -->
|
|
@@ -121,9 +121,7 @@ and the [gallery](https://pawamoy.github.io/markdown-exec/gallery/) for more exa
|
|
|
121
121
|
<div id="premium-sponsors" style="text-align: center;">
|
|
122
122
|
|
|
123
123
|
<div id="silver-sponsors"><b>Silver sponsors</b><p>
|
|
124
|
-
<a href="https://squidfunk.github.io/mkdocs-material/"><img alt="Material for MkDocs" src="https://raw.githubusercontent.com/squidfunk/mkdocs-material/master/.github/assets/logo.svg" style="height: 320px; "></a><br>
|
|
125
124
|
<a href="https://fastapi.tiangolo.com/"><img alt="FastAPI" src="https://raw.githubusercontent.com/tiangolo/fastapi/master/docs/en/docs/img/logo-margin/logo-teal.png" style="height: 200px; "></a><br>
|
|
126
|
-
<a href="https://docs.pydantic.dev/latest/"><img alt="Pydantic" src="https://pydantic.dev/assets/for-external/pydantic_logfire_logo_endorsed_lithium_rgb.svg" style="height: 180px; "></a><br>
|
|
127
125
|
</p></div>
|
|
128
126
|
|
|
129
127
|
<div id="bronze-sponsors"><b>Bronze sponsors</b><p>
|
|
@@ -145,23 +143,18 @@ and the [gallery](https://pawamoy.github.io/markdown-exec/gallery/) for more exa
|
|
|
145
143
|
<a href="https://github.com/machow"><img alt="machow" src="https://avatars.githubusercontent.com/u/2574498?u=c41e3d2f758a05102d8075e38d67b9c17d4189d7&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
146
144
|
<a href="https://github.com/BenHammersley"><img alt="BenHammersley" src="https://avatars.githubusercontent.com/u/99436?u=4499a7b507541045222ee28ae122dbe3c8d08ab5&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
147
145
|
<a href="https://github.com/trevorWieland"><img alt="trevorWieland" src="https://avatars.githubusercontent.com/u/28811461?u=74cc0e3756c1d4e3d66b5c396e1d131ea8a10472&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
148
|
-
<a href="https://github.com/laenan8466"><img alt="laenan8466" src="https://avatars.githubusercontent.com/u/21331242?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
149
146
|
<a href="https://github.com/MarcoGorelli"><img alt="MarcoGorelli" src="https://avatars.githubusercontent.com/u/33491632?u=7de3a749cac76a60baca9777baf71d043a4f884d&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
150
147
|
<a href="https://github.com/analog-cbarber"><img alt="analog-cbarber" src="https://avatars.githubusercontent.com/u/7408243?u=642fc2bdcc9904089c62fe5aec4e03ace32da67d&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
151
148
|
<a href="https://github.com/OdinManiac"><img alt="OdinManiac" src="https://avatars.githubusercontent.com/u/22727172?u=36ab20970f7f52ae8e7eb67b7fcf491fee01ac22&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
152
149
|
<a href="https://github.com/rstudio-sponsorship"><img alt="rstudio-sponsorship" src="https://avatars.githubusercontent.com/u/58949051?u=0c471515dd18111be30dfb7669ed5e778970959b&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
153
150
|
<a href="https://github.com/schlich"><img alt="schlich" src="https://avatars.githubusercontent.com/u/21191435?u=6f1240adb68f21614d809ae52d66509f46b1e877&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
154
|
-
<a href="https://github.com/SuperCowPowers"><img alt="SuperCowPowers" src="https://avatars.githubusercontent.com/u/6900187?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
155
151
|
<a href="https://github.com/butterlyn"><img alt="butterlyn" src="https://avatars.githubusercontent.com/u/53323535?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
156
152
|
<a href="https://github.com/livingbio"><img alt="livingbio" src="https://avatars.githubusercontent.com/u/10329983?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
157
153
|
<a href="https://github.com/NemetschekAllplan"><img alt="NemetschekAllplan" src="https://avatars.githubusercontent.com/u/912034?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
158
154
|
<a href="https://github.com/EricJayHartman"><img alt="EricJayHartman" src="https://avatars.githubusercontent.com/u/9259499?u=7e58cc7ec0cd3e85b27aec33656aa0f6612706dd&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
159
155
|
<a href="https://github.com/15r10nk"><img alt="15r10nk" src="https://avatars.githubusercontent.com/u/44680962?u=f04826446ff165742efa81e314bd03bf1724d50e&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
160
|
-
<a href="https://github.com/cdwilson"><img alt="cdwilson" src="https://avatars.githubusercontent.com/u/14631?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
161
156
|
<a href="https://github.com/activeloopai"><img alt="activeloopai" src="https://avatars.githubusercontent.com/u/34816118?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
162
157
|
<a href="https://github.com/roboflow"><img alt="roboflow" src="https://avatars.githubusercontent.com/u/53104118?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
163
|
-
<a href="https://github.com/wrath-codes"><img alt="wrath-codes" src="https://avatars.githubusercontent.com/u/90050913?u=b26582409dfff8ce2b60016fd119be09309708da&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
164
|
-
<a href="https://github.com/leodevian"><img alt="leodevian" src="https://avatars.githubusercontent.com/u/167141781?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
165
158
|
<a href="https://github.com/cmclaughlin"><img alt="cmclaughlin" src="https://avatars.githubusercontent.com/u/1061109?u=ddf6eec0edd2d11c980f8c3aa96e3d044d4e0468&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
166
159
|
<a href="https://github.com/blaisep"><img alt="blaisep" src="https://avatars.githubusercontent.com/u/254456?u=97d584b7c0a6faf583aa59975df4f993f671d121&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
167
160
|
<a href="https://github.com/RapidataAI"><img alt="RapidataAI" src="https://avatars.githubusercontent.com/u/104209891?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
@@ -170,9 +163,10 @@ and the [gallery](https://pawamoy.github.io/markdown-exec/gallery/) for more exa
|
|
|
170
163
|
<a href="https://github.com/blakeNaccarato"><img alt="blakeNaccarato" src="https://avatars.githubusercontent.com/u/20692450?u=bb919218be30cfa994514f4cf39bb2f7cf952df4&v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
171
164
|
<a href="https://github.com/ChargeStorm"><img alt="ChargeStorm" src="https://avatars.githubusercontent.com/u/26000165?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
172
165
|
<a href="https://github.com/Alphadelta14"><img alt="Alphadelta14" src="https://avatars.githubusercontent.com/u/480845?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
166
|
+
<a href="https://github.com/Cusp-AI"><img alt="Cusp-AI" src="https://avatars.githubusercontent.com/u/178170649?v=4" style="height: 32px; border-radius: 100%;"></a>
|
|
173
167
|
</p></div>
|
|
174
168
|
|
|
175
169
|
|
|
176
|
-
*And
|
|
170
|
+
*And 7 more private sponsor(s).*
|
|
177
171
|
|
|
178
172
|
<!-- sponsors-end -->
|
|
@@ -55,7 +55,7 @@ def _extra_marker(req: Requirement) -> str | None:
|
|
|
55
55
|
if not req.marker:
|
|
56
56
|
return None
|
|
57
57
|
try:
|
|
58
|
-
return next(marker[2].value for marker in req.marker._markers if getattr(marker[0], "value", None) == "extra")
|
|
58
|
+
return next(marker[2].value for marker in req.marker._markers if getattr(marker[0], "value", None) == "extra") # type: ignore[union-attr]
|
|
59
59
|
except StopIteration:
|
|
60
60
|
return None
|
|
61
61
|
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/pyodide.py
RENAMED
|
@@ -4,16 +4,16 @@ from __future__ import annotations
|
|
|
4
4
|
|
|
5
5
|
from typing import TYPE_CHECKING, Any
|
|
6
6
|
|
|
7
|
+
import markdown_exec
|
|
8
|
+
|
|
7
9
|
if TYPE_CHECKING:
|
|
8
10
|
from markdown import Markdown
|
|
9
11
|
|
|
10
12
|
# All Ace.js themes listed here:
|
|
11
13
|
# https://github.com/ajaxorg/ace/tree/master/src/theme
|
|
12
14
|
|
|
13
|
-
_play_emoji =
|
|
14
|
-
|
|
15
|
-
)
|
|
16
|
-
_clear_emoji = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.14 3c-.51 0-1.02.2-1.41.59L2.59 14.73c-.78.77-.78 2.04 0 2.83L5.03 20h7.66l8.72-8.73c.79-.77.79-2.04 0-2.83l-4.85-4.85c-.39-.39-.91-.59-1.42-.59M17 18l-2 2h7v-2"></path></svg>'
|
|
15
|
+
_play_emoji = '<span class="twemoji"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8 5.14v14l11-7-11-7Z"></path></svg></span> '
|
|
16
|
+
_clear_emoji = '<span class="twemoji"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.14 3c-.51 0-1.02.2-1.41.59L2.59 14.73c-.78.77-.78 2.04 0 2.83L5.03 20h7.66l8.72-8.73c.79-.77.79-2.04 0-2.83l-4.85-4.85c-.39-.39-.91-.59-1.42-.59M17 18l-2 2h7v-2"></path></svg></span> '
|
|
17
17
|
|
|
18
18
|
_assets = """
|
|
19
19
|
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.16.0/ace.js"></script>
|
|
@@ -26,15 +26,17 @@ _assets = """
|
|
|
26
26
|
_template = """
|
|
27
27
|
<div class="pyodide">
|
|
28
28
|
<div class="pyodide-editor-bar">
|
|
29
|
-
<span class="pyodide-bar-item">Editor (session: %(session)s)</span><span id="%(id_prefix)srun" title="Run: press Ctrl-Enter" class="pyodide-bar-item pyodide-clickable"
|
|
29
|
+
<span class="pyodide-bar-item">Editor (session: %(session)s)</span><span id="%(id_prefix)srun" title="Run: press Ctrl-Enter" class="pyodide-bar-item pyodide-clickable">%(play_emoji)sRun</span>
|
|
30
30
|
</div>
|
|
31
31
|
<div><pre id="%(id_prefix)seditor" class="pyodide-editor">%(initial_code)s</pre></div>
|
|
32
32
|
<div class="pyodide-editor-bar">
|
|
33
|
-
<span class="pyodide-bar-item">Output</span><span id="%(id_prefix)sclear" class="pyodide-bar-item pyodide-clickable"
|
|
33
|
+
<span class="pyodide-bar-item">Output</span><span id="%(id_prefix)sclear" class="pyodide-bar-item pyodide-clickable">%(clear_emoji)sClear</span>
|
|
34
34
|
</div>
|
|
35
35
|
<pre><code id="%(id_prefix)soutput" class="pyodide-output"></code></pre>
|
|
36
36
|
</div>
|
|
37
|
+
"""
|
|
37
38
|
|
|
39
|
+
_script = """
|
|
38
40
|
<script>
|
|
39
41
|
document.addEventListener('DOMContentLoaded', (event) => {
|
|
40
42
|
setupPyodide(
|
|
@@ -83,6 +85,7 @@ def _format_pyodide(code: str, md: Markdown, session: str, extra: dict, **option
|
|
|
83
85
|
theme_light, theme_dark = theme.split(",")
|
|
84
86
|
min_lines, max_lines = _calculate_height(code, extra)
|
|
85
87
|
|
|
88
|
+
zensical = getattr(markdown_exec, "_caller", "") == "zensical"
|
|
86
89
|
data = {
|
|
87
90
|
"id_prefix": f"exec-{_counter}--",
|
|
88
91
|
"initial_code": code,
|
|
@@ -90,12 +93,15 @@ def _format_pyodide(code: str, md: Markdown, session: str, extra: dict, **option
|
|
|
90
93
|
"theme_light": theme_light.strip(),
|
|
91
94
|
"theme_dark": theme_dark.strip(),
|
|
92
95
|
"session": session or "default",
|
|
93
|
-
"play_emoji": _play_emoji,
|
|
94
|
-
"clear_emoji": _clear_emoji,
|
|
96
|
+
"play_emoji": "" if zensical else _play_emoji,
|
|
97
|
+
"clear_emoji": "" if zensical else _clear_emoji,
|
|
95
98
|
"min_lines": min_lines,
|
|
96
99
|
"max_lines": max_lines,
|
|
97
100
|
}
|
|
98
|
-
rendered = _template
|
|
99
|
-
if
|
|
101
|
+
rendered = _template
|
|
102
|
+
if not zensical:
|
|
103
|
+
rendered += _script
|
|
104
|
+
rendered %= data
|
|
105
|
+
if zensical or exclude_assets:
|
|
100
106
|
return rendered
|
|
101
107
|
return _assets.format(version=version) + rendered
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/__init__.py
RENAMED
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/_exec_python.py
RENAMED
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/base.py
RENAMED
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/bash.py
RENAMED
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/console.py
RENAMED
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/markdown.py
RENAMED
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/pycon.py
RENAMED
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/python.py
RENAMED
|
File without changes
|
|
File without changes
|
{markdown_exec-1.12.1 → markdown_exec-1.12.2}/src/markdown_exec/_internal/formatters/tree.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|