Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alerts are not recognized when they include a title #809

Open
mkoppmann opened this issue Jul 25, 2024 · 2 comments
Open

Alerts are not recognized when they include a title #809

mkoppmann opened this issue Jul 25, 2024 · 2 comments
Labels

Comments

@mkoppmann
Copy link

Obsidian allows adding titles to alerts/callouts. When Markdig parses an alert with a title, it is recognized as a QuoteBlock instead of an AlertBlock. It would be nice if Markdig could support the optional title.

> [!NOTE] Custom Title
> Lorem Ipsum

The behavior is consistent with the way GitHub displays alerts with titles though:

[!NOTE] Custom Title
Lorem Ipsum

@xoofx
Copy link
Owner

xoofx commented Jul 30, 2024

The behavior is consistent with the way GitHub displays alerts with titles though:

Yes, markdig implements the official GitHub Alert. You can GitHub to add support to title maybe here

@xoofx xoofx added the question label Jul 30, 2024
@szalkerous
Copy link

I noticed the Typora editor creates these as well and they aren't handled in many parsers. I'd love to see this implemented, either natively or via a plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants