diff --git a/bin/contrib/discount.rc b/bin/contrib/discount.rc index 87af260..f8fb702 100755 --- a/bin/contrib/discount.rc +++ b/bin/contrib/discount.rc @@ -1,4 +1,4 @@ -#!/usr/bin/rc +#!/bin/rc # requires discount markdown: https://www.pell.portland.or.us/~orc/Code/discount/ -markdown -f fencedcode -f ext $1 +/usr/bin/markdown -f fencedcode -f ext $1 diff --git a/bin/corehandlers.rc b/bin/corehandlers.rc index 294b1a7..71fd0ec 100755 --- a/bin/corehandlers.rc +++ b/bin/corehandlers.rc @@ -51,7 +51,9 @@ fn link_bar { echo '' } -fn md_handler { $formatter $1 } +fn md_handler { + $formatter $1 +} fn tpl_handler { template $* } diff --git a/etc/initrc b/etc/initrc index f38f09a..3c60a40 100755 --- a/etc/initrc +++ b/etc/initrc @@ -26,7 +26,7 @@ path=($plan9port/bin . ./bin ./bin/contrib /bin /usr/bin) # formatter, but all major functionality should should be formatter agnostic. #formatter=(fltr_cache markdown.pl) formatter=(fltr_cache md2html.awk) # no perl for old men -# formatter=(fltr_cache discount.rc) # use C for ze modern comforts. Requires https://www.pell.portland.or.us/~orc/Code/discount/ +# formatter=(fltr_cache discount.rc) # use C for ze modern comforts. Requires https://www.pell.portland.or.us/~orc/Code/discount/ # also, check that the #!/bin/rc at the top corresponds to the correct path for rc before using this. # Enable debugging, to disable set to () debug=true diff --git a/lib/footer.inc b/lib/footer.inc index 1eac7d8..07ecd3e 100755 --- a/lib/footer.inc +++ b/lib/footer.inc @@ -1,4 +1,5 @@ -
+