hackmdio/codimd

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

Open

#733 aperta il 19 feb 2018

Vedi su GitHub
 (4 commenti) (0 reazioni) (0 assegnatari)JavaScript (1038 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (8949 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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:

Guida contributor