const class markdown::Parser
sys::Obj markdown::Parser
@Js
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()
Obtain a builder for configuring the parser
- make
-
static new make()
Get a parser with all the default configuration
- parse
-
Convenience for
parseStream(text.in)
- parseStream
-
Parse the contents of the input stream into a tree of nodes.
doc := Parser().parse("Hello *Markdown*!")