Skip to content

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.8.0 - 2024-01-05¤

Compare with 1.7.0

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¤

Compare with 1.6.0

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¤

Compare with 1.5.3

Features¤

  • Add idprefix option allowing to change/remove HTML id/href prefixes (4d91463 by Timothée Mazzucotelli).

1.5.3 - 2023-04-18¤

Compare with 1.5.2

Code Refactoring¤

  • Reuse Markdown configuration as declared in mkdocs.yml (afe091c by Timothée Mazzucotelli).

1.5.2 - 2023-04-18¤

Compare with 1.5.1

Code Refactoring¤

  • Reset counter in post build event (3bf80de by Timothée Mazzucotelli).

1.5.1 - 2023-04-17¤

Compare with 1.5.0

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¤

Compare with 1.4.1

Features¤

  • Update ToC with generated headings (5ea2263 by Timothée Mazzucotelli).

1.4.1 - 2023-04-16¤

Compare with 1.4.0

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¤

Compare with 1.3.0

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¤

Compare with 1.2.0

Features¤

  • Support wrapping result with console source (268c82e by Timothée Mazzucotelli). Issue #13

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¤

Compare with 1.1.0

Features¤

1.1.0 - 2023-01-27¤

Compare with 1.0.0

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¤

Compare with 0.7.4

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¤

Compare with 0.7.3

Bug Fixes¤

  • Render source for non-HTML output (regression) (3028dcd by Timothée Mazzucotelli).

0.7.3 - 2022-11-13¤

Compare with 0.7.2

Bug Fixes¤

  • Don't wrap HTML in p tag (420d79d by Timothée Mazzucotelli).

0.7.2 - 2022-09-01¤

Compare with 0.7.1

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¤

Compare with 0.7.0

Bug Fixes¤

  • Allow printing non-string objects (ceaa482 by Timothée Mazzucotelli). Issue #7

0.7.0 - 2022-05-28¤

Compare with 0.6.0

Features¤

  • Add ability to hide source lines (3cb1934 by Timothée Mazzucotelli).

0.6.0 - 2022-05-21¤

Compare with 0.5.0

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¤

Compare with 0.4.0

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¤

Compare with 0.3.1

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¤

Compare with 0.3.0

Bug Fixes¤

  • Actually prevent HTML re-rendering (4374852 by Timothée Mazzucotelli).

0.3.0 - 2022-05-01¤

Compare with 0.2.0

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¤

Compare with 0.1.0

Features¤

  • Add ability to render using tabs (91a95ae by Timothée Mazzucotelli).

0.1.0 - 2022-02-19¤

Compare with first commit

Features¤

  • Implement execution of code blocks (41c8d81 by Timothée Mazzucotelli).