Commit Graph

6 Commits

Author SHA1 Message Date
Raoul Snyman a551fdf465
Enhance the HTML renderer
- Documenting rendering options in the HTML renderer
- Programmatically generate the styles easily
- Allow a group to be specified when getting the available options
- Create a get_option_groups() method to return the groups, which are now built dynamically
- Set a bunch of sane defaults
- Support additional markers in the chordpro file, and move to div-based HTML
- Add artist section
- Add key/capo section
2021-08-07 18:19:31 -07:00
Raoul Snyman 80e74a77d4 Make Song.parse() take the file content instead of a file name 2021-07-30 14:32:53 -07:00
Raoul Snyman 61b1cda0f6 Enhance the directive detection 2021-07-30 11:31:31 -07:00
Raoul Snyman ba2e2e5ee9 Move some constants into the constants file 2021-07-30 11:17:52 -07:00
Raoul Snyman 161dbf9864
Various updates, including a new text renderer
- Add a new text file renderer
- Update the HTML renderer to include some basic formatting options
- Expand the CLI to specify a renderer and pass parameters to the selected renderer
- Fix a bug where trailing chords were being swallowed
2021-07-28 11:41:15 -07:00
Raoul Snyman d84b7815d0
Added a command-line runner, renamed a few things 2021-07-23 23:31:21 -07:00