mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
Added comment macro
Being <<!blah blah>> means that it is easy to comment out a macro call
This commit is contained in:
parent
847108de37
commit
2e01add7f3
25
rabbithole/core/modules/macros/comment.js
Normal file
25
rabbithole/core/modules/macros/comment.js
Normal file
@ -0,0 +1,25 @@
|
||||
/*\
|
||||
title: $:/core/modules/macros/comment.js
|
||||
type: application/javascript
|
||||
module-type: macro
|
||||
|
||||
Comment macro, a no-op.
|
||||
|
||||
\*/
|
||||
(function(){
|
||||
|
||||
/*jslint node: true, browser: true */
|
||||
/*global $tw: false */
|
||||
"use strict";
|
||||
|
||||
exports.info = {
|
||||
name: "!",
|
||||
params: {}
|
||||
};
|
||||
|
||||
exports.executeMacro = function() {
|
||||
return [];
|
||||
};
|
||||
|
||||
|
||||
})();
|
Loading…
Reference in New Issue
Block a user