Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific kotlin codeblock breaks markdown document #48

Open
nomurashunta opened this issue Aug 18, 2020 · 1 comment
Open

Specific kotlin codeblock breaks markdown document #48

nomurashunta opened this issue Aug 18, 2020 · 1 comment

Comments

@nomurashunta
Copy link

First, look at the following.

スクリーンショット 2020-08-18 19 24 41

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.

スクリーンショット 2020-08-18 19 34 06

I thought it was a bug, so I reported it. thanks.

@Antimonit
Copy link

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.

image
image
image

It can also easily leak outside of the codeblock.

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants