mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 11:59:58 +00:00
32 lines
1023 B
Plaintext
32 lines
1023 B
Plaintext
|
title: CompoundTiddlers
|
||
|
modified: 20240507221902644
|
||
|
created: 20240507221902644
|
||
|
tags: Concepts
|
||
|
|
||
|
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
|
||
|
```
|