mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-29 10:16:49 +00:00
Added template support to list macro
This commit is contained in:
@@ -3,23 +3,6 @@ title: js/WikiTextParser.js
|
||||
|
||||
Parses a block of tiddlywiki-format wiki text into a parse tree object.
|
||||
|
||||
HTML elements are stored in the tree like this:
|
||||
|
||||
{type: "div", attributes: {
|
||||
attr1: value,
|
||||
style: {
|
||||
name: value,
|
||||
name2: value2
|
||||
}
|
||||
}, children: [
|
||||
{child},
|
||||
{child},
|
||||
]}
|
||||
|
||||
Text nodes are:
|
||||
|
||||
{type: "text", value: "string of text node"}
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user