Skip to content

Auto-convert LilyPond snippets in Markdown posts to printed sheet music images

Notifications You must be signed in to change notification settings

mikeknep/jekyll-lilypond-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 lilypond executable 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.yml file:

    gems:
    - jekyll-lilypond-converter
    
  • (Optional) specify LilyPond image format in _config.yml (default is svg, alternative option is png)

    lilypond-image-format: png
    
  • Add lily code to a markdown post:

    This is a C major chord:
    
    ```lilypond
    \relative {
      <c' e g>
    }
    ```
    

About

Auto-convert LilyPond snippets in Markdown posts to printed sheet music images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages