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

Markdown:Indent Tag

This tag is used for transforming Markdown while ignoring whitespace in your view files.

Example

<article class="mx-auto max-w-lg">
{{ markdown:indent }}
# My Favorite Nickelodeon Shows
 
- Kenan & Kel
- All That
- Double Dare
- Wild & Crazy Kids
- Legends of the Hidden Temple
{{ /markdown:indent }}
</article>
<article class="mx-auto max-w-lg">
<s:markdown:indent>
# My Favorite Nickelodeon Shows
 
- Kenan & Kel
- All That
- Double Dare
- Wild & Crazy Kids
- Legends of the Hidden Temple
</s:markdown:indent>
</article>
<article class="mx-auto max-w-lg">
<h1>My Favorite Nickelodeon Shows</h1>
<ul>
<li>Kenan & Kel</li>
<li>All That</li>
<li>Double Dare</li>
<li>Wild & Crazy Kids</li>
<li>Legends of the Hidden Temple</li>
</ul>
</article>
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →