wooorm / lowlight

Virtual syntax highlighting for virtual DOMs and non-HTML things
MIT License
746 stars 26 forks source link

Update to Highlight.js `~9.16.0` #19

Closed joshgoebel closed 4 years ago

joshgoebel commented 4 years ago

Not sure if this affects you individually or not. I think it would?

https://github.com/conorhastings/react-syntax-highlighter/issues/226

Your registerLanguage needs to support the new rawDefinition functionality:

https://github.com/highlightjs/highlight.js/blob/master/src/highlight.js#L904

This is required for the Arduino language (and likely others in the future).

wooorm commented 4 years ago

Thanks, updated!

joshgoebel commented 4 years ago

Oh wow. That’s quite the update. Lol.

wooorm commented 4 years ago

It was 😉