mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-24 17:26:32 +00:00
Also omit Div with class "admonition-title". These are generated by the RST reader and should be omitted on round-trip. Closes #4833.
270 B
270 B
pandoc -f native -t rst
[Div ("",["warning"],[])
[Div ("",["admonition-title"],[])
[Para [Str "Warning"]]
,Para [Str "Hi"]]]
^D
.. warning::
Hi
pandoc -f native -t rst
[Div ("",["unknown"],[])
[Para [Str "Hi"]]]
^D
.. container:: unknown
Hi