NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #2950 most downloaded on npm
Virtual syntax highlighting for virtual DOMs and non-HTML things
Latest stable
3.3.0
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 1.1 years
Nearly every release is documented
notes for 43 of 44 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
44 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
474083b Update Highlight.js to ~11.11
Highlight.js to ~11.11Full Changelog: https://github.com/wooorm/lowlight/compare/3.2.0...3.3.0
Vladimir Gubarkov has provided an interesting and useful addition. File export.html contains a little program that shows and allows to copy and paste an HTML code generated by the highlighter for any code snippet. This can be useful in situations when one can't use the script itself on a site.
43f295f Update Highlight.js to ~11.10
Highlight.js to ~11.10@importsFull Changelog: https://github.com/wooorm/lowlight/compare/3.1.0...3.2.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Many thanks to you all!
0271644 Update Highlight.js to ~11.9.0
Highlight.js to ~11.9.0Full Changelog: https://github.com/wooorm/lowlight/compare/3.0.0...3.1.0
Three new languages are available: Django templates, SQL and Axapta. The latter two are sent by Dmitri Roudakov. However I've almost entirely rewrote an SQL definition but I'd never started it be it from the ground up :-)
The engine itself has got a long awaited feature of grouping keywords ("keyword", "built-in function", "literal"). No more hacks!
ce261f3 Change to require Node.js 16 migrate: update too
exports
migrate: don’t use private APIscreateLowlight, all, and common are exported;
do createLowlight() to create a lowlight with nothing yet,
createLowlight(common) for one with common languages, etc.registerLanguage to register
migrate: rename registerLanguage to registerFull Changelog: https://github.com/wooorm/lowlight/compare/2.9.0...3.0.0
It is major mainly because now highlight.js has grown large and has become modular. Now when you pass it a list of languages to highlight it will dynamically load into a browser only those languages.
Also:
There is also a small backwards incompatible change in the new version. The function initHighlighting that was used to initialize highlighting instead of initHighlightingOnLoad a long time ago no longer works. If you by chance still use it — replace it with the new one.
0ab194d Update Highlight.js to ~11.8.0
Highlight.js to ~11.8.0Full Changelog: https://github.com/wooorm/lowlight/compare/2.8.1...2.9.0
Highlight.js is a parser, not just a couple of regular expressions. That said I'm glad to announce that in the new version 2.9 has support for:
#{...}b944985 Fix side effects in vite by adding index.js by @hojas in https://github.com/wooorm/lowlight/pull/48
index.js
by @hojas in https://github.com/wooorm/lowlight/pull/48Full Changelog: https://github.com/wooorm/lowlight/compare/2.8.0...2.8.1
ca4589e Update Highlight.js to ~11.7.0
Highlight.js to ~11.7.0Full Changelog: https://github.com/wooorm/lowlight/compare/2.7.0...2.8.0
A maintenance release with more tuned heuristics. Fully backwards compatible.
e8b6745 Update Highlight.js to ~11.6.0
Highlight.js to ~11.6.0Full Changelog: https://github.com/wooorm/lowlight/compare/2.6.1...2.7.0
Fixed bugs were rather unpleasant so I encourage everyone to upgrade!
110486a Fix to use underscore suffixes for subscopes
Full Changelog: https://github.com/wooorm/lowlight/compare/2.6.0...2.6.1
10f9617 Update Highlight.js to ~11.5.0
Highlight.js to ~11.5.0Full Changelog: https://github.com/wooorm/lowlight/compare/2.5.0...2.6.0
4549d7b Update Highlight.js to ~11.4.0
Highlight.js to ~11.4.0Full Changelog: https://github.com/wooorm/lowlight/compare/2.4.1...2.5.0
* 57c4b8d Update docs * 22acbc1 Use strict types Full Changelog: https://github.com/wooorm/lowlight/compare/2.4.0...2.4.1
Full Changelog: https://github.com/wooorm/lowlight/compare/2.4.0...2.4.1
8e4be67 Update Highlight.js to ~11.3.0
Highlight.js to ~11.3.0Full Changelog: https://github.com/wooorm/lowlight/compare/2.3.0...2.4.0
Also highlight.js homepage now lists sites that use the library. Feel free to add your site by dropping me a message until I find the time to build a submit form.
f51d386 Add lowlight.registered by @fengzilong in https://github.com/wooorm/lowlight/pull/40
lowlight.registered
by @fengzilong in https://github.com/wooorm/lowlight/pull/40Full Changelog: https://github.com/wooorm/lowlight/compare/2.2.1...2.3.0
This version fixes IE breakage in previous version. My apologies to all who have already downloaded that one!
Nothing published for this version
4ea8315 Update Highlight.js to ~11.2.0
Highlight.js to ~11.2.0311b65f Update Highlight.js to ~11.1.0
Highlight.js to ~11.1.0a67ff2e Fix files in package.json
files in package.json02dc71c Update Highlight.js to ~11.0.0 see also: b6d0d24 (~11.0.0-beta1), bf79fd1 (~11.0.0-beta0), 869119b (~11.0.0-alpha1), 2c1ec1f (~11.0.0-alpha0)
Highlight.js to ~11.0.0
see also: b6d0d24 (~11.0.0-beta1), bf79fd1 (~11.0.0-beta0), 869119b (~11.0.0-alpha1), 2c1ec1f (~11.0.0-alpha0)common build, default to it
note: the default is now 35 languages, use lib/all.js for previous behaviorsecondBest resultf2156f9 Update Highlight.js to ~10.7.0
Highlight.js to ~10.7.0cd70821 Update Highlight.js to ~10.6.0
Highlight.js to ~10.6.0fdbbf14 Update Highlight.js to ~10.5.0
Highlight.js to ~10.5.05b50eac Update Highlight.js to ~10.4.0
Highlight.js to ~10.4.0f179695 Update Highlight.js to ~10.3.0
Highlight.js to ~10.3.00946b6d Update Highlight.js to ~10.2.0
Highlight.js to ~10.2.0b1d908f Update Highlight.js to ~10.1.0
Highlight.js to ~10.1.0279a94d Add funding field to package.json
funding field to package.json308eaea Update Highlight.js to ~9.16.0
Highlight.js to ~9.16.0funding.ymlfda353b Fix subsyntaxes if their language cannot be inferred
readme.mde257bef Update Highlight.js to ~9.15.0 (see `highlight.js@9.15.6`)
highlight.js@9.15.6)listLanguages to access registered languages2a929bf Update Highlight.js to ~9.13.0 (see `highlight.js@9.13.0`)
highlight.js@9.13.0)3b8f668 Add support for registering aliases
5d9e625 Add examples to each API call in readme.md
readme.mded923c0 Add mention of refractor for Prism
refractor for Prismc036967 Update Highlight.js to ~9.12.0
9cbf1bf Update Highlight.js to ~9.11.0
540849c Update Highlight.js to ~9.10.0
8a6ebf2 Update highlight.js to 9.9.0
highlight.js to 9.9.092c4468 Update highlight.js, xo
highlight.js, xo6d9bab7 Allow empty string to supress prefix
6f5bc96 Update highlight.js to 9.6.0
9.6.0Update highlight.js to 9.4.0 (`52116d8`)
52116d8)Update dependencies (`04e66f4`)
04e66f4)Version 1.0 of javascript syntax highlighter is released!
Version 1.0 of javascript syntax highlighter is released!
It's the first version available with English description. Feel free to post your comments and question to highlight.js forum. And don't be afraid if you find there some fancy Cyrillic letters -- it's for Russian users too :-)
One column per quarter.