highlight.js icon indicating copy to clipboard operation
highlight.js copied to clipboard

(CSS) `unicode-range` keyword not supported

Open kshetline opened this issue 8 months ago • 1 comments

Describe the issue

CSS unicode-range is not recognized, and subsequent range values are badly parsed.

Which language seems to have the issue?

CSS

Are you using highlight or highlightAuto?

highlight

Sample Code to Reproduce

@font-face {
  font-family: DroidSans;
  src: url(DroidSans.ttf);
  unicode-range: U+000-5FF, U+1e00-1fff, U+2000-2300;
}

Gets highlighted this way:

Image

Expected behavior

More like the way GitHub shows the code above.

kshetline avatar May 05 '25 22:05 kshetline

Hii @kshetline, I would like to work on this issue,can you please assign me this issue

divyam-r25 avatar Oct 10 '25 13:10 divyam-r25