34 Commits

Author SHA1 Message Date
Timothée Mazzucotelli 7d0ac3296a style: Remove trailing spaces 2025-02-03 02:52:48 +01:00
Andrew 912c8c75a5 feat: Allow setting Pyodide version
Also upgrade default version to 0.26.4.

Issue-66: https://github.com/pawamoy/markdown-exec/issues/66
PR-67: https://github.com/pawamoy/markdown-exec/pull/67
Co-authored-by: Timothée Mazzucotelli <dev@pawamoy.fr>
2024-12-06 00:46:30 +01:00
Timothée Mazzucotelli 57ee30d148 docs: Fix snippets config, fix URL 2024-07-08 22:26:58 +02:00
Timothée Mazzucotelli 019131bc84 docs: Fix typo 2024-06-13 18:59:09 +02:00
Timothée Mazzucotelli a6a50318ec docs: Document Ace color themes (for Pyodide fences)
Issue-49: https://github.com/pawamoy/markdown-exec/issues/49
2024-06-13 17:24:22 +02:00
Timothée Mazzucotelli f01a66082a docs: Emoji play in Pyodide docs 2024-06-13 17:23:42 +02:00
Timothée Mazzucotelli 5412353542 feat: Allow excluding assets when rendering Pyodide fence 2024-06-13 17:23:13 +02:00
Timothée Mazzucotelli 76d603ce57 feat: Allow changing the console width for the execution of code blocks
It will set the `COLUMNS` environment variable.

Issue-34: https://github.com/pawamoy/markdown-exec/issues/34
2024-06-13 15:57:41 +02:00
Timothée Mazzucotelli 0db27b23dd feat: Allow automatic execution of code blocks thanks to the MARKDOWN_EXEC_AUTO environment variable
Issue-24: https://github.com/pawamoy/markdown-exec/issues/24
2024-06-13 15:43:22 +02:00
Timothée Mazzucotelli ee3fae9571 feat: Allow changing working directory for code blocks execution
Issue-20: https://github.com/pawamoy/markdown-exec/issues/20
2024-06-13 15:30:12 +02:00
Timothée Mazzucotelli 681c4e2170 docs: Stop using PDM command in examples
It generates a `.pdm-python` file and the `__pypackages__` folder.
2024-03-20 18:12:16 +01:00
Timothée Mazzucotelli 9274290a77 docs: Document ANSI support 2024-01-05 19:36:32 +01:00
Timothée Mazzucotelli e7b42c5b4f docs: Remove "sponsors only" mention 2024-01-05 18:51:34 +01:00
Timothée Mazzucotelli 6063b39d54 docs: Fix warnings and deprecations 2023-10-17 16:18:38 +02:00
Timothée Mazzucotelli 4aa0b28f91 Merge branch 'main' of github.com:pawamoy/markdown-exec 2023-10-17 15:59:07 +02:00
Timothée Mazzucotelli a2cbea52d3 feat: Set MKDOCS_CONFIG_DIR environment variable to build file path relative to it 2023-10-17 15:46:37 +02:00
Timothée Mazzucotelli 6f19f0024a ci: Quality 2023-10-17 00:04:47 +02:00
Timothée Mazzucotelli 3a2fab0b23 feat: Add pyodide fence 2023-04-26 22:48:49 +02:00
Timothée Mazzucotelli 4d914630e5 feat: Add idprefix option allowing to change/remove HTML id/href prefixes 2023-04-18 18:35:50 +02:00
Timothée Mazzucotelli afe091caa3 refactor: Reuse Markdown configuration as declared in mkdocs.yml 2023-04-18 14:57:51 +02:00
Timothée Mazzucotelli 729ca8f470 docs: Add options summary 2023-04-18 11:58:31 +02:00
Timothée Mazzucotelli 5ea2263d53 feat: Update ToC with generated headings 2023-04-17 14:40:38 +02:00
Timothée Mazzucotelli a8fef5e90b feat: Sessions: persist and reuse state for Python and Pycon code blocks
Issue #16: https://github.com/pawamoy/markdown-exec/issues/16
2023-03-15 21:42:48 +01:00
Timothée Mazzucotelli 268c82e6f0 feat: Support wrapping result with console source
Issue #13: https://github.com/pawamoy/markdown-exec/issues/13
2023-02-18 13:47:40 +01:00
Timothée Mazzucotelli 620ec66182 feat: Allow expecting specific exit codes
Issue #10: https://github.com/pawamoy/markdown-exec/issues/10
2023-01-27 12:34:39 +01:00
Timothée Mazzucotelli 490d771de3 docs: Document errors handling 2022-11-24 23:08:53 +01:00
Timothée Mazzucotelli 00ac6fd92a docs: Improve docs 2022-11-24 22:54:18 +01:00
Timothée Mazzucotelli 3cb19345fa feat: Add ability to hide source lines 2022-05-28 13:17:35 +02:00
Timothée Mazzucotelli 54985b9d7d docs: Fix typos 2022-05-27 22:48:25 +02:00
Timothée Mazzucotelli 8096990dcb feat: Add tree formatter 2022-05-21 19:04:07 +02:00
Timothée Mazzucotelli 12a6ba0c2f docs: Add example, reorganize snippets 2022-05-21 15:53:43 +02:00
Timothée Mazzucotelli 91f012497b docs: Fix shell docs 2022-05-09 23:55:07 +02:00
Timothée Mazzucotelli 37201e4409 feat: Allow wrapping result in code block 2022-05-09 23:54:58 +02:00
Timothée Mazzucotelli f2b4b671f4 feat: Add support for shell code blocks 2022-05-09 23:30:03 +02:00