highlight.js
11.12.0 · 12 Aug 2026BSD-3-Clause56.9M / weekRepositoryHomepagenpmAtom feed
11.12.0 is the newest release of 11.x.
In short
1 breaking8 new18 fixed23 changed
- Breaking
CAVEATS / POTENTIALLY BREAKING CHANGES
Release note
Version 11.11.0
CAVEATS / POTENTIALLY BREAKING CHANGES
Nothing.
Core Grammars:
fix(rust) - adds emoji support in single quote strings [joshgoebel]
fix(apache) - support line continuation via
\[Josh Goebel]fix(makefile) - allow strings inside
$()expressions [aneesh98]enh(arcade) updated to ArcGIS Arcade version 1.29 [Kristian Ekenes]
enh(css) add all properties listed on MDN (96 additions including
anchor-name,aspect-ratio,backdrop-filter,container,margin-trim,place-content,scroll-timeline, ...) [BaliBalo]enh(excel) add built-in functions for Excel 365 release to 2024 [Danny Winrow]
enh(erlang) OTP 27 triple-quoted strings [nixxquality]
enh(erlang) OTP 27 doc attribute [nixxquality]
enh(erlang) OTP 27 Sigil type [nixxquality]
enh(erlang) OTP25/27 maybe statement [nixxquality]
enh(dart) Support digit-separators in number literals [Sam Rawlins]
enh(csharp) add Contextual keywords
file,args,dynamic,record,requiredandscoped[Alvin Joy]enh(lua) add 'pluto' as an alias [Sainan]
enh(bash) add reserved keywords
timeandcoproc[Álvaro Mondéjar]enh(nix) update keywords [h7x4]
enh(nix) support paths [h7x4]
enh(nix) support lookup paths [h7x4]
enh(nix) support operators [h7x4]
enh(nix) support REPL keywords [h7x4]
enh(nix) support markdown comments [h7x4]
enh(nix) support basic function params [h7x4]
enh(nix) better parsing of attrsets [h7x4]
fix(c) - Fixed hex numbers with decimals [Dxuian]
fix(typescript) - Fixedoptional property not highlighted correctly [Dxuian]
fix(ruby) - fix
|=operator false positives (as block arguments) [Aboobacker MK]enh(gcode) rewrote language for modern gcode support [Barthélémy Bonhomme]
fix(sql) - Fixed sql primary key and foreign key spacing issue [Dxuian]
fix(cpp) added flat_set and flat_map as a part of cpp 23 version [Lavan]
fix(yaml) - Fixed special chars in yaml [Dxuian]
fix(basic) - Fixed closing quotation marks not required for a PRINT statement [Somya]
fix(nix) remove
addbuiltin [h7x4]fix(nix) mark
oras builtin instead of literal [h7x4]fix(nix) handle
'''string escapes [h7x4]fix(nix) handle backslash string escapes [h7x4]
fix(nix) don't mix escapes for
"and''strings [h7x4]fix(swift) - Fixed syntax highlighting for class func/var declarations [guuido]
fix(yaml) - Fixed wrong escaping behavior in single quoted strings [guuido]
enh(nim) - Add
conceptanddeferto list of Nim keywords Jake Leahy
New Grammars:
Added 3rd party TTCN-3 grammar to SUPPORTED_LANGUAGES [Osmocom]
Added 3rd party Odin grammar to SUPPORTED_LANGUAGES [clsource]
Added 3rd party Liquid grammar to SUPPORTED_LANGUAGES [Laurel King]
Developer Tools:
Nothing yet.
Themes:
Added
Rosé Pinetheme [William Wilkinson]Added
Cybertopia Cherrytheme [Alexandre ZANNI]Added
Cybertopia Dimmertheme [Alexandre ZANNI]Added
Cybertopia Icecaptheme [Alexandre ZANNI]Added
Cybertopia Saturatedtheme Alexandre ZANNI
Improvements:
Resolve the memory leak problem when creating multiple Highlight.js instances Imken
CONTRIBUTORS
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.