.tid does exist since the very beginning. It’s a simpel plain text format, that can easily be edited with a simple text editor by humans. eg:
title: my tiddler
tags: test [[tag with spaces]]
test-field: test
text line 1
text line 3
That’s basically it.
Multi-line fields and unrestricted field names have been introduced with v5.2.0. It gave users more freedom inside TW. But it has a consequence for the .tid file format.
The same tiddler as JSON looks like as follows. It’s still editable, but as you can see the text field which has several lines use \n
to represent line-breaks. This makes editing for humans much more challenging.
Fields with multi-line content will also use “\n” for line-breaks.
[
{
"created": "20230710194940971",
"text": "\ntags: test [[tag with spaces]]\ntest-field: test\n\ntext line 1\n\ntext line 3\n",
"tags": "test [[tag with spaces]]",
"title": "my tiddler",
"modified": "20230710195327262",
"test-field": "test"
}
]
hope that makes sense
-m