In TiddlyWiki before 5.3 the recommended rules for dynamic stylesheet (a tiddler tagged with $:/tags/Stylesheet
but has type of text/vnd.tiddlywiki
) is as below, because in stylesheets it is typical to only use the rules associated with macros and transclusions (see Pragma: \rules):
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
However, in TiddlyWiki 5.3+ with the advent of functions, procedures, conditional shortcuts, the rule can be as below
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline macrocallblock parameters fnprocdef conditional
The new terms:
-
fnprocdef
: allows functions and procedures definition and call -
parameters
: allows parameters definition and use -
conditional
: allows use of<%if...%>
Please complete, if other parsing rules should be added.
Examples
These are examples of dynamic stylesheets from TiddlyWiki core and few official plugins.