]> sipb.mit.edu Git - ikiwiki.git/commitdiff
furthermore
authorJoey Hess <joey@gnu.kitenet.net>
Wed, 30 Sep 2009 19:45:16 +0000 (15:45 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Wed, 30 Sep 2009 19:45:16 +0000 (15:45 -0400)
doc/todo/Resolve_native_reStructuredText_links_to_ikiwiki_pages.mdwn

index 0f8e63aaeb4c1813fc0a5e3102da42468dc88ddd..bee57f7e7cf75958b6a57176a2d20f6333232fc9 100644 (file)
@@ -226,10 +226,16 @@ Perl I've ever written!_)
 >> Well, no idea how that would be expressed, but I mean, replace the indent
 >> directly in $handle's return value.
 >>
 >> Well, no idea how that would be expressed, but I mean, replace the indent
 >> directly in $handle's return value.
 >>
+>> Yes, in effect just `indent($1, handle->($2,$,4))` --[[Joey]] 
+>>
 >> The indent-catching regex is wrong in the way you mention, it has been
 >> nagigng my mind a bit as well; I think matching start of line + spaces
 >> and tabs is the only thing we want.
 >> -- [[ulrik]]
 >> The indent-catching regex is wrong in the way you mention, it has been
 >> nagigng my mind a bit as well; I think matching start of line + spaces
 >> and tabs is the only thing we want.
 >> -- [[ulrik]]
+>> 
+>>> Well, seems you want to match the indent at the start of the line containing
+>>> the directive, even if the directive does not start the line. That would
+>>> be quite hard to make a regexp do, though. --[[Joey]]
 
 [ppi]: http://github.com/engla/ikiwiki/commits/pproc-indent
 
 
 [ppi]: http://github.com/engla/ikiwiki/commits/pproc-indent