From dd87d82fbe2bf09abe634caef044474d5b24502e Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Mon, 21 Jul 2008 12:31:33 +0100 Subject: Migrate doc/todo via prefix_directives This is a partial commit of: egrep -rl '\[\[[a-z]+ ' doc | xargs --max-args 1 ./ikiwiki-transition prefix_directives --- doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn') diff --git a/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn b/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn index 7b3dbbd55..3ff8b9ef6 100644 --- a/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn +++ b/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn @@ -2,8 +2,8 @@ Either [[plugins/template]] or [[plugins/shortcut]] should support some form of very simple text parsing or regex application, to make it possible to write shortcuts like these: - [[mmlist listname@lists.example.org]] -> ([mailman page] (http://lists.example.org/mailman/listinfo/listname) - [[debcl packagename]] -> [packagename changelog](http://packages.debian.org/changelogs/pool/main/p/packagename/current/changelog) + [[!mmlist listname@lists.example.org]] -> ([mailman page] (http://lists.example.org/mailman/listinfo/listname) + [[!debcl packagename]] -> [packagename changelog](http://packages.debian.org/changelogs/pool/main/p/packagename/current/changelog) For shortcut definitions, a `match` parameter could supply a regex, and then the `url` and `desc` parameters could make use of the named or numbered groups from the match. -- cgit v1.2.3