Parses the Wikidot raw (verbatim) text syntaxes: @@...@@ and @<...>@.
Raw text bypasses all inline formatting -- the content between the
delimiters is emitted as-is without interpretation of any Wikidot
markup characters.
Two syntax variants are supported:
Double-at syntax (@@...@@): The more common form. Content between
the markers is treated as raw text. Several Wikidot quirks apply:
Empty raw (@@@@ = two consecutive RAW_OPEN tokens) produces
no output
@@\n@@ (raw spanning a newline with no content) also produces
no output
Content containing both @< and >@ is discarded entirely
>@ followed immediately by @@ is split: > becomes raw
content, @@ acts as the closer, and the leftover @ becomes text
Angle-bracket syntax (@<...>@): A less common form that also
treats content as raw text. If the closing >@ is not found on the
same line, @< is treated as literal text. The @<\n>@ spanning
pattern outputs only @< as text.
Produces a "raw" AST element whose data field contains the
verbatim text string, or empty elements when the raw content is discarded.
Parses the Wikidot raw (verbatim) text syntaxes:
@@...@@and@<...>@.Raw text bypasses all inline formatting -- the content between the delimiters is emitted as-is without interpretation of any Wikidot markup characters.
Two syntax variants are supported:
Double-at syntax (
@@...@@): The more common form. Content between the markers is treated as raw text. Several Wikidot quirks apply:@@@@= two consecutiveRAW_OPENtokens) produces no output@@\n@@(raw spanning a newline with no content) also produces no output@<and>@is discarded entirely>@followed immediately by@@is split:>becomes raw content,@@acts as the closer, and the leftover@becomes textAngle-bracket syntax (
@<...>@): A less common form that also treats content as raw text. If the closing>@is not found on the same line,@<is treated as literal text. The@<\n>@spanning pattern outputs only@<as text.Produces a
"raw"AST element whosedatafield contains the verbatim text string, or empty elements when the raw content is discarded.