cloose / CuteMarkEd

Qt Markdown Editor
http://cloose.github.io/CuteMarkEd
Other
1.48k stars 317 forks source link

Wrong Markdown highlight with Fenced code blocks #173

Open NoAnyLove opened 10 years ago

NoAnyLove commented 10 years ago

I found the CuteMarkEd editor recognize the # comment in fenced code blocks as headings. The preview works fine, just the problem about editor.

qq 20140914003930

cloose commented 10 years ago

Yes I agree that is not looking good but it's unfortunately a limitation of the 3rd party library peg-markdown-highlight I use. That library has no support for fenced code blocks yet and it's not really actively maintained anymore.

I see if I can work around the problem.