CommonmarkAstNodeParser

expect class CommonmarkAstNodeParser(options: CommonMarkdownParseOptions = CommonMarkdownParseOptions.Default)

A helper class that can convert any text content into an ASTNode tree and return its root.

Constructors

Link copied to clipboard
actual constructor(options: CommonMarkdownParseOptions)
expect constructor(options: CommonMarkdownParseOptions = CommonMarkdownParseOptions.Default)
actual constructor(options: CommonMarkdownParseOptions)

Functions

Link copied to clipboard
actual fun parse(text: String): <Error class: unknown class>
expect fun parse(text: String): <Error class: unknown class>

Parse markdown content and return Abstract Syntax Tree(AST).

actual fun parse(text: String): <Error class: unknown class>