Files
pandoc/test/command/9716.md
T
John MacFarlane 31fed556f5 Markdown reader: put alert after tip, etc. in classes.
Some of the writers (gfm, docbook, asciidoc, rst) check for the
admonition name as the first class, so the change putting `alert`
first broke the output. (Regression from 3.12.)

Closes #11919.
2026-09-30 08:49:12 -07:00

237 B

% pandoc -f markdown+alerts -t native
> [!TIP]
> A suggestion.
^D
[ Div
    ( "" , [ "tip" , "alert" ] , [] )
    [ Div ( "" , [ "title" ] , [] ) [ Para [ Str "Tip" ] ]
    , Para [ Str "A" , Space , Str "suggestion." ]
    ]
]