StandardSpanDirectives
Defines all supported standard span directives of the reStructuredText reference parser. A span directive can be used in substitution definitions.
The replace
directive is fully supported. The other directives have the following
adjustments or limitations compared to their counterparts in the reference parser:
-
unicode
: does not support the various trim options, as that would require modifying adjacent elements (and no other directive has this requirement, therefore API/impl changes did not seem justified) -
date
: Uses the patterns ofjava.text.SimpleDateFormat
instead of Python'stime.strftime
function. -
image
: Does not support the various layout options (width
,height
,scale
,align
), as no other tree nodes in Laika carry concrete layout information. It is recommended to use styles instead.
Value members
Concrete fields
The date directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#date for details.
The date directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#date for details.
The replace directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#replacement-text for details.
The replace directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#replacement-text for details.
All standard reStructuredText span directives, to be used in substitution references.
All standard reStructuredText span directives, to be used in substitution references.
The unicode directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#unicode-character-codes for details.
The unicode directive, see http://docutils.sourceforge.net/docs/ref/rst/directives.html#unicode-character-codes for details.