bard

bard creates PDF and HTML songbooks out of Markdown files. It is a command-line tool for the tech-savvy musician.

See the documentation on how to install and use bard.

The source code lives over at GitHub.