We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Show unparsed Statamic code through a variable/fieldtype/entry?

Nick Snyder October 9, 2014 by Nick Snyder

I'm trying to show documentation for a Statamic plugin through a MarkItUp fieldtype on an entry.

{{ documentation|markdown }}

It looks like the Statamic code is rendering and therefore making "Code Example" blank. I've tried adding {{ noparse }}, but that (as expected) doesn't parse the {{ documentation|markdown }} code.

What's your best practice when dealing with a situation like this?

Answered by Fred LeBlanc!
>>>>>>> Answered <<<<<<<
3 Replies