Skip to content

feat: support GFM alerts#237

Merged
frostming merged 1 commit intofrostming:masterfrom
rr-:gfm-alerts
Aug 8, 2025
Merged

feat: support GFM alerts#237
frostming merged 1 commit intofrostming:masterfrom
rr-:gfm-alerts

Conversation

@rr-
Copy link
Contributor

@rr- rr- commented Jul 18, 2025

Adds support for alerts to GFM.

Alerts render like this:

Caution

Yadda yadda

and are written like so:

> [!CAUTION]
> Yadda yadda

While it's not clear how to best render these using vanilla HTML, they're now at least understood, and people who integrate should have easier time overriding just the render_alert part in HTMLRenderer when customizing the look'n'feel of the final blockquote.

@frostming frostming merged commit 0f100cb into frostming:master Aug 8, 2025
18 checks passed
@rr- rr- deleted the gfm-alerts branch August 8, 2025 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants