summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-25 18:26:20 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-08-25 18:26:20 +0000
commitc7eda8ae2592f546c0238a169cd88ff54df2ec29 (patch)
tree0b43179f46585afdba7c6d564756d18784db0deb /doc/todo
parenteddac7b5c3d16722e066722a43e50db8ed135f8c (diff)
web commit by http://jeremie.koenig.myopenid.com/: propose an alternative patch
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/format_escape.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/format_escape.mdwn b/doc/todo/format_escape.mdwn
index f8ea789ec..13f211d1e 100644
--- a/doc/todo/format_escape.mdwn
+++ b/doc/todo/format_escape.mdwn
@@ -32,6 +32,22 @@ escape parameter optional, and only call it if set. --[[Joey]]
>>> to work -- see <http://ikidev.betacantrips.com/blah.html> for an example.
>>> --Ethan
+## Alternative solution
+
+[Here](http://www.jk.fr.eu.org/ikiwiki/format-escapes-2.diff) is a patch
+largely inspired from the one below, which is up to date and written with
+[[todo/multiple_output_formats]] in mind. "htmlize" hooks are generalized
+to "convert" ones, which can be registered for any pair of filename
+extensions.
+
+Preprocessor directives are allowed to return the content to be inserted
+as a hash, in any format they want, provided they provide htmlize hooks for it.
+Pseudo filename extensions (such as `"_link"`) can also be introduced,
+which aren't used as real extensions but provide useful intermediate types.
+
+--[[JeremieKoenig]]
+
+## Original patch
[[tag patch]]
<pre>