mixin markdown::NodeRenderer
markdown::NodeRenderer
@Js
A renderer for a set of node types
- afterRoot
-
virtual Void afterRoot(Node rootNode)
Called after the root node is rendered, to do any final processing at the end
- beforeRoot
-
virtual Void beforeRoot(Node rootNode)
Called before the root node is rendered, to do any initial processing at the start
- nodeTypes
-
abstract Type[] nodeTypes()
Get the
Node
types that this renderer handles. - render
-
abstract Void render(Node node)
Render the specified node