https://kotlinlang.org logo
#dokka
Title
# dokka
s

Sylvain Patenaude

02/07/2020, 7:33 PM
Anyway to bold something in KDoc comments?
c

Casey Brooks

02/07/2020, 7:36 PM
Kdoc uses normal Markdown syntax for inline formatting https://kotlinlang.org/docs/reference/kotlin-doc.html#inline-markup
s

Sylvain Patenaude

02/07/2020, 7:39 PM
Strange, cause I tried something like this:
Copy code
/**
 * <b>Bold words</b>: some normal text
 */
Doesn't work on my side.
d

Dariusz Kuc

02/07/2020, 7:41 PM
HTML tags work on javadoc, you got to use Markdown on KDoc -> https://www.markdownguide.org/cheat-sheet/
💡 1
👍 1
s

Sylvain Patenaude

02/07/2020, 7:43 PM
Got it, thank you!
111 Views