kokic/notiz/parsing does not have a README file

    Block

    pub(all) enum Block {
    Heading(Int, Array[Inline])
    Paragraph(Array[Inline])
    Blockquote(Array[Block])
    UnorderedList(Array[MdListItem])
    OrderedList(Array[MdListItem])
    FencedCode(String?, String)
    DisplayMath(String)
    ThematicBreak
    Table(TableRow, Array[TableRow])
    FootnoteDef(String, Array[Block])
    } derive(Eq,
    Debug
    )

    Inline

    pub(all) enum Inline {
    Plain(String)
    Strong(Array[Inline])
    Emph(Array[Inline])
    Code(String)
    Link(Array[Inline], String)
    Image(String, String)
    SoftBreak
    HardBreak
    InlineMath(String)
    FootnoteRef(String)
    } derive(Eq,
    Debug
    )

    AST types

    MdListItem

    pub(all) struct MdListItem {
    checked : Bool?
    content : Array[Inline]
    children : Array[Block]
    } derive(Eq,
    Debug
    )

    TableRow

    pub(all) struct TableRow {
    cells : Array[Array[Inline]]
    } derive(Eq,
    Debug
    )

    format_parse_error

    fn format_parse_error(err :
    ParseError
    , source : String) -> String

    Formats a parse error with a source snippet and caret marker.

    Returns a multi-line message like:

    parse error at 1:2: expected '\n' 1 | hello world | ^

    parse_inlines

    fn parse_inlines(text : String) -> Result[Array[Inline],
    ParseError
    ]

    special_chars

    let special_chars : String

    Inline parsers