` has an attribute corresponding to each of the tiddler's fields, except the text field which is saved within a `pre` tag within the `
`. Note that all attributes and therefore field names must be lowercase letters, digits or the characters `-` (dash), `_` (underscore) and `.` (period). The only attribute that is required is `title`, all other attributes are optional. All attribute values and the text field within the `pre` tag are HTML encoded.
Example:
```html
```
!!! With encryption
If the ~TiddlyWiki is configured to encrypt its content, the tiddlers are stored as as an encrypted JSON string in a `
` tag with the `id` attribute "encryptedStoreArea".
```html
```
~TiddlyWiki uses the [[Stanford JavaScript Crypto Library|http://bitwiseshiftleft.github.io/sjcl/]].
---
!! From ~TiddlyWiki v5.2.0
From v5.2.0 onwards, ~TiddlyWiki introduces a new JSON based format for the tiddler store area for unencrypted content, while retaining support for the older store area formats described above for backwards compatibility. The store area format remains unchanged for encrypted content.
!!! Without encryption
By default, all tiddlers are now stored as an array of JSON objects inside a `
```
To retain compatibility with external tools that might insert tiddlers by directly manipulating the ~TiddlyWiki HTML file, the older format `` store area is still present in the HTML file immediately after the new `
```
Any tiddlers in the older format `
` store area are also loaded before tiddlers from the new `
...
```
Although invalid HTML, all known browsers will silently move the script tag to a valid position within the
Additional topics:
* [[Extracting tiddlers from a single file TiddlyWiki]]