@codemirror/highlight
Advanced tools
Changelog
0.19.8 (2022-03-27)
Highlight styles can now set a themeType
option to make them only apply to dark or light themed editors.
Changelog
0.19.7 (2022-01-03)
Make classHighlightStyle
emit classes for tag.className
and tags.definition(tags.propertyName)
. Follow precedence level rename
Add a new highlighting tag moduleKeyword
.
Changelog
0.19.6 (2021-09-23)
Add two additional tags, attributeName
and attributeValue
, to make it easier to style XML/HTML languages in a specific way.
Changelog
0.19.5 (2021-09-16)
highlightTree
now takes from
and to
arguments to allow highlighting only a part of the tree.
Changelog
0.19.4 (2021-09-03)
Fix a regression in 0.19.3 in highlighting over overlay trees.
Changelog
0.19.3 (2021-09-03)
Fix a crash in the highlighter when there were multiple visible ranges in the view and the gaps between them overlap with a tree overlay.
Changelog
0.19.2 (2021-08-19)
Fix a bug where old highlighting could stick around when switching language parser configuration.