orderedList

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

Emit an <ol> with one <li> per string in items.


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

Emit an <ol> where each item is an LI-builder lambda.

Parameters

block

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