ShyykoSerhiy / gfm-plugin

Github flavored markdown plugin for intellij idea.
https://plugins.jetbrains.com/plugin/7701
MIT License
88 stars 16 forks source link

Auto-detection in fenced code-blocks #99

Open mindplay-dk opened 8 years ago

mindplay-dk commented 8 years ago

It looks like there's some aggressive syntax auto-detection for fenced code-blocks?

Or possibly missing support for explicit language specification in fenced code-blocks?

Here's an example

I know that Github does language auto-detection, but they're likely using a different library to do it?

I'm not sure what this gets highlighted as, and, I could actually live with this, as I rarely use code-blocks without specifying the language after the triple-backticks, except, as in this case, for plain text - but even with text specified after the triple-backticks, auto-detection seems to override my language setting, so that probably should be fixed?

ShyykoSerhiy commented 8 years ago

Yeah, it probably should be fixed. Thx for the issue.