-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Support GitHub's note/warning/information alerts? #53
Comments
|
This comment has been minimized.
This comment has been minimized.
This comment was marked as resolved.
This comment was marked as resolved.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment was marked as outdated.
This comment was marked as outdated.
Thanks, my understanding was that
Okay, I'm happy to file an issue there. |
Oh, I see they recently added a new syntax. Now I’m not entirely sure anymore. |
This comment has been minimized.
This comment has been minimized.
Hi!
There are tons of features GH does on its platform to markup. |
This comment has been minimized.
This comment has been minimized.
For anyone interested; I created a Remark plugin to transform GitHub's syntax to the directives syntax used by admonitions: remark-github-admonitions-to-directives |
Initial checklist
Problem
Currently, there are many different ways to express note/warning/information alert boxes.
For example, from your own docs, this could be transformed into a GitHub note box:
MDN searches for the following syntax to render an alert box:
Solution
GitHub seems to have added a syntax for note/warning/info alert boxes to GFM. They render like this:
Note
Highlights information that users should take into account, even when skimming.
Important
Crucial information necessary for users to succeed.
Warning
Critical content demanding immediate user attention due to potential risks.
See https://github.com/orgs/community/discussions/16925
Will this be supported in remark-gfm?
Alternatives
.
The text was updated successfully, but these errors were encountered: