diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-27 21:38:02 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-07-27 21:38:02 +0000 |
commit | 5017ffd8a512c09d3c34764709791812acfc5515 (patch) | |
tree | 845afc1ef1a8de038c10c154f99b4099cf389ce3 /basewiki/preprocessordirective.mdwn | |
parent | 06dc80b6625f2874ca8ad177306395dd01ef9c6a (diff) | |
download | ikiwiki-5017ffd8a512c09d3c34764709791812acfc5515.tar ikiwiki-5017ffd8a512c09d3c34764709791812acfc5515.tar.gz |
* 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.
Diffstat (limited to 'basewiki/preprocessordirective.mdwn')
-rw-r--r-- | basewiki/preprocessordirective.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
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: |