atom / language-gfm

GitHub Flavored Markdown in Atom
MIT License
101 stars 107 forks source link

Color issue when writing code snippets in Atom #133

Open LiorBu1 opened 8 years ago

LiorBu1 commented 8 years ago

I'm writing my code in Atom and using 3 backticks to create code snippets. I tried to write the following: [request setQueryParameterValue:@"['MobileFirst_Platform']" forName:@"params"]; It looks fine in the browser but in Atom it look like this: image

It colors the rest of the code in green.

kaoet commented 8 years ago

+1 for the same issue when highlighting C code: c

summerblue commented 8 years ago

Same issue here.

image

But when I remove the code block hint, in my case - json, it works fine.

image

leesei commented 8 years ago

Well, here's mine:

screenshot-2016-04-19-120740

```js
console.log.bind(console)
```
This should not be quoted template
winstliu commented 8 years ago

@leesei That is a different issue that we are in the process of fixing - see atom/language-javascript#354 and atom/language-javascript#358.

leesei commented 8 years ago

@50Wliu thanks for the redirect