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:

貢獻者指南