hackmdio/codimd

Shell syntax highlighting looks good in editor but odd in published view

Open

#733 opened on 2018年2月19日

GitHub で見る
 (4 comments) (0 reactions) (0 assignees)JavaScript (1,038 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (8,949 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

It looks like the syntax highlighting, at least for shell commands and scripts, is handled differently in the editor and the published view. The published view does odd things.

My example document is this one and here is a screenshot of how inconsistent the right panel makes it look:

コントリビューターガイド