mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-27 02:20:28 +00:00
20 lines
1.3 KiB
Plaintext
20 lines
1.3 KiB
Plaintext
created: 20230627093650105
|
|
modified: 20230627094356394
|
|
tags: Features
|
|
title: Deserializers
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Deserializer [[modules|Modules]] parse text in various formats into their JSON representation as tiddlers. The deserializer modules available in a wiki can be seen using the [[deserializers operator|deserializers Operator]] and can be used with the [[deserialize Operator]].
|
|
|
|
The TiddlyWiki core provides the following deserializers:
|
|
|
|
|!Deserializer |!Description |
|
|
|(DOM)|Extracts tiddlers from a DOM node, should not be used with the <<.op deserialize[]>> operator |
|
|
|application/javascript|Parses a JavaScript module as a tiddler extracting fields from the header comment|
|
|
|application/json|Parses [[JSON|JSON in TiddlyWiki]] into tiddlers|
|
|
|application/x-tiddler|Parses the [[.tid file format|TiddlerFiles]] as a tiddler|
|
|
|application/x-tiddler-html-div|Parses the [[<DIV>.tiddler file format|TiddlerFiles]] as a tiddler|
|
|
|application/x-tiddlers|Parses the [[MultiTiddlerFile format|MultiTiddlerFiles]] as tiddlers|
|
|
|text/css|Parses CSS as a tiddler extracting fields from the header comment|
|
|
|text/html|Parses an HTML file into tiddlers. Supports ~TiddlyWiki Classic HTML files, ~TiddlyWiki5 HTML files and ordinary HTML files|
|
|
|text/plain|Parses plain text as a tiddler| |