Turn an array into an HTML ordered list element.
food: - sushi - broccoli - kale
{{ food | ol }}
{!! Statamic::modify($food)->ol() !!}
<ol> <li>sushi</li> <li>broccoli</li> <li>kale</li></ol>
ol
ModifierTurn an array into an HTML ordered list element.
food: - sushi - broccoli - kale
{{ food | ol }}
{!! Statamic::modify($food)->ol() !!}
<ol> <li>sushi</li> <li>broccoli</li> <li>kale</li></ol>
Submit improvements, related content, or suggestions through Github.
Betterify this page →