Files
pandoc/test/command/9716.md
T
Hendrik Erz fa0dfdf0e1 Markdown reader: case-insensitive alert keywords (#11836)
The keywords (e.g. `TIP`) for GFM-style alerts need not be all caps.
This commit fixes that. It also adds the class `alert` to the produced
Divs to allow for namespacing.

This commit changes the emitted classes from the alert extension
of the basic Markdown reader to add the class `alert` to the
produced DIVs to allow for namespacing.
2026-08-29 17:25:41 -07:00

14 lines
237 B
Markdown

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