hackmdio/codimd

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

开放

#733 创建于 2018年2月19日

 (4 条评论) (0 个反应) (0 位负责人)JavaScript (1,038 个派生)batch import
enhancementhelp wanted

仓库指标

星标
 (8,949 个星标)
PR 合并指标
 (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:

贡献者指南