Markdown

class Markdown(val content: String) : Node

A block of raw Markdown content that is emitted verbatim, without any additional processing or escaping, only when the rendering target is Markdown.

Parameters

content

raw Markdown content

Constructors

Link copied to clipboard
constructor(content: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <T> accept(visitor: NodeVisitor<T>): T

Accepts a visitor.

Link copied to clipboard

Retrieves the stored media associated with this node, if any.

Link copied to clipboard
fun Node.withChildren(newChildren: List<Node>): Node

Returns a copy of this node with its children replaced by newChildren.

Link copied to clipboard