summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-04-30 16:47:16 -0400
committerJoey Hess <joey@kitenet.net>2011-04-30 16:48:10 -0400
commitc005e37e2a4b6df89941442d979e144ed93840bd (patch)
tree347f78bf2584fb68898f546576165bc7af597981 /doc
parentbe0833b85633dcfaaaaaaf25a66193c6a7622297 (diff)
link to timonator's patch
Diffstat (limited to 'doc')
-rw-r--r--doc/todo/nested_preprocessor_directives.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/nested_preprocessor_directives.mdwn b/doc/todo/nested_preprocessor_directives.mdwn
index b5080dc3c..1d44cea88 100644
--- a/doc/todo/nested_preprocessor_directives.mdwn
+++ b/doc/todo/nested_preprocessor_directives.mdwn
@@ -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]]