mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-02 05:35:38 +00:00
We only properly handled the case where the alert started with a paragraph, but it can start with a list or other block type. Closes #11479.
32 lines
344 B
Markdown
32 lines
344 B
Markdown
```
|
|
% pandoc -f docbook -t gfm
|
|
<important>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<simpara>Test.</simpara>
|
|
</listitem>
|
|
<listitem>
|
|
<simpara>Test 2.</simpara>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</important>
|
|
^D
|
|
> [!IMPORTANT]
|
|
> - Test.
|
|
>
|
|
> - Test 2.
|
|
```
|
|
|
|
```
|
|
% pandoc -f gfm -t gfm
|
|
> [!IMPORTANT]
|
|
> - Test.
|
|
>
|
|
> - Test 2.
|
|
^D
|
|
> [!IMPORTANT]
|
|
> - Test.
|
|
>
|
|
> - Test 2.
|
|
```
|