Package atessera.markdown.parsers


package atessera.markdown.parsers
Provides custom block parser implementations for the extended Markdown syntax.

This package contains BlockParserFactory and AbstractBlockParser implementations that recognize Alpha Tessera's domain-specific block constructs and produce the corresponding atessera.markdown.blocks AST nodes.

Parser classes

BibItemParserFactory / BibItemParser
Recognizes bibliography item blocks starting with *** [#key]. Produces BibItem nodes. The block continues as long as subsequent lines are indented by at least 4 spaces.
LabelParserFactory / LabelParser
Recognizes label lines of the form @@ label @@. Produces Label nodes. Labels are used as targets for cross-references.
MultiBlockParserFactory / MultiBlockParser
Recognizes stylized blocks starting with > followed by an optional type indicator (e.g. [||] for columns, [!] for alerts) and a caption. Produces MultiBlock nodes. The block continues on subsequent lines that start with >.

Additional block parsers for math blocks (MathBlockParser), citation definitions (CiteBlockParser), and advanced images (AdvImageBlockParser) are defined directly in the parent atessera.markdown package.

See Also: