All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.12.1 - 2025-11-11
- Always register tables extension, needed for Zensical (1f95bf0 by Timothée Mazzucotelli).
1.12.0 - 2025-11-10
- Support per-file-extension icons (e6e0d59 by Timothée Mazzucotelli).
1.11.0 - 2025-06-28
- Add option to set height of Pyodide/Ace editors (c64a2ef by Jayant Pranjal). Issue-41, Co-authored-by: Jayant [email protected], Co-authored-by: Timothée Mazzucotelli [email protected]
1.10.4 - 2025-06-27
- Don't fail when used as Markdown extension and MkDocs is not installed (7722250 by Timothée Mazzucotelli). Issue-91
1.10.3 - 2025-03-24
- Also escape strings printed directly to the output (a668aeb by Timothée Mazzucotelli). Issue-87
- Don't forget to clear "Initializing" in Pyodide output (e0b52b4 by Timothée Mazzucotelli).
1.10.2 - 2025-03-18
Expose public API under top-level module markdown_exec. Importing from submodules is now deprecated.
- Sync API and docs (1245ed9 by Timothée Mazzucotelli).
- Move code under internal folder (b132e78 by Timothée Mazzucotelli).
1.10.1 - 2025-03-11
- Add lower bound to pygments-ansi-color extra (a8e17c9 by Timothée Mazzucotelli).
- Fix emoji display in pyodide fence for themes other than Material (e09e9b2 by Timothée Mazzucotelli). Issue-83, PR-84
1.10.0 - 2024-12-06
- Drop support for Python 3.8 (103bc1d by Timothée Mazzucotelli).
- Allow setting Pyodide version (912c8c7 by Andrew). Issue-66, PR-67, Co-authored-by: Timothée Mazzucotelli [email protected]
1.9.3 - 2024-06-24
1.9.2 - 2024-06-20
1.9.1 - 2024-06-14
1.9.0 - 2024-06-13
- Abort with error when the plugin is configured to require the ANSI extra but it is not installed (25bcbbe by Timothée Mazzucotelli).
- Allow excluding assets when rendering Pyodide fence (5412353 by Timothée Mazzucotelli).
- Detect when SuperFences is not enabled and error out early (5d771d2 by Timothée Mazzucotelli). Issue-39
- Allow changing the console width for the execution of code blocks (76d603c by Timothée Mazzucotelli). Issue-34
- Allow automatic execution of code blocks thanks to the
MARKDOWN_EXEC_AUTOenvironment variable (0db27b2 by Timothée Mazzucotelli). Issue-24 - Allow changing working directory for code blocks execution (ee3fae9 by Timothée Mazzucotelli). Issue-20
- Reuse existing loggers tp prevent wrong dispatch (8967270 by Timothée Mazzucotelli).
- Don't render anything when code block output is empty (4337d13 by Timothée Mazzucotelli). Issue-17
- Increase minimum height of Pyodide output code blocks (93598b2 by Timothée Mazzucotelli). Issue-40
- Fix removal of temporary div for headings forwarding (c012c1d by Timothée Mazzucotelli). Issue-50
- Wrap placeholders in
<div>to avoid them being wrapped in<p>(500ed1b by Timothée Mazzucotelli).
1.8.3 - 2024-05-22
1.8.2 - 2024-05-20
- Give
__name__to executed Python "modules", and populatesys.modulestoo (db25ee7 by Timothée Mazzucotelli). Issue-47
1.8.1 - 2024-04-15
1.8.0 - 2024-01-05
- Add
pyodidefence (3a2fab0 by Timothée Mazzucotelli). - Add
ansioption to mark ANSI extra as required or not (27743c2 by Timothée Mazzucotelli). Issue #28, Issue #29
- Modernize MkDocs plugin (4864608 by Timothée Mazzucotelli).
1.7.0 - 2023-10-17
- Set
MKDOCS_CONFIG_DIRenvironment variable to build file path relative to it (a2cbea5 by Timothée Mazzucotelli).
1.6.0 - 2023-04-18
- Add
idprefixoption allowing to change/remove HTML id/href prefixes (4d91463 by Timothée Mazzucotelli).
1.5.3 - 2023-04-18
- Reuse Markdown configuration as declared in mkdocs.yml (afe091c by Timothée Mazzucotelli).
1.5.2 - 2023-04-18
- Reset counter in post build event (3bf80de by Timothée Mazzucotelli).
1.5.1 - 2023-04-17
- Remove pycon output lines when rendering source as console (fb5a23d by Timothée Mazzucotelli).
- Fix nested rendering (a110d44 by Timothée Mazzucotelli).
1.5.0 - 2023-04-17
- Update ToC with generated headings (5ea2263 by Timothée Mazzucotelli).
1.4.1 - 2023-04-16
- Improve handling of errors within sessions (87ac5f3 by Timothée Mazzucotelli).
- Swallow non-extra parameters in run functions (f5d4fef by Timothée Mazzucotelli).
- Simplify tree formatter signature (09d5427 by Timothée Mazzucotelli).
1.4.0 - 2023-03-15
- Sessions: persist and reuse state for Python and Pycon code blocks (a8fef5e by Timothée Mazzucotelli). Issue #16
1.3.0 - 2023-02-18
- Remove margin hack from Material source (beec237 by Timothée Mazzucotelli).
- Better support pycon syntax (22b51c6 by Timothée Mazzucotelli).
1.2.0 - 2023-02-01
1.1.0 - 2023-01-27
- Log details to help debugging errors (4c0228d by Timothée Mazzucotelli). Issue #12
- Allow expecting specific exit codes (620ec66 by Timothée Mazzucotelli). Issue #10
- Formatters now only accept keyword arguments (0940ca9 by Timothée Mazzucotelli).
1.0.0 - 2022-11-24
- Allow defining IDs on code blocks (for warnings) (0091167 by Timothée Mazzucotelli).
- Use base format everywhere (more flexible) (cefba70 by Timothée Mazzucotelli).
0.7.4 - 2022-11-13
- Render source for non-HTML output (regression) (3028dcd by Timothée Mazzucotelli).
0.7.3 - 2022-11-13
- Don't wrap HTML in
ptag (420d79d by Timothée Mazzucotelli).
0.7.2 - 2022-09-01
- Make
treeformatter forward extra options (54996a9 by Timothée Mazzucotelli). - Fix race condition issue (37d7f86 by Timothée Mazzucotelli).
0.7.1 - 2022-08-28
0.7.0 - 2022-05-28
- Add ability to hide source lines (3cb1934 by Timothée Mazzucotelli).
0.6.0 - 2022-05-21
- Add tree formatter (8096990 by Timothée Mazzucotelli).
- Handle code blocks execution errors and log warnings (34e16db by Timothée Mazzucotelli).
- Fix Python execution to support nested scopes (74b9a95 by Timothée Mazzucotelli).
0.5.0 - 2022-05-09
- Allow wrapping result in code block (37201e4 by Timothée Mazzucotelli).
- Add support for shell code blocks (f2b4b67 by Timothée Mazzucotelli).
- Fetch plugin languages from dict (de8309e by Timothée Mazzucotelli).
- Add reusable base formatter (c265bee by Timothée Mazzucotelli).
0.4.0 - 2022-05-09
- Add literate Markdown support (8d3ed7e by Timothée Mazzucotelli).
- Add
material-blockstyle to show source (ff10ee1 by Timothée Mazzucotelli). - Support up to 8 levels of exec code block nesting (bfde808 by Timothée Mazzucotelli).
0.3.1 - 2022-05-07
- Actually prevent HTML re-rendering (4374852 by Timothée Mazzucotelli).
0.3.0 - 2022-05-01
- Support
pyconcode blocks (2c86394 by Timothée Mazzucotelli). - Add
consolesource integration option (62dfd74 by Timothée Mazzucotelli). - Provide a MkDocs plugin for easier setup (5fce814 by Timothée Mazzucotelli).
- Support changing tabs titles (d150596 by Timothée Mazzucotelli).
- Allow using
printin code blocks (7c124fd by Timothée Mazzucotelli). - Allow passing extra opts like title to source code blocks (bb3252a by Timothée Mazzucotelli).
- Split Python formatter to allow reuse (fc56702 by Timothée Mazzucotelli).
- Setup a more robust Markdown converter (395f4c4 by Timothée Mazzucotelli).
0.2.0 - 2022-04-18
- Add ability to render using tabs (91a95ae by Timothée Mazzucotelli).
0.1.0 - 2022-02-19
- Implement execution of code blocks (41c8d81 by Timothée Mazzucotelli).