unorderedList

inline fun FlowContent.unorderedList(items: List<String>, crossinline block: UL.() -> Unit = {})
inline fun FlowContent.unorderedList(vararg items: String, crossinline block: UL.() -> Unit = {})

Emit a <ul> with one <li> per string in items.


inline fun FlowContent.unorderedList(vararg items: LI.() -> Unit, crossinline block: UL.() -> Unit = {})

Emit a <ul> where each item is an LI-builder lambda. Use this form when the list items need nested markup (e.g. links, inline code).

Parameters

block

applied to the enclosing <ul> before items are appended.