AST Nodes¶
AST nodes to designate notebook components.
-
class
myst_nb.nodes.
CellNode
(rawsource='', *children, **attributes)[source]¶ Bases:
docutils.nodes.container
Represent a cell in the Sphinx AST.
-
class
myst_nb.nodes.
CellInputNode
(rawsource='', *children, **attributes)[source]¶ Bases:
docutils.nodes.container
Represent an input cell in the Sphinx AST.
-
class
myst_nb.nodes.
CellOutputNode
(rawsource='', *children, **attributes)[source]¶ Bases:
docutils.nodes.container
Represent an output cell in the Sphinx AST.
-
class
myst_nb.nodes.
CellOutputBundleNode
(outputs, renderer: str, metadata=None, **attributes)[source]¶ Bases:
docutils.nodes.container
Represent a MimeBundle in the Sphinx AST, to be transformed later.
-
property
metadata
¶ The cell level metadata for this output.
-
property
outputs
¶ The outputs associated with this cell.
-
property
renderer
¶ The cell level metadata for this output.
-
property