mirror of
https://github.com/jgm/pandoc.git
synced 2026-10-04 13:17:58 +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.
21 lines
270 B
Markdown
21 lines
270 B
Markdown
```
|
|
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
|
|
```
|