Note: An alternative skin, TW4MW (work in progress), is available from the user preferences.

TemplatingMacrosPlugin

TiddlyWiki Community Wiki

Jump to: navigation, search
Name: TemplatingMacrosPlugin
Author : jayfresh
URL : #TemplatingMacrosPlugin
Description : Some macros used in TiddlyTemplating templates
Version : 0.0.1


Installing v0.0.1 of the TemplatingMacrosPlugin provides you with the following macro:

  • permalink

In addition, the following extensions to the view macros are defined:

  • slice
  • section

TemplatingMacrosPlugin supports 'TiddlyTemplating', which is described on the TiddlyTemplating page. This introduces a template-based mechanism for publishing files from a TiddlyWiki (and replacing the core saving mechanism).

Contents

[edit] permalink macro

Creates a link to a view of the TiddlyWiki with only the enclosing tiddler opened

[edit] Usage

<<permalink>>

[edit] view macro - slice view

Allows access to a slice contained within a tiddler

[edit] Usage

 <<view text slice MySlice>>

will extract this slice:

 |mySlice | slice content |

[edit] view macro - section view

Allows access to a section contained within a tiddler

[edit] Usage

 <<view text section mySection>>

will extract this section:

 !mySection
 blah blah
 !end of mySection
Personal tools