Parses a span of emphasized text enclosed by one occurrence of the specified character.
Parses either strong spans enclosed in double asterisks or emphasized spans enclosed in single asterisks.
Parses a span enclosed by two consecutive occurrences of the specified character.
Parses a span enclosed by two consecutive occurrences of the specified character. Recursively parses nested spans, too.
Parses a span enclosed by a single occurrence of the specified character.
Parses a span enclosed by a single occurrence of the specified character. Recursively parses nested spans, too.
Parses either strong spans enclosed in double underscores or emphasized spans enclosed in single underscores.
Parses a single escaped character, only recognizing the characters the Markdown syntax document specifies as escapable.
Parses a single escaped character, only recognizing the characters the Markdown syntax document specifies as escapable.
Note: escaping > is not mandated by the official syntax description, but by the official test suite.
Parses an inline image.
Parses an inline image.
Recognizes both, an inline image ![text](url)
and an image reference ![text][id]
.
Parses an explicit hard line break.
Parses a link, including nested spans in the link text.
Parses a link, including nested spans in the link text.
Recognizes both, an inline link [text](url)
and a link reference [text][id]
.
Parses a literal span enclosed by double backticks.
Parses a literal span enclosed by double backticks. Does neither parse nested spans nor Markdown escapes.
Parses a literal span enclosed by a single backtick.
Parses a literal span enclosed by a single backtick. Does neither parse nested spans nor Markdown escapes.
Parses a literal span enclosed by double or single backticks.
Helper function that abstracts the common parser logic of links and images.
Helper function that abstracts the common parser logic of links and images.
factory function for creating a new inline link or image based on the text, url and optional title parameters
factory function for creating a new link or image reference based on the text and id parameters
Parses a simple inline link in the form of <http://someURL/>
Creates a parser for an inline span based on the specified parsers that represent the start and end condition.
Creates a parser for an inline span based on the specified parsers that represent the start and end condition.
the parser that parses the beginning of the span, result will be discarded
the end delimiter of the span
the parser that checks any post conditions after the end delimiter has been read
Parses a span of strong text enclosed by two consecutive occurrences of the specified character.
Provides all inline parsers for Markdown text except for those dealing with verbatim HTML markup which this library treats as an optional feature that has to be explicitly mixed in.
Inline parsers deal with markup within a block of text, such as a link or emphasized text. They are used in the second phase of parsing, after the block parsers have cut the document into a (potentially nested) block structure.