diff --git a/bin/contrib/discount.rc b/bin/contrib/discount.rc new file mode 100644 index 0000000..87af260 --- /dev/null +++ b/bin/contrib/discount.rc @@ -0,0 +1,4 @@ +#!/usr/bin/rc +# requires discount markdown: https://www.pell.portland.or.us/~orc/Code/discount/ +markdown -f fencedcode -f ext $1 + diff --git a/etc/initrc b/etc/initrc index f0b26c2..f38f09a 100755 --- a/etc/initrc +++ b/etc/initrc @@ -26,6 +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/ # Enable debugging, to disable set to () debug=true