type

MarkdownRendererBuilder

@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

MarkdownRenderer build()

Build the configured MarkdownRenderer.

extensions

This extensions(MarkdownExt[] exts)

Enable the given extensions on this renderer.

nodeRendererFactory

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

This withSpecialChars(Int[] special)

Register additional special characters that must be escaped in normal text