1
0
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:
Jeremy Ruston
2020-02-04 13:57:24 +00:00
parent a4593b8e3d
commit 3df1f9c9d0
3 changed files with 10 additions and 6 deletions

View File

@@ -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);
};
})();