From 7a5ae22e5a5789bf2b1be432cdc7551ab78a5241 Mon Sep 17 00:00:00 2001
From: joey
Date: Tue, 4 Apr 2006 20:57:46 +0000
Subject: Convert postprocessordirectives into preprocessordirectives, so they
are expanded before markdown. Consequences:
- No need to worry about markdown messing with parameters of
preprocessordirectives. (If you had to escape stuff in one before, you'll
need to undo that escaping now.)
- No need for ugly
hacks before inlined subpages. Instead, subpages
are wrapped in a , and this prevents markdown from touching them.
(This can also be used to add style to subpages.)
- rss generation is less of a hack.
---
basewiki/postprocessordirective.mdwn | 11 -----------
basewiki/preprocessordirective.mdwn | 11 +++++++++++
2 files changed, 11 insertions(+), 11 deletions(-)
delete mode 100644 basewiki/postprocessordirective.mdwn
create mode 100644 basewiki/preprocessordirective.mdwn
(limited to 'basewiki')
diff --git a/basewiki/postprocessordirective.mdwn b/basewiki/postprocessordirective.mdwn
deleted file mode 100644
index fa8432e3f..000000000
--- a/basewiki/postprocessordirective.mdwn
+++ /dev/null
@@ -1,11 +0,0 @@
-Postprocessor directives are similar to a [[WikiLink]] in form, except they
-contain spaces and parameters. The general form is:
-
-\\[[directive param="value" param="value"]]
-
-This gets expanded after the rest of the page is processed, and can be used
-to transform the page in various ways.
-
-Currently, these postprocessor directives are available:
-
-* "inline" to make a [[blog]]
diff --git a/basewiki/preprocessordirective.mdwn b/basewiki/preprocessordirective.mdwn
new file mode 100644
index 000000000..a7d1be8c8
--- /dev/null
+++ b/basewiki/preprocessordirective.mdwn
@@ -0,0 +1,11 @@
+Preprocessor directives are similar to a [[WikiLink]] in form, except they
+contain spaces and parameters. The general form is:
+
+\\[[directive param="value" param="value"]]
+
+This gets expanded before the rest of the page is processed, and can be used
+to transform the page in various ways.
+
+Currently, these preprocessor directives are available:
+
+* "inline" to make a [[blog]]
--
cgit v1.2.3