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

Proposal: GitHub Special Markdown Blocks #518

Closed
Arteiii opened this issue Jan 14, 2025 · 1 comment
Closed

Proposal: GitHub Special Markdown Blocks #518

Arteiii opened this issue Jan 14, 2025 · 1 comment

Comments

@Arteiii
Copy link

Arteiii commented Jan 14, 2025

GitHub Markdown supports special blocks like these:

Note

Highlights information that users should take into account, even when skimming.

Tip

Optional information to help a user be more successful.

Important

Crucial information necessary for users to succeed.

Warning

Critical content demanding immediate user attention due to potential risks.

Caution

Negative potential consequences of an action.

> [!NOTE]  
> Highlights information that users should take into account, even when skimming.

> [!TIP]
> Optional information to help a user be more successful.

> [!IMPORTANT]  
> Crucial information necessary for users to succeed.

> [!WARNING]  
> Critical content demanding immediate user attention due to potential risks.

> [!CAUTION]
> Negative potential consequences of an action.

The original discussion can be found here: GitHub Community Discussion #16925.

Adding support for these special blocks would improve compatibility with GitHub READMEs and other documentation files.
Specifically, tools like cargo crates would greatly benefit from this feature,
as discussed here: rust-lang/crates.io Discussion #8506

@digitalmoksha
Copy link
Collaborator

I think this is a duplicate of #472, so I'm going to go ahead and close it. If not, we can reopen it.

I do have a PR in progress for this, I just haven't pushed it up yet. Hoping to have time this or next week to really push it forward 🤞

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

No branches or pull requests

2 participants