1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-07 04:24:22 +00:00
TiddlyWiki5/rabbithole/core/modules/macros/echo.js
2012-05-04 18:49:04 +01:00

26 lines
358 B
JavaScript

/*\
title: $:/core/modules/macros/echo.js
type: application/javascript
module-type: macro
\*/
(function(){
/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";
exports.info = {
name: "echo",
params: {
text: {byPos: 0, type: "text"}
}
};
exports.executeMacro = function() {
return [$tw.Tree.Text(this.params.text)];
};
})();