chordbook
chordbook copied to clipboard
ChordPro directives
Here is a list of all the ChordPro directives and their current status.
- [x] album
- [x] artist
- [x] capo
- [ ] chord - should work exactly the same as
define
- [ ] chorus
- [ ] comment_box (short: cb) - should just be rendered as a comment
- [ ] comment_italic (short: ci) - should just be rendered as a comment
- [x] comment (short: c)
- [ ] composer
- [ ] Conditional directives (define-ukulele, comment-alto, start_of_verse-soprano)
- [ ] copyright
- [ ] define
- [ ] duration
- [ ] highlight - should just be rendered as a comment
- [x] key
- [ ] lyricist
- [ ] meta
- [ ] sorttitle
- [ ] start_of_abc / end_of_abc
- [ ] start_of_bridge (short: sob), end_of_bridge (short: eob)
- [x] start_of_chorus (short: soc), end_of_chorus (short: eoc)
- [x] start_of_grid (short: sog), end_of_grid (short: eog)
- [ ] start_of_ly / end_of_ly
- [ ] start_of_svg / end_of_svg
- [x] start_of_tab (short: sot), end_of_tab (short: eot)
- [ ] start_of_textblock / end_of_textblock
- [x] start_of_verse (short: sov), end_of_verse (short: eov)
- [x] subtitle (short: st)
- [ ] tempo
- [ ] time
- [x] title (short: t)
- [ ] transpose
- [ ] year
No plans to support
These are directives I don't intend to support/implement:
- new_song (short: ns) - each song should be stored separately
- image
- chordfont (short: cf), chordsize (short: cs), chordcolour
- chorusfont, chorussize, choruscolour
- footerfont, footersize, footercolour
- gridfont, gridsize, gridcolour
- tabfont, tabsize, tabcolour
- tocfont, tocsize, toccolour
- textfont (short: tf), textsize (short: ts), textcolour
- titlefont, titlesize, titlecolour
- new_page (short: np)
- new_physical_page (short: npp)
- column_break (short: colb)
- pagetype
Following this: https://www.chordpro.org/chordpro/directives-env/, all environment directives start with start_of_ and end with end_of_. We should be able to add custom environment directives like that: {start_of_prechorus}. And {start_of_prechors:Prechorus} should show "Prechorus" above the section.