You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The relevant RST documentation is under the role directive:
The following option is recognized by the "role" directive for most base roles:
class : text
Set the "classes" attribute value on the element produced (inline, or element associated with a base class) when the custom interpreted text role is used. If no directive options are specified, a "class" option with the directive argument (role name) as the value is implied. See the class directive above.
As shown in the example below, Pandoc 2.16.1 always uses the role name for the element class, and always ignores the :class: field in a custom role.
Explain the problem.
The relevant RST documentation is under the role directive:
As shown in the example below, Pandoc 2.16.1 always uses the role name for the element class, and always ignores the
:class:
field in a custom role.Example RST:
Pandoc command:
pandoc -f rst -t html5 -o test.html test.rst
Output HTML5:
Expected output:
Pandoc version?
2.16.1, Windows
The text was updated successfully, but these errors were encountered: