Preview environment

function orderedList

export declare function orderedList(list: RecursiveArray<string>, startNumber?: number): string;

Formats the elements in the array to an ordered list.

Parameters

list: RecursiveArray<string>
The array of elements to list
optional
startNumber?: number
The starting number for the list