From: Timo Paulssen Date: Sat, 30 Apr 2011 20:02:25 +0000 (+0200) Subject: document new quoting methods. X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/635f5284671b5f97531155ac004663c9a180a2d4?ds=sidebyside document new quoting methods. --- diff --git a/doc/ikiwiki/directive.mdwn b/doc/ikiwiki/directive.mdwn index fb88aa72d..2a7075e4c 100644 --- a/doc/ikiwiki/directive.mdwn +++ b/doc/ikiwiki/directive.mdwn @@ -20,13 +20,26 @@ wrapped to multiple lines if you like: Also, multiple lines of *quoted* text can be used for a value. To allow quote marks inside the quoted text, delimit the block -of text with triple-quotes: +of text with triple-double-quotes or triple-single-quotes: \[[!directive text=""" 1. "foo" 2. "bar" 3. "baz" - """]] + """ othertext=''' + 1. 'quux' + 2. "foo" + ''']] + +If you want to put text with triple quotes into a parameter value, you can +use perl-style here-doc syntax, even nesting it like this: + + \[[!directive text=<