highlight.js
Advanced tools
Changelog
Version 10.3.1
Prior version let some look-behind regex sneak in, which does not work yet on Safari. This release removes those incompatible regexes.
Fix:
Changelog
Version 10.3.0
Language Improvements:
enum (struct|class)
and union
(#2752) [Josh Goebel][]{}
inside template literals SUBST expression (#2748) [Josh Goebel][]constructor
is now highlighted as a function title (not keyword) (#2727) [Josh Goebel][]#
for private class fields (#2701) [Chris Krycho][](*)
from being detected as a multi-line comment [Josh Goebel][]objective-c++
and obj-c++
aliases for Objective-C [Josh Goebel][]record
(#2685) [Josh Goebel][]title
(#2683) [Josh Goebel][]final
) in class declaration (#2696) [Josh Goebel][]match
keyword and add php8
as an alias (#2733) [Ayesh Karunaratne][]Deprecations:
useBR
option deprecated and will be removed in v11.0. (#2559) [Josh Goebel][]Changelog
Version 10.2.1
Parser Engine:
Changelog
Version 10.2.0
Parser Engine:
New themes:
Deprecations:
fixMarkup
is now deprecated and will be removed in v11.0. (#2534) [Josh Goebel][]Big picture:
Language Improvements:
init
and record
keywords for C# 9.0 (#2660) [Youssef Victor][]arguments
keyword and fix enumeration
keyword (#2619) [Andrew Janke][]getLanguage
(#2636) [night][]enum
, which will identify as a class
now (#2643) [ezksd][]