Anyway to bold something in KDoc comments?
# dokka
s
Anyway to bold something in KDoc comments?
c
Kdoc uses normal Markdown syntax for inline formatting https://kotlinlang.org/docs/reference/kotlin-doc.html#inline-markup
s
Strange, cause I tried something like this:
Copy code
/**
 * <b>Bold words</b>: some normal text
 */
Doesn't work on my side.
d
HTML tags work on javadoc, you got to use Markdown on KDoc -> https://www.markdownguide.org/cheat-sheet/
💡 1
👍 1
s
Got it, thank you!
132 Views