npm highlight.js 11.8.0
11.8.0 "Spring has arrived" Edition

latest releases: 11.10.0, 11.9.0
18 months ago

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, and when 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 and until as keywords

Don't miss a new highlight.js release

NewReleases is sending notifications on new releases.