|
| 1 | +# markdown-it-github-alerts |
| 2 | + |
| 3 | +[![npm version][npm-version-src]][npm-version-href] |
| 4 | +[![npm downloads][npm-downloads-src]][npm-downloads-href] |
| 5 | +[![bundle][bundle-src]][bundle-href] |
| 6 | +[![JSDocs][jsdocs-src]][jsdocs-href] |
| 7 | +[![License][license-src]][license-href] |
| 8 | + |
| 9 | +Support [GitHub-style alerts](https://github.com/orgs/community/discussions/16925) for [markdown-it](https://github.com/markdown-it/markdown-it). |
| 10 | + |
| 11 | +```markdown |
| 12 | +> [!NOTE] |
| 13 | +> Highlights information that users should take into account, even when skimming. |
| 14 | + |
| 15 | +> [!TIP] |
| 16 | +> Optional information to help a user be more successful. |
| 17 | + |
| 18 | +> [!IMPORTANT] |
| 19 | +> Crucial information necessary for users to succeed. |
| 20 | + |
| 21 | +> [!WARNING] |
| 22 | +> Critical content demanding immediate user attention due to potential risks. |
| 23 | + |
| 24 | +> [!CAUTION] |
| 25 | +> Negative potential consequences of an action. |
| 26 | +``` |
| 27 | + |
| 28 | +> [!NOTE] |
| 29 | +> Highlights information that users should take into account, even when skimming. |
| 30 | +
|
| 31 | +> [!TIP] |
| 32 | +> Optional information to help a user be more successful. |
| 33 | +
|
| 34 | +> [!IMPORTANT] |
| 35 | +> Crucial information necessary for users to succeed. |
| 36 | +
|
| 37 | +> [!WARNING] |
| 38 | +> Critical content demanding immediate user attention due to potential risks. |
| 39 | +
|
| 40 | +> [!CAUTION] |
| 41 | +> Negative potential consequences of an action. |
| 42 | +
|
| 43 | +## Sponsors |
| 44 | + |
| 45 | +<p align="center"> |
| 46 | + <a href="https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg"> |
| 47 | + <img src='https://cdn.jsdelivr.net/gh/antfu/static/sponsors.svg'/> |
| 48 | + </a> |
| 49 | +</p> |
| 50 | + |
| 51 | +## License |
| 52 | + |
| 53 | +[MIT](./LICENSE) License © 2023-PRESENT [Anthony Fu](https://github.com/antfu) |
| 54 | + |
| 55 | + |
| 56 | +<!-- Badges --> |
| 57 | + |
| 58 | +[npm-version-src]: https://img.shields.io/npm/v/markdown-it-github-alerts?style=flat&colorA=080f12&colorB=1fa669 |
| 59 | +[npm-version-href]: https://npmjs.com/package/markdown-it-github-alerts |
| 60 | +[npm-downloads-src]: https://img.shields.io/npm/dm/markdown-it-github-alerts?style=flat&colorA=080f12&colorB=1fa669 |
| 61 | +[npm-downloads-href]: https://npmjs.com/package/markdown-it-github-alerts |
| 62 | +[bundle-src]: https://img.shields.io/bundlephobia/minzip/markdown-it-github-alerts?style=flat&colorA=080f12&colorB=1fa669&label=minzip |
| 63 | +[bundle-href]: https://bundlephobia.com/result?p=markdown-it-github-alerts |
| 64 | +[license-src]: https://img.shields.io/github/license/antfu/markdown-it-github-alerts.svg?style=flat&colorA=080f12&colorB=1fa669 |
| 65 | +[license-href]: https://github.com/antfu/markdown-it-github-alerts/blob/main/LICENSE |
| 66 | +[jsdocs-src]: https://img.shields.io/badge/jsdocs-reference-080f12?style=flat&colorA=080f12&colorB=1fa669 |
| 67 | +[jsdocs-href]: https://www.jsdocs.io/package/markdown-it-github-alerts |
0 commit comments