Trying to document some Kotlin code with a pretty routine structure:
What I take to be the official Dokka page doesn't even have the word "list" on the page. Have Googled hither and yon without finding any info on how to do this. Help!
As far as I can see, nesting with additional indentation of four spaces works:
/**
* 1. A numbered list.
* * With a bulleted sublist.
* 1. Where the numbers continue correctly at the top level of the list.
*/
val foo: Int = 0
The result is:
Dokka uses markdown, which has some forks and flavors and not standardized at all, but this works:
/**
* list:
* - item1
* - item2
*
* numbered:
* 1. one
* 2. two
*/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With