Skip to content

Releases: caboodle-tech/highlight-js-lite

v2.2.0

10 Oct 05:56
4be3393
Compare
Choose a tag to compare
  • The buildTable method in the web worker was breaking any highlights that spanned multiple lines, like multiline comments, as it placed the output into separate rows. Corrected this bug by tracking orphaned highlighting spans and correctly opening, closing, and adding them on the proper lines.
  • Improved how code blocks are lazy loaded and watched to reduce edge cases where blocks are marked as processed but never actually processed; especially on mobile devices.
  • Improved the clipboard placement.

v2.1.0

22 Sep 02:51
ed572a1
Compare
Choose a tag to compare
  • Corrected HTML entity encoding and decoding issues allowing Highlight.js to correctly read more languages as valid (legal).
  • Added language helpers for commonly broken languages like css, html, and ini.
  • Related to the previous point, we removed our custom HTML highlighter since Highight.js could now correctly highlight HTML with either Django or xml.
  • Made the copyToClipboard method private now.

v2.0.3

15 Sep 23:29
6795759
Compare
Choose a tag to compare

Fixed several minor bugs that affected how padding was working.

v2.0.0

10 Sep 15:23
9eaddca
Compare
Choose a tag to compare

Complete rewrite of HLJSL that simplifies everything from development to deployment:

  • Web worker is more efficient and runs faster with new optimizations.
  • Files required for the user to include has been reduced.
  • The process of contributing and developing HLJS for your own needs has been simplified.

See changes in action on the HLJSL website.