@types/highlight.js
Advanced tools
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 9.12.0
New language:
New style:
Improvements:
[Attributes]
.