Skip to content
Marcus edited this page Oct 14, 2015 · 2 revisions

The #literal directive can be used to output any containing source as-is. It's similar to xml CDATA. This directive cannot be nested, i.e. the body of the literal directive must not contain $$/literal$$. Note that if this is used with the ReplaceDeep method, the body of the directive will be evaluated in a subsequent pass.


Syntax

$$#literal$$
   Many $$!
$$/literal$$
  • May be empty: no
  • May be nested: no

The body of the literal directive can contain $ characters which are literally output (verbatim).

Notes

  • The literal body cannot contain nested #literal statements.
  • If using deep replacing this won't work because the result of the statement will be processed in a subsequent run.
Clone this wiki locally