Syntax highlight: Language guessing
I refer to a former discussion (which was already closed). Brett stated:
If no language is specified, Marked (using highlight.js) attempts to guess the language. You can use "nohighlight" as a language to not highlight specific blocks.
I'm using MultiMarkdown. In my opinion a code block without any language definition should not be syntax highlighted. The "nohighlight" certainly works, but clutters up the markdown source.
Brett, please consider an option in the preferences to stop the guessing if no language is defined.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Brett on 15 Jul, 2015 12:06 PM
Sorry, this is not an option using highlight.js at this point. You
either syntax highlight everything, or disable it and highlight nothing.
Thanks,
Brett
madnil closed this discussion on 28 Jul, 2015 06:27 PM.