mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-04 06:35:47 +00:00
This was not properly implemented, causing some unintended results. Closes #11534.
43 lines
633 B
Markdown
43 lines
633 B
Markdown
```
|
|
% pandoc -f markdown+lists_without_preceding_blankline+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!"
|
|
]
|
|
]
|
|
]
|
|
```
|
|
|
|
```
|
|
% pandoc -f markdown+lists_without_preceding_blankline -t native
|
|
hello
|
|
- a
|
|
- b
|
|
c
|
|
^D
|
|
[ Para [ Str "hello" ]
|
|
, BulletList
|
|
[ [ Plain [ Str "a" ] ]
|
|
, [ Plain [ Str "b" , SoftBreak , Str "c" ] ]
|
|
]
|
|
]
|
|
|
|
```
|
|
|