Container nodes

Node

Docstrings

Markdown extensions

[format-quote-open MkBlockQuote](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkblockquote/)

BlockQuote node.

[info-16 MkAdmonition](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkadmonition/)

Admonition info box.

admonition, pymdownx.details, pymdownx.superfences

[database MkContainer](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkcontainer/)

A node containing other MkNodes.

This is the concrete implementation with list-based storage.
Can be used directly or as a base class.
Nodes added to a container are automatically re-parented.

[code-json MkCode](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkcode/)

Class representing a Code block.

pymdownx.highlight, pymdownx.superfences

[list-unordered-24 MkList](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mklist/)

Node for showing a formatted list.

def_list

[table-24 MkTable](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mktable/)

Class representing a formatted table.

Data: a mapping column -> cells, a list of rows (the first one is the header unless
columns are given) or a list of dicts (see MkBaseTable). | in cells gets escaped.

tables

[table-24 MkHtmlTable](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkhtmltable/)

Class representing a html table.

Compared to MkTable, this will end up with a more verbose output,
but it can contain more complex Markdown in cells.

[library MkDefinitionList](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkdefinitionlist/)

Node for definition lists.

def_list

[info-16 MkDetailsBlock](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkdetailsblock/)

Pymdownx-based details box.

pymdownx.blocks.details

[code-16 MkHtmlBlock](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkhtmlblock/)

PyMdown-based Html block. Can be used to show raw content.

pymdownx.blocks.html

[tab MkTabbedBlocks](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mktabbedblocks/)

PyMdown Block Extension Tab.

pymdownx.blocks.tab

[tab MkTabbed](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mktabbed/)

PyMdown-based Tab container.

pymdownx.tabbed, pymdownx.superfences

[alert-box MkAnnotations](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkannotations/)

Node containing a list of MkAnnotations.

pymdownx.superfences

[list-ordered-16 MkFootNotes](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkfootnotes/)

Node containing a list of MkFootNotes.

footnotes

[view-grid MkShowcase](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mkshowcase/)

Node for showing a html-based image grid.

Manages row / column positioning.
Mainly intended for MkCards, but can also include other markdown (there are limits
though.)
When adding MkCards, then addtional CSS is required.

[library MkTaskList](https://phil65.github.io/mknodes/sphinx/The nodes/Container nodes/mktasklist/)

Node for task lists.

pymdownx.tasklist

Page info
Code for this section
mknodes.manual.nodes_section._
151@nav.route.nav("Container nodes")
152def _(nav: mk.MkNav) -> None:
153    page = nav.add_page(is_index=True, hide="toc")
154    page += create_section_for_nodes(nav, CONTAINER_NODES)
155    page.created_by = create_section_for_nodes
Resources
Resources(css=[],
          markdown_extensions={'tables': {}},
          plugins=[],
          js=[],
          assets=[],
          packages=[])
Metadata
created:
  source_filename: /home/runner/work/mknodes/mknodes/src/mknodes/manual/nodes_section.py
  source_function: _
  source_line_no: 151
hide:
- toc
title: Container nodes