#RTE syntax highlight

5 messages · Page 1 of 1 (latest)

near ibex
#

I need help with this error that I am getting when trying to add syntax highlight to matine/rte component.
Syntax module requires highlight.js. Please include the library on the page before Quill.

unborn stirrup
#

@near ibex, have you found a solution to this?

near ibex
#

Ah yes, I imported highlight.js in the _app.tsx file.

unborn stirrup
#

Do you have an example that you can share with me as to how you got it working? I am in the process of trying to do the same but feel like I'm going in circles

near ibex
#

I don't have example coz I dumped it for @tiptap.
There is a lot of trouble using react-quill with next.js