mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 09:50:27 +00:00
Added dump of the compile tree to info macro
This commit is contained in:
parent
5030d46e2f
commit
a96df59172
@ -24,6 +24,11 @@ exports.macro = {
|
||||
case "parsetree":
|
||||
return "Parse tree: " + parseTree.toString(type);
|
||||
//break;
|
||||
case "compiled":
|
||||
return "Compiled as: " + utils.stitchElement("pre",null,{
|
||||
content: encoder(parseTree.compile(type))
|
||||
});
|
||||
//break;
|
||||
case "dependencies":
|
||||
if(parseTree.dependencies === null) {
|
||||
return encoder("Dependencies: *");
|
||||
|
Loading…
Reference in New Issue
Block a user