hackmdio/codimd

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

Open

#733 opened on Feb 19, 2018

View on GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (8,949 stars) (1,038 forks)batch import
enhancementhelp wanted

Description

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:

Contributor guide