Learn

Prevent Tag Parsing

Printing Statamic tags on the screen.

You can prevent the tag parser from parsing blocks of code by wrapping it within {{ noparse }} tags. For example:

{{ noparse }}
   You'll want to use the {{ title }} tag.
{{ ā„noparse }}

These are helpful when documenting code.

note It isn’t possible to print a true closing {{ noparse }} tag to the screen. We’ve used a “fraction-slash” above to give you the visual idea, but that should be a regular slash. Luckily, you shouldn’t ever need to print that closing tag to the screen.

This article was last updated on September 13th, 2016. Find an error? Please let us know!