Incompatibilities:
- chore(parser): compressed version 9.x language definitions no longer supported (rebuild them minified) Josh Goebel
nohightlight
andno-highlight
are the only "ignore me" css classes now (plain
andtext
no longer count) (to get the old behavior you can customizenoHighlightRe
)- a grammar with a top-level
self
reference will now always throw an error (previously in safe mode this would be silently ignored) - PHP templates are now detected as
php-template
, notxml
Renamed Language Files:
- chore(parser):
htmlbars.js
now depends onhandlebars.js
Josh Goebel - chore(parser): rename
nimrod.js
tonim.js
Josh Goebel - chore(parser): rename
cs.js
tocsharp.js
Josh Goebel - chore(parser): rename
tex.js
tolatex.js
Josh Goebel - chore(parser): effectively rename
cpp.js
toc-like.js
Josh Goebel - chore(parser): create new
c.js
(C), depends onc-like
now Josh Goebel - chore(parser): create new
cpp.js
(C), depends onc-like
now Josh Goebel - This will allow us to clean up C/C++ in the future without another breaking change by getting this require change out of the way early. (highlightjs#2146)
Legacy Browser Issues:
- We're now using ES2015 features in the codebase. Internet Explorer 11 is no longer supported.
- In general legacy browsers are no longer supported.
- chore(parser): remove
load
listener in favor of only the newerDOMContentLoaded
Josh Goebel
Removed styles:
- chore(styles): darkula.css (use darcula.css instead) Josh Goebel
Also see: highlightjs#2273