remarkjs / remark-gfm

remark plugin to support GFM (autolink literals, footnotes, strikethrough, tables, tasklists)
https://remark.js.org
MIT License
744 stars 26 forks source link

support new GFM alerts #62

Closed matifali closed 10 months ago

matifali commented 10 months ago

Initial checklist

Problem

Support the new GitHub Alters notation. There were previous requests in #53 and #54.

[!NOTE] Useful information that users should know, even when skimming content.

[!TIP] Helpful advice for doing things better or more easily.

[!IMPORTANT] Key information users need to know to achieve their goal.

[!WARNING] Urgent info that needs immediate user attention to avoid problems.

[!CAUTION] Advises about risks or negative outcomes of certain actions.

Solution

Have native support for this notation.

Alternatives

An alternative library is remark-github-beta-blockquote-admonitions

wooorm commented 10 months ago

Duplicate of #53

github-actions[bot] commented 10 months ago

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.

github-actions[bot] commented 10 months ago

Hi! Thanks for taking the time to contribute!

Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn’t an exact duplicate but is closely related.

Thanks, — bb

wooorm commented 10 months ago

That is not an extension to GFM so doesn’t go here. Instead, it’s something that would go in rehypejs/rehype-github, or as you mentioned, in another plugin.

calumk commented 10 months ago

For future reference, plugin here : https://github.com/chrisweb/rehype-github-alerts