简体   繁体   中英

Syntax highlighting for Markdown?

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM