{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"},{"label":"Documentation","url":"https://skillfed.io/packages/category/documentation"}],"enrichment":{"capability":"Executes code blocks embedded in Markdown files and replaces them with their output, supporting Python, bash, and other languages with optional ANSI color rendering.","skillfed_tags":["mkdocs-plugin","documentation-automation","code-execution"],"use_cases":["Auto-generate API documentation by executing code examples that produce formatted output","Keep shell command examples in docs synchronized with their real output","Build documentation sites where Python snippets compute and display results","Create reproducible tutorials where code blocks run during the build and embed their results","Generate tables or formatted lists in Markdown by executing Python code that produces them"],"what_it_does":"Markdown Exec is a Markdown extension that transforms code blocks into executable snippets. When you mark a code block with `exec=\"on\"`, the extension runs that code and injects the output back into the document in place of the original block. It works as a plugin for MkDocs or as a standalone Markdown extension, integrating with pymdown-extensions' SuperFences to handle multiple languages including Python, bash, and console sessions.\n\nThe package is designed for documentation workflows where you want code examples to stay synchronized with their actual output\u2014write a Python snippet that generates HTML or a bash command that lists files, and the rendered documentation automatically shows what that code produces. It supports optional ANSI color rendering for terminal output via the `ansi` extra, and can be configured to expect specific exit codes or handle errors gracefully.","worth_installing":"Yes, if you maintain documentation with code examples that need to stay current. The low install friction, active maintenance, permissive license, and lack of known vulnerabilities make it safe to adopt. Install with caution only if your documentation build process runs untrusted code, since execution happens at build time\u2014otherwise it's a straightforward win for keeping examples accurate."},"id":"markdown-exec","links":{"html":"https://skillfed.io/packages/markdown-exec","md":"https://skillfed.io/packages/markdown-exec.md","pypi":"https://pypi.org/project/markdown-exec/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-07","license_spdx":"ISC","license_treatment":"permissive","name":"markdown-exec","python_support":"supports_current","summary":"Utilities to execute code blocks in Markdown files."},"popularity":{"monthly_downloads":975437,"position":4596,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.12.3"}
