Escaping & Embedding

Urtext allows embedded syntaxes and “pass markers”, to escape sections of text from both Urtext parsing and Sublime Text syntax highlighting. Note that no text content wrapped between pass markers will appear in Urtext dynamic output, since characters in other syntaxes would have unpredictable interactions.

Python

%%Python

# Example
def times_ten(i):
return i*10

%%

HTML

%%HTML
<div class=”example”>
Example HTML
</div>
%%

JSON

%%JSON

{ title : example JSON ,
example : [],
}

%%

Plaintext

%%PLAINTEXT

This text will get no syntax highlighting and will not be parsed. Urtext characters have no effect: { ` :: #

%%

Other

The backtick (`) opens and closes code, plaintext, or pre-formatted text that should be escaped/ignored.

`
this text will not be parsed
`