dokka icon indicating copy to clipboard operation
dokka copied to clipboard

Kotlin keywords in inline-monospace text are highlighted in orange

Open adam-enko opened this issue 3 weeks ago • 1 comments

Describe the bug

Kotlin keywords in inline-monospace text are highlighted in orange.

Expected behaviour

Inline code should not be highlighted with Kotlin syntax.

Screenshots

Image

https://www.apollographql.com/docs/kotlin/kdoc/index.html

To Reproduce

https://github.com/apollographql/apollo-kotlin

Installation

adam-enko avatar Dec 01 '25 15:12 adam-enko

Note: this is how prism.js works by default: https://prismjs.com/test#language=kotlin&text=apollo-gradle-plugin-external

cc @berezinant, one more issue related to code highlighting caused by prism.js :)

whyoleg avatar Dec 02 '25 10:12 whyoleg