hackmdio/codimd

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

Open

#733 ouverte le 19 févr. 2018

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)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:

Guide contributeur