Parses a caption (a single paragraph) and a legend (one or more blocks), both being optional.
Parses a caption (a single paragraph) and a legend (one or more blocks), both being optional.
the standard block parsers including all registered directives for recursive use
the input to parse
Right
in case of parser success and Left
in case of failure, to adjust to the Directive API
Utility method to be used by custom parsers for directive argument or body.
Utility method to be used by custom parsers for directive argument or body.
It translates a Success
into a Right
and a NoSuccess
into a Left
.
Parses all standard inline markup supported by reStructuredText
.
Parses all standard inline markup supported by reStructuredText
.
the standard inline parsers including all registered directives for recursive use
the input to parse
Right
in case of parser success and Left
in case of failure, to adjust to the Directive API
Parses one of the two table types supported by reStructuredText
.
Parses one of the two table types supported by reStructuredText
.
the standard block parsers including all registered directives for recursive use
the input to parse
Right
in case of parser success and Left
in case of failure, to adjust to the Directive API
Parses a target which might be a simple reference, a phrase reference or an uri.
Parses a target which might be a simple reference, a phrase reference or an uri.
the input to parse
Right
in case of parser success and Left
in case of failure, to adjust to the Directive API
Parses unicode values in various notations intertwined with normal text.
Parses unicode values in various notations intertwined with normal text.
the input to parse
Right
in case of parser success and Left
in case of failure, to adjust to the Directive API
Defines the custom argument and body parsers for the standard directives. Most of these delegate to the default block or inline parsers for
reStructuredText
, but often do only except one specific block type likeTable
orQuotedBlock
whereas the default block parser usually accepts any of the blocks.