Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

to_tabs Modifier

Converts all instances of a specified number of spaces in a string to tabs. 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_tabs }}
{{ string | to_tabs(4) }}
{{ Statamic::modify($string)->toTabs() }}
{{ Statamic::modify($string)->toTabs(4) }}
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →