]> sipb.mit.edu Git - ikiwiki.git/commitdiff
link to timonator's patch
authorJoey Hess <joey@kitenet.net>
Sat, 30 Apr 2011 20:47:16 +0000 (16:47 -0400)
committerJoey Hess <joey@kitenet.net>
Sat, 30 Apr 2011 20:48:10 +0000 (16:48 -0400)
doc/todo/nested_preprocessor_directives.mdwn

index b5080dc3ca22ef24ad87de301f3cc7b0f584b567..1d44cea88ba4846bc3f5f3303c433b183228acdf 100644 (file)
@@ -16,3 +16,19 @@ nesting, a new syntax would be needed. Maybe something xml-like?
 >     """]]
 >
 > --[[JoshTriplett]]
+
+>> Yes it's definitely possible to do something like that. I'm not 100%
+>> sure if it can be done in perl regexp or needs a real recursive descent
+>> parser though.
+>>
+>> In the meantime, this is an interesting approach:
+>> <https://github.com/timo/ikiwiki/commit/a73837a8f26147e42a0bb2dde38b4890b27822b3>
+>> 
+>>     \[[!directive text=<<FOO
+>>     ...
+>>     <<FOO]]
+>> 
+>> Since that's implemented, I will probably just merge it,
+>> once I satisfy myself it doesn't blow up in any edge cases.
+>> (It also adds triple single quotes as a third, distinct type of quotes,
+>> which feels a bit redundant given the here docs.) --[[Joey]]