mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-26 11:11:47 +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.
344 B
344 B
% 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.