Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 435 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 435 Bytes

md.bash

Some functions to generate markdown in bash.

Why?

Because I often abuse bash and sometimes I want to output HTML. It's easier to output markdown and pass it to pandoc.

How?

$ source src/md.bash
$ { pwd | md_h1 ; for i in *; do printf '%s\n' "$(md_a "$i" <<< "${i%.*}")"; done | md_ul; } | pandoc -t html