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