You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Hugo are you using (hugo version)?
$ hugo version
hugo v0.132.1+extended linux/amd64 BuildDate=unknown
Does this issue reproduce with the latest release?
Yes
Alerts are introduced in Hugo v0.132.0. Documentation says that syntax is compatible with GitHub Alert Markdown extension. However, GitHub allows writing alert heading in lower case, while Hugo doesn't.
> [!note]> Example
Note
Example
Hugo won't render [!note], or [!Note], or [!nOtE] as alert while GitHub will.
Hugo won't render [!note], or [!Note], or [!nOtE] as alert while GitHub will.
Well, one could argue that the bug lives in GitHub's implementation, because their spec says nothing about casing, but their examples all indicate ... upper case:
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes
Alerts are introduced in Hugo v0.132.0. Documentation says that syntax is compatible with GitHub Alert Markdown extension. However, GitHub allows writing alert heading in lower case, while Hugo doesn't.
Note
Example
Hugo won't render
[!note]
, or[!Note]
, or[!nOtE]
as alert while GitHub will.Probably need to change this regex filter:
hugo/markup/goldmark/blockquotes/blockquotes.go
Line 238 in 665ac94
The text was updated successfully, but these errors were encountered: