mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 03:49:56 +00:00
683ec33004
And add some tests for the data widget
25 lines
692 B
Plaintext
25 lines
692 B
Plaintext
title: Data/ImportCompound
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
description: Importing a compound payload tiddler and adding custom fields
|
|
|
|
title: Description
|
|
text: Importing a compound payload tiddler and adding custom fields
|
|
+
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
<$data $compound-tiddler="Compound" custom="Alpha"/>
|
|
+
|
|
title: Compound
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Payload Tiddler
|
|
tags: Alpha Beta Gamma
|
|
|
|
This is a payload tiddler from a compound tiddler
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>[{"title":"Payload Tiddler","tags":"Alpha Beta Gamma","text":"This is a payload tiddler from a compound tiddler","custom":"Alpha"}]</p> |