Closed kazzkiq closed 6 years ago
Can you clarify, do you mean the left-pane editor highlighting, or the right-pane resulting html styling?
The left-pane uses Codemirror as syntax highlighter. I mean the right one, which technically uses Highlight.js, but for some reason it don't put the same class names into the spans
of generated highlighted code.
If you inspect the example code of Highlight.js here and then compare to the code generated into markdown-editor example you will see that the class names differs from each other. How can this be? Isn't this plugin using Highlight.js on the output code?
First of all, thanks for the awesome plug-in.
I've been trying to change the output code syntax highlight (which you said is styled by highlight.js) but for some reason the CSS from highlight.js themes don't works on markdown-editor. It seems that your plug-in use another classes for output code snippets and the styles don't apply.
Is there a way to use highlight.js themes on your plug-in? You you need to port each of them manually?