mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-08 02:49:56 +00:00
d93bbbbe7b
See the readme for details
25 lines
312 B
JavaScript
25 lines
312 B
JavaScript
/*\
|
|
title: $:/core/macros/echo.js
|
|
type: application/javascript
|
|
module-type: macro
|
|
|
|
\*/
|
|
(function(){
|
|
|
|
/*jslint node: true */
|
|
"use strict";
|
|
|
|
exports.info = {
|
|
name: "echo",
|
|
params: {
|
|
text: {byPos: 0, type: "text"}
|
|
}
|
|
};
|
|
|
|
exports.executeMacro = function() {
|
|
return [$tw.Tree.Text(this.params.text)];
|
|
};
|
|
|
|
|
|
})();
|