From 635f5284671b5f97531155ac004663c9a180a2d4 Mon Sep 17 00:00:00 2001 From: Timo Paulssen Date: Sat, 30 Apr 2011 22:02:25 +0200 Subject: [PATCH] document new quoting methods. --- doc/ikiwiki/directive.mdwn | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) 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=<