Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Taking your approach on designing things actually makes it fun, more natural, and overall easier.

— Dominik, Developer

to_spaces Modifier

Converts all tabs in a string to a given number of spaces, 4 by default. This is a boring modifier to output examples of. Here's just a few examples on how the syntax looks.

{{ string | to_spaces }}
{{ string | to_spaces(2) }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →
Hello there! Are you looking for the Statamic v2 documentation?