{"repo":"jaywcjlove/remark-github-blockquote-alert","free":true,"listed":false,"github":"https://github.com/jaywcjlove/remark-github-blockquote-alert","clone":"git clone https://github.com/jaywcjlove/remark-github-blockquote-alert.git","description":"Alerts are a Markdown extension based on the blockquote syntax that you can use to emphasize critical information.","language":"TypeScript","stars":57,"topics":["github-alerts","markdown","remark","remark-plugin","alerts","github","alert","blockquote","html"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Using my app is also a way to support me: remark-github-blockquote-alert === Remark plugin to add support for GitHub Alert Alerts are a Markdown extension based on the blockquote syntax that you can use to emphasize critical information. Installation This package is ESM only: Node 12+ is needed to use it and it must be import instead of require . Usage The output HTML will be: Modify the title Change the expression [!NOTE] to [!NOTE/笔记] The output HTML will be: Wrap tag name with container The output HTML will be: Styling You can mimic GitHub's alert style by adding the styles provided in the npm package to your CSS. Or, add the following styles to your CSS to mimic GitHub's alert style: Currently 5 types of alerts are supported: To add an alert, use a special blockquote line specifying the alert type, followed by the alert information in a standard blockquote. Five types of alerts are available: Here are the rendered alerts: [!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. Related - rehype-rewrite Rewrite element with rehype. - rehype-video Add improved video syntax: links to .mp4 and .mov turn into videos. - rehype-attr New syntax to add attributes to Markdown. - reh","default_branch":null,"files":null,"tree":[],"storefront":"/r/jaywcjlove","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jaywcjlove/remark-github-blockquote-alert/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}