data/TWiki/FormatTokens.txt,v
changeset 0 414e01d06fd5
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/data/TWiki/FormatTokens.txt,v	Sat Jan 26 15:50:53 2008 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +head	1.1;
     1.5 +access;
     1.6 +symbols;
     1.7 +locks; strict;
     1.8 +comment	@# @;
     1.9 +
    1.10 +
    1.11 +1.1
    1.12 +date	2008.01.22.03.21.25;	author TWikiContributor;	state Exp;
    1.13 +branches;
    1.14 +next	;
    1.15 +
    1.16 +
    1.17 +desc
    1.18 +@buildrelease
    1.19 +@
    1.20 +
    1.21 +
    1.22 +1.1
    1.23 +log
    1.24 +@buildrelease
    1.25 +@
    1.26 +text
    1.27 +@---++ Formatting Tokens
    1.28 +
    1.29 +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. 
    1.30 +%STARTINCLUDE%| =$n= or =$n()= | New line. Use =$n()= if followed by alphanumeric character, e.g. write =Foo$n()Bar= instead of =Foo$nBar= |
    1.31 +| =$nop= or =$nop()= | Is a "no operation". This variable gets removed; useful for nested search |
    1.32 +| =$quot= | Double quote (="=) (\" also works) |
    1.33 +| =$percnt= | Percent sign (=%=) |
    1.34 +| =$dollar= | Dollar sign (=$=) |
    1.35 +%STOPINCLUDE%
    1.36 +If you ever find yourself needing to escape an escape, you can use =$dollar= to escape the leading dollar, thus: =$dollarpercnt=.@