NodeScope

class NodeScope(val reporter: Reporter, val data: TypedMap, indentCountBase: Int = 0)(source)

Data available to MarkdownHandlers callbacks

Parameters

reporter

A logger useful for reporting errors or warnings.

data

A simple map that is created once per file and can be used by components however they want to.

Constructors

Link copied to clipboard
constructor(reporter: Reporter, data: TypedMap, indentCountBase: Int = 0)

Properties

Link copied to clipboard

If set, will cause the Markdown visit to visit these nodes instead of the node's original children.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun indent(indentCount: Int): String

Convenience method for adding indents in front of your lines of code.