MkContainer
A node containing other MkNodes.¶
Description
This node class is often used as a base class, and can be treated like a list. Nodes added to a container are automatically re-parented.
Example: Regular¶
<div class="language-python highlight"><pre><span></span><code><span id="__span-0-1"><a id="__codelineno-0-1" name="__codelineno-0-1" href="#__codelineno-0-1"></a><span class="n">a</span> <span class="o">=</span> <span class="mi">1</span> <span class="o">+</span> <span class="mi">2</span>
</span></code></pre></div>
<p>abc</p>
<div class="language-python highlight"><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a><span class="n">a</span> <span class="o">=</span> <span class="mi">1</span> <span class="o">+</span> <span class="mi">2</span>
</span></code></pre></div>
<p>abc</p>
Name | Children | Inherits |
---|---|---|
MkBlock mknodes.basenodes.mkblock PyMdown-based block. |
||
MkAdmonition mknodes.basenodes.mkadmonition Admonition info box. |
||
MkBlockQuote mknodes.basenodes.mkblockquote BlockQuote node. |
||
MkCode mknodes.basenodes.mkcode Class representing a Code block. |
||
MkTemplate mknodes.templatenodes.mktemplate Node representing a jinja template. |
||
MkList mknodes.basenodes.mklist Node for showing a formatted list. |
||
MkBaseTable mknodes.basenodes.mkbasetable Base Class for MkTables. Only deals with managing the data. |
||
MkTab mknodes.basenodes.mktabs Node representing a single tab. |
||
MkTabContainer mknodes.basenodes.mktabcontainer Base class for nodes containing tabs. |
||
MkCritic mknodes.basenodes.mkcritic MkCritic block. |
||
MkAnnotation mknodes.basenodes.mkannotations Represents a single annotation. It gets managed by an MkAnnotations node. |
||
MkAnnotations mknodes.basenodes.mkannotations Node containing a list of MkAnnotations. |
||
MkFootNote mknodes.basenodes.mkfootnotes Represents a single footnote. It gets managed by an MkFootNotes node. |
||
MkFootNotes mknodes.basenodes.mkfootnotes Node containing a list of MkFootNotes. |
||
MkDefinition mknodes.basenodes.mkdefinitionlist Node for a single definition. |
||
MkDefinitionList mknodes.basenodes.mkdefinitionlist Node for definition lists. |
||
MkPage mknodes.pages.mkpage A node container representing a Markdown page. |
||
MkShowcase mknodes.basenodes.mkshowcase Node for showing a html-based image grid. |
||
MkSpeechBubble mknodes.basenodes.mkspeechbubble Node for showing a css-based speech bubble. |
||
MkTask mknodes.basenodes.mktasklist Node for a single task listitem. |
||
MkTaskList mknodes.basenodes.mktasklist Node for task lists. |
||
MkTimeline mknodes.basenodes.mktimeline Node to show a JavaScript-supported Timeline. |
||
MkShields mknodes.templatenodes.mkshields Container for Shields.io / GitHub badges. |
||
MkMetadataBadges mknodes.templatenodes.mkmetadatabadges Container node for a list of metadata badges. |
Name | Children | Inherits |
---|---|---|
MkNode mknodes.basenodes.mknode Base class for everything which can be expressed as Markup. |
graph TD
94721311697232["mkcontainer.MkContainer"]
94721308848336["mknode.MkNode"]
94721311766592["node.Node"]
140564252373184["builtins.object"]
94721308848336 --> 94721311697232
94721311766592 --> 94721308848336
140564252373184 --> 94721311766592