From 5017ffd8a512c09d3c34764709791812acfc5515 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 27 Jul 2006 21:38:02 +0000 Subject: * Patch from Enrico that - allows preprocessor directives to have parameters with no specified value - fixes preprocessor directive parameter parsing so that foo=bar baz now means "foo=bar" and a "baz" with no value - Add a tag plugin that allows more easily tagging pages. The meta plugin can also still be used for this. --- basewiki/preprocessordirective.mdwn | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'basewiki') diff --git a/basewiki/preprocessordirective.mdwn b/basewiki/preprocessordirective.mdwn index ffa3fc7c4..f7d97520c 100644 --- a/basewiki/preprocessordirective.mdwn +++ b/basewiki/preprocessordirective.mdwn @@ -6,6 +6,11 @@ contain spaces and parameters. The general form is: This gets expanded before the rest of the page is processed, and can be used to transform the page in various ways. +The quotes around values can be omitted if the value is a simple word. +Also, some directives may use parameters without values, for example: + +\\[[tag foo]] + Note that if a preprocessor directive has no parameters, a space still must be put after its name, to avoid confusion with a [[WikiLink]]. For example: -- cgit v1.2.3