Python) Markdown Exec, execute code blocks and render their output
Python) Markdown Exec, execute code blocks and render their output
Hey everyone, here's an extension I made for Python-Markdown ( https://github.com/Python-Markdown/markdown ). It builds on top of PyMDown Extensions' SuperFences ( https://facelessuser.github.io/pymdown-extensions/extensions... ), and allows Markdown writers to execute their Markdown code blocks to render the execution output in place of / in addition to the code blocks. Languages supported: python/pycon; sh/bash/console; md (literate programming!) Special fences: tree, to easily render file trees; pyodide, to render an interactive Ace.js editor that runs Python code thanks to Pyodide Adding examples to the gallery is quite fun :) Don't hesitate to create an issue if you'd like me to add examples for another tool or Python library!
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Codebraid – Execute Code Blocks in Markdown (Python, Julia, Rust, R)
Mdx – Execute your Markdown code blocks, now in Go
Flake8 Markdown – lint Python code blocks in Markdown files
Shalchemy – Conveniently execute binaries from Python
Render markdown from torrent
Tetris, but the blocks are ARM instructions that execute in the browser
CSS to render Markdown as unrendered Markdown
FlowCode – Visual Flowcharts That Generate and Execute Python
Usable colorized log output in Python
Editor Blending Markdown, Blocks and Wysiwyg