Interested in sponsoring this lovely little spot?

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 →