changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > werc / changeset: Two minor handler changes: tpl_handler now can take multiple templates, md_handler can only take one .md file.

changeset 357: be5fe6949481
parent 356: 21d4d464fdef
child 358: 031828ebade4
author: uriel@engel.se.cat-v.org
date: Fri, 23 Jan 2009 17:51:23 +0100
files: bin/werc.rc
description: Two minor handler changes: tpl_handler now can take multiple templates, md_handler can only take one .md file.
     1.1--- a/bin/werc.rc	Fri Jan 23 17:48:09 2009 +0100
     1.2+++ b/bin/werc.rc	Fri Jan 23 17:51:23 2009 +0100
     1.3@@ -58,9 +58,9 @@
     1.4 
     1.5 
     1.6 # Handlers
     1.7-fn md_handler { cat $* | $formatter }
     1.8+fn md_handler { $formatter < $1 }
     1.9 
    1.10-fn tpl_handler { template $1 }
    1.11+fn tpl_handler { template $* }
    1.12 
    1.13 fn html_handler {
    1.14     # body states: 0 = no <body> found, 2 = after <body>, 1 = after <body></body>, -1 = after </body>