11.8.0
版本发布时间: 2023-04-29 21:38:38
highlightjs/highlight.js最新发布版本:11.10.0(2024-07-15 08:55:37)
Changelog
Parser engine:
- added a function to default export to generate a fresh highlighter instance to be used by extensions WisamMechano
- added BETA
__emitTokens
key to grammars to allow then to direct their own parsing, only using Highlight.js for the HTML rendering Josh Goebel - (enh) add
removePlugin
api faga295 - (fix) typo in language name of
JavaScript
Cyrus Kao
New Grammars:
- added 3rd party Lang grammar to SUPPORTED_LANGUAGES AdamRaichu
- added 3rd party C3 grammar to SUPPORTED_LANGUAGES aliaegik
Core Grammars:
- enh(sql) support
_
in variable names [joshgoebel][] - enh(mathematica) update keywords list to 13.2.1 arnoudbuzing
- enh(protobuf) add
proto
alias for Protobuf [dimitropoulos][] - enh(sqf) latest changes in Arma 3 v2.11 Leopard20
- enh(js/ts) Added support for GraphQL tagged template strings Ali Ukani
- enh(javascript) add sessionStorage to list of built-in variables Jeroen van Vianen
- enh(http) Add supporxt for HTTP/3 Rijenkii
- added 3rd party Motoko grammar to SUPPORTED_LANGUAGES rvanasa
- added 3rd party Candid grammar to SUPPORTED_LANGUAGES rvanasa
- fix(haskell) Added support for characters CrystalSplitter
- enh(dart) Add
base
,interface
,sealed
, andwhen
keywords Sam Rawlins - enh(php) detect newer more flexible NOWdoc syntax (#3679) Timur Kamaev
- enh(python) improve autodetection of code with type hinting any function's return type (making the
->
operator legal) Keyacom - enh(bash) add
select
anduntil
as keywords