markdown-exec 1.10.2__tar.gz → 1.10.3__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.10.2 → markdown_exec-1.10.3}/CHANGELOG.md +13 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/PKG-INFO +1 -1
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/pyproject.toml +1 -1
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/assets/pyodide.js +3 -1
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/CODE_OF_CONDUCT.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/CONTRIBUTING.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/LICENSE +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/README.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/config/coverage.ini +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/config/git-changelog.toml +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/config/mypy.ini +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/config/pytest.ini +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/config/ruff.toml +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/config/vscode/launch.json +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/config/vscode/settings.json +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/config/vscode/tasks.json +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/.overrides/main.html +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/.overrides/partials/comments.html +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/.overrides/partials/path-item.html +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/changelog.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/code_of_conduct.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/contributing.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/credits.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/css/insiders.css +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/css/material.css +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/css/mkdocstrings.css +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/gallery.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/index.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/insiders/changelog.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/insiders/goals.yml +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/insiders/index.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/insiders/installation.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/js/feedback.js +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/js/insiders.js +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/license.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/reference/api.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/schema.json +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/ansi.sh +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/argparse.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/argparse_format.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/chalk.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/d2.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/diagrams.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/drawsvg.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/expandable_filetree.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/hyperbolic.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/matplotlib.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/plotly.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/pydeps.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/qrcode.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/rich.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/rich_terminal.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/runpy.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/gallery/textual.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/usage/boolean_matrix.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/usage/hide.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/usage/multiple.pycon +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/usage/platform_html.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/usage/platform_md.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/usage/source.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/snippets/usage/source.pycon +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/usage/index.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/usage/pyodide.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/usage/python.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/usage/shell.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/docs/usage/tree.md +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/duties.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/mkdocs.yml +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/scripts/gen_credits.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/scripts/get_version.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/scripts/insiders.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/scripts/make +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/scripts/make.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/__init__.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/__init__.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/debug.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/__init__.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/_exec_python.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/base.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/bash.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/console.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/markdown.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/pycon.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/pyodide.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/python.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/sh.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/tree.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/logger.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/main.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/mkdocs_plugin.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/processors.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/rendering.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/assets/ansi.css +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/assets/pyodide.css +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/__init__.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/base.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/bash.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/console.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/markdown.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/pycon.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/pyodide.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/python.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/sh.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/formatters/tree.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/logger.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/mkdocs_plugin.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/processors.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/py.typed +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/rendering.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/__init__.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/conftest.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_api.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_base_formatter.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_converter.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_headings.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_python.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_shell.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_toc.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_tree.py +0 -0
- {markdown_exec-1.10.2 → markdown_exec-1.10.3}/tests/test_validator.py +0 -0
@@ -5,10 +5,23 @@ 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.10.3](https://github.com/pawamoy/markdown-exec/releases/tag/1.10.3) - 2025-03-24
|
9
|
+
|
10
|
+
<small>[Compare with 1.10.2](https://github.com/pawamoy/markdown-exec/compare/1.10.2...1.10.3)</small>
|
11
|
+
|
12
|
+
### Bug Fixes
|
13
|
+
|
14
|
+
- Also escape strings printed directly to the output ([a668aeb](https://github.com/pawamoy/markdown-exec/commit/a668aeb9106ed3861553acd50fd38e716eaacd75) by Timothée Mazzucotelli). [Issue-87](https://github.com/pawamoy/markdown-exec/issues/87)
|
15
|
+
- Don't forget to clear "Initializing" in Pyodide output ([e0b52b4](https://github.com/pawamoy/markdown-exec/commit/e0b52b44e0355d8f524cbd4c47d32e8a9d51e4c5) by Timothée Mazzucotelli).
|
16
|
+
|
8
17
|
## [1.10.2](https://github.com/pawamoy/markdown-exec/releases/tag/1.10.2) - 2025-03-18
|
9
18
|
|
10
19
|
<small>[Compare with 1.10.1](https://github.com/pawamoy/markdown-exec/compare/1.10.1...1.10.2)</small>
|
11
20
|
|
21
|
+
### Deprecations
|
22
|
+
|
23
|
+
Expose public API under top-level module `markdown_exec`. Importing from submodules is now deprecated.
|
24
|
+
|
12
25
|
### Bug Fixes
|
13
26
|
|
14
27
|
- Escape Pyodide output, improve error handling ([ec83f48](https://github.com/pawamoy/markdown-exec/commit/ec83f48db29708b03e8d2487ccb0d5ee0889a464) by Timothée Mazzucotelli). [Issue-87](https://github.com/pawamoy/markdown-exec/issues/87)
|
@@ -16,7 +16,7 @@ function clearOutput(element) {
|
|
16
16
|
}
|
17
17
|
|
18
18
|
async function evaluatePython(pyodide, editor, output, session) {
|
19
|
-
pyodide.setStdout({ batched: (string) => { writeOutput(output, string); } });
|
19
|
+
pyodide.setStdout({ batched: (string) => { writeOutput(output, new Option(string).innerHTML); } });
|
20
20
|
let result, code = editor.getValue();
|
21
21
|
clearOutput(output);
|
22
22
|
try {
|
@@ -101,6 +101,8 @@ async function setupPyodide(idPrefix, install = null, themeLight = 'tomorrow', t
|
|
101
101
|
writeOutput(output, `Could not install one or more packages: ${install.join(", ")}\n`);
|
102
102
|
writeOutput(output, new Option(error.toString()).innerHTML);
|
103
103
|
}
|
104
|
+
} else {
|
105
|
+
clearOutput(output);
|
104
106
|
}
|
105
107
|
run.onclick = () => evaluatePython(pyodide, editor, output, session);
|
106
108
|
clear.onclick = () => clearOutput(output);
|
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
|
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.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/__init__.py
RENAMED
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/_exec_python.py
RENAMED
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/base.py
RENAMED
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/bash.py
RENAMED
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/console.py
RENAMED
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/markdown.py
RENAMED
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/pycon.py
RENAMED
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/pyodide.py
RENAMED
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/src/markdown_exec/_internal/formatters/python.py
RENAMED
File without changes
|
File without changes
|
{markdown_exec-1.10.2 → markdown_exec-1.10.3}/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
|