Skip to content

markdown-exec

Run marked code blocks and insert their output. Native support was added in Zensical 0.0.47.

Keep calculated examples current; show the result of a small Python snippet.

Try it

Open the markdown-exec example.

Arithmetic

The Python block calculates a six-kilometer round trip.

Formatted output

A second block formats a checklist into Markdown during the build.

Source and configuration

The configuration and example Markdown are available in the repository. Other files in that directory supply the example’s fixtures.

Zensical compatibility and settings · Plugin documentation