@highlightjs/cdn-assets
Advanced tools
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][]Changelog
Version 10.1.1
Fixes:
index.d.ts is not a module
error (#2603) [Josh Goebel][]Changelog
Version 10.1.0
New themes:
Parser Engine:
keywords.$pattern
key to grammar definitions (#2519) [Josh Goebel][]registerAliases
method (#2540) [Taufik Nurrohman][]on:begin
callback for modes (#2261) [Josh Goebel][]on:end
callback for modes (#2261) [Josh Goebel][]END_SAME_AS_BEGIN
mode to replace endSameAsBegin
parser attribute (#2261) [Josh Goebel][]fixMarkup
would rarely destroy markup when useBR
was enabled (#2532) [Josh Goebel][]Deprecations:
htmlbars
grammar is now deprecated. Use handlebars
instead. (#2344) [Nils Knappmeier][]highlightBlock
result.re
deprecated. Use result.relevance
instead. (#2552) [Josh Goebel][]result.second_best.re
=> result.second_best.relevance
(#2552)lexemes
is now deprecated in favor of keywords.$pattern
key (#2519) [Josh Goebel][]endSameAsBegin
is now deprecated. (#2261) [Josh Goebel][]Language Improvements:
readonly
keyword (#2562) [Martin (Lhoerion)][]OPTIMIZE:
and HACK:
to the labels highlighted inside comments [Josh Goebel][]pair
, make_pair
, priority_queue
as built-ins (#2538) [Hankun Lin][]priority_queue
pair
as cpp containers (#2541) [Hankun Lin][]set
keyword conflicting with setTimeout, etc. (#2514) [Vania Kucher][]=>
function with nested ()
in params now works (#2502) [Josh Goebel][]=>
function with nested ()
in params now works (#2502) [Josh Goebel][]@objcMembers
was being partially highlighted (#2543) [Nick Randall][]late
and required
keywords, the Never
built-in type, and nullable built-in types (#2550) [Sam Rawlins][]Changelog
Version 10.0.2
Brower build:
Parser Engine Changes:
Changelog
Version 10.0.1
Parser Engine Changes:
Changelog
Version 10.0.0
New languages:
python-repl
for Python REPL sessionsNew themes:
Parser Engine Changes:
beginKeywords
to ignore . matches (#2434) [Josh Goebel][]before:highlight
plugin API callback (#2395) [Josh Goebel][]after:highlight
plugin API callback (#2395) [Josh Goebel][]name
attribute now (#2400) [Josh Goebel][]noHighlightRe
and languagePrefixRe
configurable (#2374) [Josh Goebel][]Language Improvements:
compactMap
to keywords as built_in (#2478) [Omid Golparvar][]func
keyword (#2468) [Adnan Yaqoob][]defn-
properly (#2438) [Josh Goebel][]@identifier
style identifiers (#2414) [Josh Goebel][]deny
and allow
keywords [Josh Goebel][]<?=
syntax to meta [Taufik Nurrohman][]rpc
when followed by a block (#) [Josh Goebel][]where
keyword as class constraint (#2378) [Josh Goebel][]text
and txt
as alias (#2360) [Taufik Nurrohman][]Developer Tools: