valeriangalliat / markdown-it-highlightjs

Preset to use highlight.js with markdown-it.
The Unlicense
54 stars 30 forks source link

fix: update to new highlight api #20

Closed commenthol closed 3 years ago

commenthol commented 3 years ago

The current highlight API got deprecated: See https://github.com/highlightjs/highlight.js/issues/2277

Currently an annoying error message is printed. By switching to the new API the warning disappears.

valeriangalliat commented 3 years ago

Awesome, thanks a lot!

valeriangalliat commented 3 years ago

Released with 3.5.0