/*\ title: $:/core/modules/macros/include.js type: application/javascript module-type: macro \*/ (function(){ /*jslint node: true, browser: true */ /*global $tw: false */ "use strict"; exports.info = { name: "^", params: { filter: {byPos: 0, type: "filter"}, as: {byPos: 1, as: "text"} } }; exports.executeMacro = function() { var as = this.params.as || "text/plain"; if(this.hasParameter("filter")) { var titles = this.wiki.filterTiddlers(this.params.filter), result = []; for(var t=0; t