mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-16 21:20:28 +00:00
26 lines
395 B
Plaintext
26 lines
395 B
Plaintext
|
title: Conditionals/MissingEndif
|
||
|
description: Conditional shortcut syntax with missing endif
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
|
||
|
title: Text
|
||
|
|
||
|
This is a <% if [<something>match[one]] %>Elephant
|
||
|
+
|
||
|
title: Output
|
||
|
|
||
|
<$let something="one">
|
||
|
{{Text}}
|
||
|
</$let>
|
||
|
|
||
|
<$let something="two">
|
||
|
{{Text}}
|
||
|
</$let>
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>
|
||
|
This is a Elephant
|
||
|
</p><p>
|
||
|
This is a
|
||
|
</p>
|