1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-31 15:16:18 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/reserved-wikitext/ReservedWikiText.tid

54 lines
893 B
Plaintext
Raw Normal View History

title: ReservedWikiText
description: Verify that reserved wikitext constructions are not parsed
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Narrative
Verifies that certain wikitext constructions that are reserved for use by other tools are not parsed by TiddlyWiki.
+
title: TestTiddler
{%%}
(==)
{% %}
(= =)
{% something %}
(= something =)
Inline {% something %} substitution
Inline (= something =) substitution
Prefix-{%
Prefix-(=
%}-Postfix
=)-Postfix
{%
(=
%}
=)
+
title: Output
<$wikify name="parsetree" text={{TestTiddler}} output="parsetree">
<$text text={{{ [<parsetree>jsonget[0],[children],[0],[text]] }}}/>
</$wikify>
+
title: ExpectedResult
<p>
{%%}
(==)
{% %}
(= =)
{% something %}
(= something =)
Inline {% something %} substitution
Inline (= something =) substitution
Prefix-{%
Prefix-(=
%}-Postfix
=)-Postfix
{%
(=
%}
=)
</p>