mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-03 17:13:05 +00:00
Extend jsontiddlers macro to generate unformatted output
This commit is contained in:
@@ -19,14 +19,15 @@ Information about this macro
|
||||
exports.name = "jsontiddlers";
|
||||
|
||||
exports.params = [
|
||||
{name: "filter"}
|
||||
{name: "filter"},
|
||||
{name: "spaces"}
|
||||
];
|
||||
|
||||
/*
|
||||
Run the macro
|
||||
*/
|
||||
exports.run = function(filter) {
|
||||
return this.wiki.getTiddlersAsJson(filter);
|
||||
exports.run = function(filter,spaces) {
|
||||
return this.wiki.getTiddlersAsJson(filter,spaces);
|
||||
};
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user