Jekyll LilyPond Converter
Add lily code blocks to your markdown blog post and automatically convert the code to sheet music using LilyPond.
Installation and Usage
- Install LilyPond and ensure the
lilypondexecutable is on your$PATH - Add this gem to your Jekyll-based static site repository's Gemfile
- Add
lily_images/to your.gitignore Add the converter to your
_config.ymlfile:gems:
- jekyll-lilypond-converter
(Optional) specify LilyPond image format in
_config.yml(default issvg, alternative option ispng)lilypond-image-format: png
Add lily code to a markdown post:
This is a C major chord:
\relative { <c' e g> }