werc-1.5.0-tweaks/bin/contrib/discount.rc
NunoSempere f492aa962b fix: Add discount markdown as alternative parser
The awk script is nice, but it doesn't parse codeblocks, and was a bit limited.

Although discount's markdown is written in C, it is still a bit bulky. Still, I would recommend it as a more convenient option. This represents a compromise between suckless principles and usability, so I have not set this as the default option.
2022-03-10 15:00:46 +00:00

5 lines
130 B
Bash

#!/usr/bin/rc
# requires discount markdown: https://www.pell.portland.or.us/~orc/Code/discount/
markdown -f fencedcode -f ext $1