Skip to content

Commit

Permalink
Improve docs on TW file format
Browse files Browse the repository at this point in the history
  • Loading branch information
Jermolene committed Oct 18, 2014
1 parent da9f634 commit 9a36dc6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions editions/tw5.com/tiddlers/fileformats/TiddlerFiles.tid
Expand Up @@ -63,3 +63,17 @@ These files are a straightforward array of hashmaps of name:value fields. Curren
!! TiddlyWiki HTML files

TiddlyWiki HTML files contain a collection of tiddlers encoded in `<DIV>` format.

The minimal requirement for an HTML file to be recognised as an unencrypted TW file is that it has a <div id="storeArea"> immediately preceding the tiddler DIVs, which must be followed by a </div>. For example:

```
<div id="storeArea">
<div created="20130302085406905" modified="20130302084548184" tags="Examples" title="A tiddler title">
<pre>HTML encoded text of tiddler
</pre>
</div>
<div created="20140315085406905" modified="20140321084548184" tags="One Two [[Three with Space]]" title="Another title" customfield="field value">
<pre>Text of this tiddler
</pre>
</div>
```

0 comments on commit 9a36dc6

Please sign in to comment.