NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #3678 most downloaded on PyPI
Utilities to execute code blocks in Markdown files.
Latest stable
1.13.0
Last release 12 days ago
10 Nov 2026
Release timing varies
gaps range from 8 days to 8 months
Nearly every release is documented
notes for 46 of 46 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
46 releases · first in 2022
Drag across the ruler to compare, or tap a release to open it.
Emulate Python REPL in pycon blocks (b40bdc6 by Sydney Duckworth). Issue-25, PR-105
Resolve Zensical icons through the theme directory accessor (6c69e7d by David Hotham). Issue-zensical-1111, PR-109
<small>Compare with 1.12.5</small>
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Preserve heading placeholders across Markdown conversions (f071b31 by Timothée Mazzucotelli). Issue-97
Drop support for Python 3.10 (9bfb0c7 by Timothée Mazzucotelli).
<small>Compare with 1.12.3</small>
Provide Pyodide options to Zensical (abcb044 by Timothée Mazzucotelli). Issue-100
Better integrate with Zensical (e4f60c1 by Timothée Mazzucotelli). PR-99
Always register tables extension, needed for Zensical (1f95bf0 by Timothée Mazzucotelli).
<small>Compare with 1.12.0</small>
Support per-file-extension icons (e6e0d59 by Timothée Mazzucotelli).
<small>Compare with 1.11.0</small>
Add option to set height of Pyodide/Ace editors (c64a2ef by Jayant Pranjal). Issue-41, Co-authored-by: Jayant , Co-authored-by: Timothée Mazzucotelli
<small>Compare with 1.10.4</small>
Compare with 1.10.4
Don't fail when used as Markdown extension and MkDocs is not installed (7722250 by Timothée Mazzucotelli). Issue-91
Also escape strings printed directly to the output (a668aeb by Timothée Mazzucotelli). Issue-87
Escape Pyodide output, improve error handling (ec83f48 by Timothée Mazzucotelli). Issue-87
<small>Compare with 1.10.1</small>
Expose public API under top-level module markdown_exec. Importing from submodules is now deprecated.
Add lower bound to pygments-ansi-color extra (a8e17c9 by Timothée Mazzucotelli).
Drop support for Python 3.8 (103bc1d by Timothée Mazzucotelli).
<small>Compare with 1.9.3</small>
Fix patching lines in tracebacks on Python 3.13 (917af4c by Timothée Mazzucotelli). Issue-58
Render source even if output is empty (d3f1e6b by Timothée Mazzucotelli). Issue-57
Re-include tests folder in source distributions (ae549db by Timothée Mazzucotelli). Issue-55
Abort with error when the plugin is configured to require the ANSI extra but it is not installed (25bcbbe by Timothée Mazzucotelli).
<small>Compare with 1.8.3</small>
MARKDOWN_EXEC_AUTO environment variable (0db27b2 by Timothée Mazzucotelli). Issue-24<div> to avoid them being wrapped in <p> (500ed1b by Timothée Mazzucotelli).Don't leak future annotations in user code (ba0c35e by Timothée Mazzucotelli). Issue-47
Give __name__ to executed Python "modules", and populate sys.modules too (db25ee7 by Timothée Mazzucotelli). Issue-47
Add missing CSS classes to the ANSI stylesheet (51493f2 by Timothée Mazzucotelli). Issue-43
Add pyodide fence (3a2fab0 by Timothée Mazzucotelli).
<small>Compare with 1.7.0</small>
pyodide fence (3a2fab0 by Timothée Mazzucotelli).ansi option to mark ANSI extra as required or not (27743c2 by Timothée Mazzucotelli). Issue #28, Issue #29Set MKDOCS_CONFIG_DIR environment variable to build file path relative to it (a2cbea5 by Timothée Mazzucotelli).
<small>Compare with 1.6.0</small>
MKDOCS_CONFIG_DIR environment variable to build file path relative to it (a2cbea5 by Timothée Mazzucotelli).Add idprefix option allowing to change/remove HTML id/href prefixes (4d91463 by Timothée Mazzucotelli).
<small>Compare with 1.5.3</small>
idprefix option allowing to change/remove HTML id/href prefixes (4d91463 by Timothée Mazzucotelli).Reuse Markdown configuration as declared in mkdocs.yml (afe091c by Timothée Mazzucotelli).
<small>Compare with 1.5.2</small>
Reset counter in post build event (3bf80de by Timothée Mazzucotelli).
<small>Compare with 1.5.1</small>
Remove pycon output lines when rendering source as console (fb5a23d by Timothée Mazzucotelli).
<small>Compare with 1.5.0</small>
Update ToC with generated headings (5ea2263 by Timothée Mazzucotelli).
<small>Compare with 1.4.1</small>
Improve handling of errors within sessions (87ac5f3 by Timothée Mazzucotelli).
<small>Compare with 1.4.0</small>
Sessions: persist and reuse state for Python and Pycon code blocks (a8fef5e by Timothée Mazzucotelli). Issue #16
<small>Compare with 1.3.0</small>
Support wrapping result with console source (268c82e by Timothée Mazzucotelli). Issue #13
Support ANSI code blocks (39719c5 by Timothée Mazzucotelli). Issue #11
<small>Compare with 1.1.0</small>
Log details to help debugging errors (4c0228d by Timothée Mazzucotelli). Issue #12
<small>Compare with 1.0.0</small>
Allow defining IDs on code blocks (for warnings) (0091167 by Timothée Mazzucotelli).
<small>Compare with 0.7.4</small>
Render source for non-HTML output (regression) (3028dcd by Timothée Mazzucotelli).
<small>Compare with 0.7.3</small>
Don't wrap HTML in p tag (420d79d by Timothée Mazzucotelli).
<small>Compare with 0.7.2</small>
p tag (420d79d by Timothée Mazzucotelli).Make tree formatter forward extra options (54996a9 by Timothée Mazzucotelli).
<small>Compare with 0.7.1</small>
Allow printing non-string objects (ceaa482 by Timothée Mazzucotelli). Issue #7
<small>Compare with 0.7.0</small>
Add ability to hide source lines (3cb1934 by Timothée Mazzucotelli).
<small>Compare with 0.6.0</small>
Add tree formatter (8096990 by Timothée Mazzucotelli).
<small>Compare with 0.5.0</small>
Allow wrapping result in code block (37201e4 by Timothée Mazzucotelli).
<small>Compare with 0.4.0</small>
Add literate Markdown support (8d3ed7e by Timothée Mazzucotelli).
<small>Compare with 0.3.1</small>
Actually prevent HTML re-rendering (4374852 by Timothée Mazzucotelli).
<small>Compare with 0.3.0</small>
Support pycon code blocks (2c86394 by Timothée Mazzucotelli).
<small>Compare with 0.2.0</small>
pycon code blocks (2c86394 by Timothée Mazzucotelli).console source integration option (62dfd74 by Timothée Mazzucotelli).print in code blocks (7c124fd by Timothée Mazzucotelli).Add ability to render using tabs (91a95ae by Timothée Mazzucotelli).
<small>Compare with 0.1.0</small>
Implement execution of code blocks (41c8d81 by Timothée Mazzucotelli).
<small>Compare with first commit</small>
Compare with first commit
Thank you for your feedback!
Let us know how we can improve this page.
One column per quarter.