Open nomurashunta opened 4 years ago
It seems like when there is a word kotlin
inserted in a codeblock, it will aggressively start kotlin syntax highlighting, no matter where the word is located within the codeblock and no matter whether another language is already being highlighted.
It can also easily leak outside of the codeblock.
First, look at the following.
You can see that the text after the code block is affected by syntax highlighting. I found that the same thing happens when we write certain code within a code block. The easiest way to reproduce this is to write only one "{" character.
I thought it was a bug, so I reported it. thanks.