const class markdown::Parser

sys::Obj
  markdown::Parser

@Js

Source

Parse input text into a tree of nodes.

The parser is thread-safe meaning the same parser can be shared by multiple actors.

builder

static ParserBuilder builder()

Source

Obtain a builder for configuring the parser

make

static new make()

Source

Get a parser with all the default configuration

parse

Node parse(Str text)

Source

Convenience for parseStream(text.in)

parseStream

Node parseStream(InStream in)

Source

Parse the contents of the input stream into a tree of nodes.

doc := Parser().parse("Hello *Markdown*!")