0
votes

The only highlighter that seems to do it is the famous Highlight.JS one. But is that really true?

I want to build a minimalistic editor that has syntax highlighting for markdown. However, I can not seem to find a good highlighter for Markdown, not to mention GFM...

So my simple question: Does syntax highlighting for markdown even exist? Because the one from Highlight.JS is extremely basic - I have seen it only highlighting headers, at all.

1
You will probably find better results looking at text editors and/or IDEs. Of course, their highlighting engines won't be of much help as a JS lib, but you can see more options for how Markdown text can be highlighted.Waylan

1 Answers

2
votes

To answer your question: Yes, it exists. There are a few options, actually.

To solve your problem: There's a CodeMirror option for you. Actually this option is probably your best bet.