v2.0.0
rehype github alerts v2.0.0
v2 is available on npmjs
- fixed a bug #3: when content of the alert contains other markdown then paragraphs, like a list or an image
- in an update on 14 November 2023 GitHub turned off support for the legacy syntax, this is why this plugin now has legacy support turned off by default
- in the update from 14 November 2023 GitHub also added two new alert types, Tip and Caution, I added supported for these two alerts too
- added a test suite for most common cases, need more tests to reach 100% coverage, but currently at 90+%
- replaced the previous icons source with 5 icons from https://icons.getbootstrap.com/, license is in NOTICE.md (icons license is MIT)