svivian / q2a-markdown-editor

Markdown editor plugin for Question2Answer
55 stars 24 forks source link

How to enhance syntax highlighting ? #25

Open Coderx7 opened 7 years ago

Coderx7 commented 7 years ago

the current syntax highlighter doesn't seem to do much of a work. below is a Matlab snippet image As you can see, syntax highlighting is almost non-existent! is this normal? Is there a way to remedy this? I tried using the common pack from here , downloaded the highlight.js file, uploaded it to the pagedowndirectory, replaced it with the existing one, also uploaded the styles folder which was downloaded alongside the js file. yet nothing changed! I would be grateful if you could shed some light on this and how should someone go about it in order to have a working/decent synatx highlighting capability.