Two minor handler changes: tpl_handler now can take multiple templates, md_handler can only take one .md file.
This commit is contained in:
parent
0884966b4e
commit
ce23320a4d
1 changed files with 2 additions and 2 deletions
|
|
@ -58,9 +58,9 @@ fn nav_tree {
|
||||||
|
|
||||||
|
|
||||||
# Handlers
|
# Handlers
|
||||||
fn md_handler { cat $* | $formatter }
|
fn md_handler { $formatter < $1 }
|
||||||
|
|
||||||
fn tpl_handler { template $1 }
|
fn tpl_handler { template $* }
|
||||||
|
|
||||||
fn html_handler {
|
fn html_handler {
|
||||||
# body states: 0 = no <body> found, 2 = after <body>, 1 = after <body></body>, -1 = after </body>
|
# body states: 0 = no <body> found, 2 = after <body>, 1 = after <body></body>, -1 = after </body>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue