The Markdown reader would parse GitHub alerts differently depending if the option lists_without_preceding_blankline is present or not:
% pandoc -f markdown+alerts -t native
:::: caution
::: title
Caution
:::
Foo bar, wuppie fluppie!
::::
^D
[ Div
( "" , [ "caution" ] , [] )
[ Div ( "" , [ "title" ] , [] ) [ Para [ Str "Caution" ] ]
, Para
[ Str "Foo"
, Space
, Str "bar,"
, Space
, Str "wuppie"
, Space
, Str "fluppie!"
]
]
]
vs.
% pandoc -f markdown+alerts+lists_without_preceding_blankline -t native
:::: caution
::: title
Caution
:::
Foo bar, wuppie fluppie!
::::
^D
[ Div
( "" , [ "caution" ] , [] )
[ Div ( "" , [ "title" ] , [] ) [ Plain [ Str "Caution" ] ]
, Plain
[ Str "Foo"
, Space
, Str "bar,"
, Space
, Str "wuppie"
, Space
, Str "fluppie!"
]
]
]
Activating lists_without_preceding_blankline the reader would emit a Plain instead of a Para, which would subsequently result in the Markdown writer failing to properly emit the GitHub alert, i.e. instead of
% pandoc -f markdown+alerts -t markdown+alerts
:::: caution
::: title
Caution
:::
Foo bar, wuppie fluppie!
::::
^D
> [!CAUTION]
> Foo bar, wuppie fluppie!
the writer would emit
% pandoc -f markdown+alerts+lists_without_preceding_blankline -t markdown+alerts
:::: caution
::: title
Caution
:::
Foo bar, wuppie fluppie!
::::
^D
:::: caution
::: title
Caution
:::
Foo bar, wuppie fluppie!
::::
(Pandoc 3.9 on macOS 26.3.1)
The Markdown reader would parse GitHub alerts differently depending if the option
lists_without_preceding_blanklineis present or not:vs.
Activating
lists_without_preceding_blanklinethe reader would emit aPlaininstead of aPara, which would subsequently result in the Markdown writer failing to properly emit the GitHub alert, i.e. instead ofthe writer would emit
(Pandoc 3.9 on macOS 26.3.1)