sub_1

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**.

Info

MkNodes also works great in combination with Markdown-exec!

Page info
Resources
Resources(css=[],
          markdown_extensions={'attr_list': {},
                               'md_in_html': {},
                               'pymdownx.emoji': {'emoji_generator': <function to_svg at 0x7fd7a6931800>,
                                                  'emoji_index': <function twemoji at 0x7fd7a69316c0>},
                               'pymdownx.magiclink': {'repo': 'mknodes',
                                                      'repo_url_shorthand': True,
                                                      'user': 'phil65'}},
          plugins=[],
          js=[],
          assets=[],
          packages=[])
Metadata
created:
  source_filename: /home/runner/work/mknodes/mknodes/mknodes/manual/navs_section.py
  source_function: _
  source_line_no: 37
hide:
- toc
template: SUMMARY.html