Feat: allow new pragmas to be indented (#7624)

This commit is contained in:
Saq Imtiaz
2023-07-21 14:40:42 +02:00
committed by GitHub
parent 0fd6b986a0
commit 61a08cbd7b
8 changed files with 125 additions and 4 deletions

View File

@@ -0,0 +1,20 @@
title: Transclude/Parameterised/Shortcut/ParametersIndented
description: Simple parameterised transclusion using the parameters pragma (indented)
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
<$transclude $tiddler='TiddlerOne' one='Ferret'/>
<$transclude $tiddler='TiddlerOne'/>
+
title: TiddlerOne
\whitespace trim
\parameters(one:'Jaguar')
<$text text=<<one>>/>
+
title: ExpectedResult
<p>FerretJaguar</p>