Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

Just exceptional. Thank you so much, Jack, you smashed it.

— Hugo, Developer

raw Modifier

Overview

Returns the unaugmented version of the variable.

Example

If you had a Markdown field and wanted to render the actual Markdown-formatted text instead of rendered HTML, you can do this:

The YAML

markdown_field: >
# How to Breakdance
 
First you do the fancy kicky thing with your feets, and then
you flail your legs around like a battery operated fan at a hot
summer ballgame.

The Template

{{ markdown_field | raw }}

The Output

# How to Breakdance
 
First you do the fancy kicky thing with your feets,
and then you flail your legs around like a battery
operated fan at a hot summer ballgame.
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →