Skip to content

markdown_exec

Markdown for this page

markdown-exec.md
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
````python exec="on"

import mknodes as mk
from mknodes import paths

INFO = """MkNodes also works great in combination with Markdown-exec! You can embed small
snippets into your existing documentation."""

header = mk.MkHeader("Markdown for this page")
path = paths.TEST_RESOURCES / "nav_tree/test_folder/markdown-exec.md"
code_block = mk.MkCode.for_file(path)
info = mk.MkAdmonition(INFO, title="Markdown-Exec rocks!")

print(header)
print(code_block)
print(info)
````

**This can all be very confusing**.

Markdown-Exec rocks!

MkNodes also works great in combination with Markdown-exec! You can embed small snippets into your existing documentation.

This can all be very confusing.