type

MarkdownRendererBuilder

src @Js
class MarkdownRendererBuilder : Obj

Builder for configuring a MarkdownRenderer

methods

build

Build the configured MarkdownRenderer.

extensions

Enable the given extensions on this renderer.

nodeRendererFactory

Add a factory for a node renderer.

withSpecialChars

Register additional special characters that must be escaped in normal text

Slot Details

build

src MarkdownRenderer build()

Build the configured MarkdownRenderer.

extensions

src This extensions(MarkdownExt[] exts)

Enable the given extensions on this renderer.

nodeRendererFactory

src This nodeRendererFactory(|MarkdownContext->NodeRenderer| factory)

Add a factory for a node renderer. This allows to override the rendering of node types or define rendering for custom node types.

withSpecialChars

src This withSpecialChars(Int[] special)

Register additional special characters that must be escaped in normal text