mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-31 07:06:19 +00:00
23 lines
609 B
Plaintext
23 lines
609 B
Plaintext
|
title: Data/ImportCustomTitle
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
description: Importing a payload tiddler and overwriting the title
|
||
|
|
||
|
title: Description
|
||
|
text: Importing a payload tiddler and overwriting the title
|
||
|
+
|
||
|
title: Output
|
||
|
|
||
|
\whitespace trim
|
||
|
<$testcase template="$:/core/ui/testcases/RawJSONTemplate">
|
||
|
<$data $tiddler="HelloThere" title="RealTitle"/>
|
||
|
</$testcase>
|
||
|
+
|
||
|
title: HelloThere
|
||
|
tags: Definitions
|
||
|
|
||
|
This is the tiddler HelloThere
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p><div><div>[{"title":"RealTitle","tags":"Definitions","text":"This is the tiddler HelloThere"}]</div></div></p>
|