]> scripts.mit.edu Git - www/ikiwiki.git/blobdiff - doc/todo/format_escape.mdwn
web commit by http://jeremie.koenig.myopenid.com/
[www/ikiwiki.git] / doc / todo / format_escape.mdwn
index f8ea789ec1586f3ec7dd4989b1512ebee1d7c36d..13f211d1eda0d55e705067b3ce376ebb644eb2ef 100644 (file)
@@ -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>