diff -r 000000000000 -r 414e01d06fd5 data/TWiki/FormatTokens.txt,v --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/data/TWiki/FormatTokens.txt,v Sat Jan 26 15:50:53 2008 +0100 @@ -0,0 +1,33 @@ +head 1.1; +access; +symbols; +locks; strict; +comment @# @; + + +1.1 +date 2008.01.22.03.21.25; author TWikiContributor; state Exp; +branches; +next ; + + +desc +@buildrelease +@ + + +1.1 +log +@buildrelease +@ +text +@---++ Formatting Tokens + +TWiki defines some standard special tokens that can be used to replace characters in some parameters - notably those to FormattedSearch and IfStatements - to defer evaluation of the parameter until later. These special tokens are often called "escapes", because they allow the character to "escape" from its normal meaning. +%STARTINCLUDE%| =$n= or =$n()= | New line. Use =$n()= if followed by alphanumeric character, e.g. write =Foo$n()Bar= instead of =Foo$nBar= | +| =$nop= or =$nop()= | Is a "no operation". This variable gets removed; useful for nested search | +| =$quot= | Double quote (="=) (\" also works) | +| =$percnt= | Percent sign (=%=) | +| =$dollar= | Dollar sign (=$=) | +%STOPINCLUDE% +If you ever find yourself needing to escape an escape, you can use =$dollar= to escape the leading dollar, thus: =$dollarpercnt=.@