Changelog¤
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.9.3 - 2024-06-24¤
Bug Fixes¤
1.9.2 - 2024-06-20¤
Bug Fixes¤
1.9.1 - 2024-06-14¤
Build¤
1.9.0 - 2024-06-13¤
Features¤
- 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_AUTO
environment variable (0db27b2 by Timothée Mazzucotelli). Issue-24 - Allow changing working directory for code blocks execution (ee3fae9 by Timothée Mazzucotelli). Issue-20
Bug Fixes¤
- 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
Code Refactoring¤
- Wrap placeholders in
<div>
to avoid them being wrapped in<p>
(500ed1b by Timothée Mazzucotelli).
1.8.3 - 2024-05-22¤
Bug Fixes¤
1.8.2 - 2024-05-20¤
Bug Fixes¤
- Give
__name__
to executed Python "modules", and populatesys.modules
too (db25ee7 by Timothée Mazzucotelli). Issue-47
1.8.1 - 2024-04-15¤
Bug Fixes¤
1.8.0 - 2024-01-05¤
Features¤
- Add
pyodide
fence (3a2fab0 by Timothée Mazzucotelli). - Add
ansi
option to mark ANSI extra as required or not (27743c2 by Timothée Mazzucotelli). Issue #28, Issue #29
Code Refactoring¤
- Modernize MkDocs plugin (4864608 by Timothée Mazzucotelli).
1.7.0 - 2023-10-17¤
Features¤
- Set
MKDOCS_CONFIG_DIR
environment variable to build file path relative to it (a2cbea5 by Timothée Mazzucotelli).
1.6.0 - 2023-04-18¤
Features¤
- Add
idprefix
option allowing to change/remove HTML id/href prefixes (4d91463 by Timothée Mazzucotelli).
1.5.3 - 2023-04-18¤
Code Refactoring¤
- Reuse Markdown configuration as declared in mkdocs.yml (afe091c by Timothée Mazzucotelli).
1.5.2 - 2023-04-18¤
Code Refactoring¤
- Reset counter in post build event (3bf80de by Timothée Mazzucotelli).
1.5.1 - 2023-04-17¤
Bug Fixes¤
- 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¤
Features¤
- Update ToC with generated headings (5ea2263 by Timothée Mazzucotelli).
1.4.1 - 2023-04-16¤
Bug Fixes¤
- Improve handling of errors within sessions (87ac5f3 by Timothée Mazzucotelli).
- Swallow non-extra parameters in run functions (f5d4fef by Timothée Mazzucotelli).
Code Refactoring¤
- Simplify tree formatter signature (09d5427 by Timothée Mazzucotelli).
1.4.0 - 2023-03-15¤
Features¤
- Sessions: persist and reuse state for Python and Pycon code blocks (a8fef5e by Timothée Mazzucotelli). Issue #16
1.3.0 - 2023-02-18¤
Features¤
Code Refactoring¤
- 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¤
Features¤
1.1.0 - 2023-01-27¤
Features¤
- 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
Code Refactoring¤
- Formatters now only accept keyword arguments (0940ca9 by Timothée Mazzucotelli).
1.0.0 - 2022-11-24¤
Features¤
- Allow defining IDs on code blocks (for warnings) (0091167 by Timothée Mazzucotelli).
Code Refactoring¤
- Use base format everywhere (more flexible) (cefba70 by Timothée Mazzucotelli).
0.7.4 - 2022-11-13¤
Bug Fixes¤
- Render source for non-HTML output (regression) (3028dcd by Timothée Mazzucotelli).
0.7.3 - 2022-11-13¤
Bug Fixes¤
- Don't wrap HTML in
p
tag (420d79d by Timothée Mazzucotelli).
0.7.2 - 2022-09-01¤
Bug Fixes¤
- Make
tree
formatter forward extra options (54996a9 by Timothée Mazzucotelli). - Fix race condition issue (37d7f86 by Timothée Mazzucotelli).
0.7.1 - 2022-08-28¤
Bug Fixes¤
0.7.0 - 2022-05-28¤
Features¤
- Add ability to hide source lines (3cb1934 by Timothée Mazzucotelli).
0.6.0 - 2022-05-21¤
Features¤
- Add tree formatter (8096990 by Timothée Mazzucotelli).
- Handle code blocks execution errors and log warnings (34e16db by Timothée Mazzucotelli).
Bug Fixes¤
- Fix Python execution to support nested scopes (74b9a95 by Timothée Mazzucotelli).
0.5.0 - 2022-05-09¤
Features¤
- Allow wrapping result in code block (37201e4 by Timothée Mazzucotelli).
- Add support for shell code blocks (f2b4b67 by Timothée Mazzucotelli).
Code Refactoring¤
- 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¤
Features¤
- Add literate Markdown support (8d3ed7e by Timothée Mazzucotelli).
- Add
material-block
style 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¤
Bug Fixes¤
- Actually prevent HTML re-rendering (4374852 by Timothée Mazzucotelli).
0.3.0 - 2022-05-01¤
Features¤
- Support
pycon
code blocks (2c86394 by Timothée Mazzucotelli). - Add
console
source 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
print
in code blocks (7c124fd by Timothée Mazzucotelli). - Allow passing extra opts like title to source code blocks (bb3252a by Timothée Mazzucotelli).
Code Refactoring¤
- 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¤
Features¤
- Add ability to render using tabs (91a95ae by Timothée Mazzucotelli).
0.1.0 - 2022-02-19¤
Features¤
- Implement execution of code blocks (41c8d81 by Timothée Mazzucotelli).