travs / markdown-pdf

Convert markdown to pdf, png or jpeg on the fly in Atom
MIT License
263 stars 44 forks source link

Can't disable syntax highlighting in code blocks #236

Open babolivier opened 3 years ago

babolivier commented 3 years ago

Prerequisites

image

Issue description

Code blocks with no syntax highlighting language are automatically highlighted with no possibility to turn it off for this specific block.

Steps to reproduce

Consider the following code block:

this is an example text

Expected behavior: [What you expect to happen]

No formatting is applied to the text in the block as long as I don't specify a language shortcode (just like in this github issue)

Actual behavior: [What actually happens]

Some language is automatically detected and used to apply formatting to the text (in this example I can see "this is" being bolded)

Input

See above.

Versions

$ atom --version
Atom    : 1.54.0
Electron: 6.1.12
Chrome  : 76.0.3809.146
Node    : 12.4.0
apm  2.6.1
npm  6.14.11
node 15.7.0 x64
atom 1.54.0
python 3.9.1
git 2.30.0