mathiasfrohlich / vscode-kotlin

Kotlin language support for VS Code
Apache License 2.0
203 stars 21 forks source link

Markdown Syntax Highlighting #33

Closed IvanAtanasov89 closed 5 years ago

IvanAtanasov89 commented 5 years ago

Hi,

Syntax highlighting in markdown is code blocks is still not working for me. It was supposed to be fixed in #11

In a markdown document if I place something like this it will not be highlighted:

val len = text?.run {
    println("get length of $this")
    length //`this` can be omitted
} ?: 0

Thanks, Ivan

nishtahir commented 5 years ago

Looks like this was a regression after some changes to the grammar. It should be fixed in the next release.