markdown-exec

Utilities to execute code blocks in Markdown files.

ISC License

Downloads
39.1K
Stars
103
Committers
2

Bot releases are visible (Hide)

markdown-exec - 1.9.3 Latest Release

Published by github-actions[bot] 4 months ago

1.9.3 - 2024-06-24

Compare with 1.9.2

Bug Fixes

  • Fix patching lines in tracebacks on Python 3.13 (917af4c by Timothée Mazzucotelli). Issue-58
markdown-exec - 1.9.2

Published by github-actions[bot] 4 months ago

1.9.2 - 2024-06-20

Compare with 1.9.1

Bug Fixes

  • Render source even if output is empty (d3f1e6b by Timothée Mazzucotelli). Issue-57
markdown-exec - 1.9.1

Published by github-actions[bot] 4 months ago

1.9.1 - 2024-06-14

Compare with 1.9.0

Build

  • Re-include tests folder in source distributions (ae549db by Timothée Mazzucotelli). Issue-55
markdown-exec - 1.9.0

Published by github-actions[bot] 4 months ago

1.9.0 - 2024-06-13

Compare with 1.8.3

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).
markdown-exec - 1.8.3

Published by github-actions[bot] 5 months ago

1.8.3 - 2024-05-22

Compare with 1.8.2

Bug Fixes

  • Don't leak future annotations in user code (ba0c35e by Timothée Mazzucotelli). Issue-47
markdown-exec - 1.8.2

Published by github-actions[bot] 5 months ago

1.8.2 - 2024-05-20

Compare with 1.8.1

Bug Fixes

  • Give __name__ to executed Python "modules", and populate sys.modules too (db25ee7 by Timothée Mazzucotelli). Issue-47
markdown-exec - 1.8.1

Published by github-actions[bot] 6 months ago

1.8.1 - 2024-04-15

Compare with 1.8.0

Bug Fixes

  • Add missing CSS classes to the ANSI stylesheet (51493f2 by Timothée Mazzucotelli). Issue-43
markdown-exec - 1.8.0

Published by github-actions[bot] 10 months ago

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).
markdown-exec - 1.7.0

Published by github-actions[bot] about 1 year ago

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).