mixin markdown::NodeRenderer

markdown::NodeRenderer

@Js

Source

A renderer for a set of node types

afterRoot

virtual Void afterRoot(Node rootNode)

Source

Called after the root node is rendered, to do any final processing at the end

beforeRoot

virtual Void beforeRoot(Node rootNode)

Source

Called before the root node is rendered, to do any initial processing at the start

nodeTypes

abstract Type[] nodeTypes()

Source

Get the Node types that this renderer handles.

render

abstract Void render(Node node)

Source

Render the specified node