Some functions to generate markdown in bash.
Because I often abuse bash and sometimes I want to output HTML. It's easier to output markdown and pass it to pandoc.
$ source src/md.bash
$ { pwd | md_h1 ; for i in *; do printf '%s\n' "$(md_a "$i" <<< "${i%.*}")"; done | md_ul; } | pandoc -t html