[csswg-drafts] Pull Request: Support GFM admonitions in markdown-to-HTML conversion

sideshowbarker has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== Support GFM admonitions in markdown-to-HTML conversion ==
GitHub's alert/admonition syntax (`> [!NOTE]`, `> [!TIP]`, `> [!WARNING]`, etc.) is increasingly common in markdown files but isn't part of the CommonMark spec or Python-Markdown's built-in extensions. Without explicit support, these render as plain blockquotes with literal `[!NOTE]` text.

This adds [markdown-gfm-admonition](https://github.com/dahlia/markdown-gfm-admonition), a lightweight Python-Markdown extension that converts the GFM alert syntax into styled `<div class="admonition">` blocks. Admonition types are color-coded: blue for note/tip, purple for important, red for warning/caution.

- Add `markdown-gfm-admonition` to pip install in CI workflow
- Add `"gfm_admonition"` to the Markdown extensions list
- Add admonition CSS to the HTML template

See https://github.com/w3c/csswg-drafts/pull/13448


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 4 February 2026 08:55:08 UTC