mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 21:25:48 +00:00
This allows admonition elements (e.g. `<note>`) to work with gfm admonitions even if the `<title>` is not present. Closes #9569.
20 lines
278 B
Markdown
20 lines
278 B
Markdown
```
|
|
% pandoc -f docbook -t gfm
|
|
<note>
|
|
<para>Some content</para>
|
|
</note>
|
|
<para>Spacer.</para>
|
|
<note>
|
|
<title>A note with a title. Works, but the title is discarded.</title>
|
|
<para>Some content</para>
|
|
</note>
|
|
^D
|
|
> [!NOTE]
|
|
> Some content
|
|
|
|
Spacer.
|
|
|
|
> [!NOTE]
|
|
> Some content
|
|
```
|