Use ChordPro formatted lyrics and tablature in a PmWiki page to embed and display ChordPro-formatted song sheets into a wiki page.
ChordPro is an early text format which was used to quickly generate song list with the chords mixed in with the lyrics. In many ways it is very wiki-like. Its goal is to make a machine-readable songsheet syntax, suitable for pretty-printing, which is also relatively easy on human eyes.
This recipe adds custom markup -
See ChordPro markup for details.
All formatting is controlled by CSS. By default the chords and lyrics text is monospaced and the same size, however this is not necessary.
The spacing between the chording and the lyrics is controlled by the
Add the following line to
use relative font sizes in CSS
GPL3. Use Markup_e for PHP5 compatibility
Change handling of Title, Subtitle, and Album. Better cope with two directives on one line. Add CSS for page breaks and page directives. Adjust CSS for line-height and song line spacing.
A significant release providing css controlled formatting for wiki pages and printing, with correct handling of blank lines
Based on original at http://kiwiwiki.co.nz/pmwiki/pmwiki.php/Cookbook/ChordPro