Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尝试用非常常规的结构记录一些 Kotlin 代码:
我认为是Dokka 官方页面的页面上甚至没有“列表”一词。谷歌四处搜索,但没有找到任何有关如何执行此操作的信息。帮助!
据我所见,嵌套四个空格的额外缩进有效:
/** * 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
结果是:
Dokka 使用降价,它有一些分叉和风格,根本没有标准化,但这很有效:
/** * list: * - item1 * - item2 * * numbered: * 1. one * 2. two */