/*\
title: $:/plugins/MichaelHerrmann/experiment.js
type: application/javascript
module-type: macro

<<experiment>>

\*/
(function(){

/*jslint node: true, browser: true */
/*global $tw: false */
"use strict";

/*
Information about this macro
*/

exports.name = "experiment";

exports.params = [];

/*
Run the macro
*/
exports.run = function() {
        var result = "\n\n! Hello world\n\n";
        return result;
};

})();


Just a small example of a javascript plugin tiddler.

The one you mentioned is just for showing the rendering and has no function.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to