Skip to content

Releases: chrisweb/rehype-github-alerts

v3.0.0

10 Mar 21:32
Compare
Choose a tag to compare
  • This version improves DX by building alerts no matter if the first line ends with two spaces or not (the two spaces were mandatory before), but due to this ticket #4 I decided to make them optional, two spaces at the end are still a good pratice as it will speed up parsing, also installing remark-breaks next to this plugin is still highly recommended if you want to mimick githubs behavior regarding line breaks (inside of alerts)
  • Improved documentation in main Readme regarding line breaks and paragraphs (regular markdown syntax or install remark-breaks to fully mimick GitHub behavioe)

v2.0.0

02 Dec 21:05
Compare
Choose a tag to compare

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)

v1.1.2

16 Nov 18:43
Compare
Choose a tag to compare
  • removed default styles from element
  • added styling (that mimicks what github does) in the readme

v1.1.0

11 Nov 20:21
Compare
Choose a tag to compare
  • unlocked dependency versions in package.json
  • changed build script to not minify and bundle code
  • new build
  • added NOTICE file in root of the project to better disclose the 3 icons license

v1.0.0

08 Nov 21:16
Compare
Choose a tag to compare
  • first release