summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@wren.kitenet.net>2007-11-08 15:32:28 -0500
committerJoey Hess <joey@wren.kitenet.net>2007-11-08 15:32:28 -0500
commit341df9febc7b219160198f9d7840ac38c5f1f8c3 (patch)
treefce5c5a78670cb7e7da9c98164cff231a9d7b1c7
parentaf6208f76a1c234cf91d530042eda34e2ea1b2fa (diff)
web commit by JoshTriplett
-rw-r--r--doc/todo/New_preprocessor_directive_syntax.mdwn19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/todo/New_preprocessor_directive_syntax.mdwn b/doc/todo/New_preprocessor_directive_syntax.mdwn
new file mode 100644
index 000000000..7790c2f78
--- /dev/null
+++ b/doc/todo/New_preprocessor_directive_syntax.mdwn
@@ -0,0 +1,19 @@
+As discussed on IRC, preprocessor directives should transition to a
+new syntax distinct from wikilinks. Possible syntaxes:
+
+* `[[!preprocessor directive]]`
+* `{{preprocessor directive}}`
+
+The transition would involve adding the new syntax, adding an option
+to turn off the old syntax with the default allowing it, giving people
+time to convert their wikis and turn the option on, and releasing a
+new ikiwiki (version 3 for instance) that turns off the old syntax by
+default.
+
+Making this transition would fix two major warts:
+
+* The inability to use spaces in wikilinks or link text
+* The requirement to use a trailing space on a preprocessor directive
+ with no arguments, such as `[[toc ]]`
+
+--[[JoshTriplett]]