mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-04-19 05:11:29 +00:00
added block parsing for macros of tw2 parser to allow typed block (superblock is tw5 text)
This commit is contained in:
@@ -60,7 +60,7 @@ var WikiTextParser = function(type,text,options) {
|
||||
this.tree =[];
|
||||
this.output = null;
|
||||
this.subWikify(this.children);
|
||||
var parser = $tw.wiki.old_parseTiddler("$:/plugins/tiddlywiki/tw2parser/macrodefs",{parseAsInline:true});
|
||||
var parser = $tw.wiki.old_parseTiddler("$:/plugins/tiddlywiki/tw2parser/macrodefs",{parseAsInline:false});
|
||||
this.tree = [{
|
||||
type: "element",
|
||||
tag: "div",
|
||||
|
||||
@@ -120,7 +120,8 @@ var insertMacroCall = function(w,output,macroName,paramString) {
|
||||
output.push({
|
||||
type: "macrocall",
|
||||
name: macroName,
|
||||
params: params
|
||||
params: params,
|
||||
isBlock: true
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user