InlineParsers
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.
Value members
Concrete methods
Parses a span of emphasized text enclosed by one occurrence of the specified character.
Parses a span of emphasized text enclosed by one occurrence 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 two consecutive occurrences of the specified character. Recursively parses nested spans, too.
Parses a span enclosed by a single occurrence of the specified character. Recursively parses nested spans, too.
Parses a span enclosed by a single occurrence of the specified character. Recursively parses nested spans, too.
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.
- Value parameters:
- end
the end delimiter of the span
- start
the parser that parses the beginning of the span, result will be discarded
Concrete fields
Parses either strong spans enclosed in double asterisks or emphasized spans enclosed in single asterisks.
Parses either strong spans enclosed in double asterisks or emphasized spans enclosed in single asterisks.
Parses either strong spans enclosed in double underscores or emphasized spans enclosed in single underscores.
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.
The |
has been added to that list to support escaping in tables in the GitHub Flavor syntax.
Parses a single escaped character, only recognizing the characters the Markdown syntax document
specifies as escapable.
The |
has been added to that list to support escaping in tables in the GitHub Flavor syntax.
Note: escaping > is not mandated by the official syntax description, but by the official test suite.
Parses an inline image.
Recognizes both, an inline image ![text](url)
and an image reference ![text][id]
.
Parses an inline image.
Recognizes both, an inline image ![text](url)
and an image reference ![text][id]
.
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 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 one or more backticks. Does neither parse nested spans nor Markdown escapes.
Parses a literal span enclosed by one or more backticks. Does neither parse nested spans nor Markdown escapes.
Parses a simple inline link in the form of <http://someURL/>
Parses a simple inline link in the form of <http://someURL/>