mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-13 05:19:58 +00:00
165c7e9825
* add $compound-filter parameter to data-widget * update TestCaseTemplate to use $compound-filter parameter * update data-widget, TestCaseTiddlers and CompoundTiddlers docs
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
created: 20240507221902644
|
|
modified: 20240729082610287
|
|
tags: Concepts
|
|
title: CompoundTiddlers
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Compound tiddlers are a special type of tiddler that can store one or more payload tiddlers. The tiddlers within a compound tiddler are only accessible via special operations, typically with the TestCaseWidget.
|
|
|
|
The compound tiddler format is extremely simple, and includes the notable flaw that it does not permit tiddlers that contain a plus sign (`+`) on a line by itself. It is not intended as a general purpose way of storing tiddler data.
|
|
|
|
Compound tiddlers are identified by having their type field set to `text/vnd.tiddlywiki-multiple`.
|
|
|
|
The content of a compound tiddler consists of a sequence of tiddlers separated by a plus sign (`+`) on a line by itself. Each tiddler uses the same format as [[.tid files|TiddlerFiles]].
|
|
|
|
For example:
|
|
|
|
```
|
|
title: First
|
|
tags: one two
|
|
|
|
This is the first tiddler
|
|
+
|
|
title: Second
|
|
tags: three four
|
|
|
|
This is the second tiddler
|
|
+
|
|
title: third
|
|
tags: five six
|
|
|
|
This is the third tiddler
|
|
```
|
|
|
|
Also see: [[TestCaseTiddlers]] |