hackmdio/codimd

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

Open

#733 创建于 2018年2月19日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)JavaScript (1,038 fork)batch import
enhancementhelp wanted

仓库指标

Star
 (8,949 star)
PR 合并指标
 (30 天内没有已合并 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:

贡献者指南