Markdown syntax highlighting in IDE doesn't work for languages that don't have a parser, should fallback to TextMate grammars #741
Labels
markdown
This issue impacts the Markdown rendering subsystem
When you have a markdown fenced code block, with say Python code, and you try to render this inside IntelliJ IDEA, it won't show any syntax highlighting. This is because the
LexerBasedCodeHighlighter
has:Here, language is null if there's no plugin providing a valid
Language
.IntelliJ packages TextMate grammars which are used by the editor in such a case. This code should probably look something like:
The text was updated successfully, but these errors were encountered: