Commit Graph

15 Commits

Author SHA1 Message Date
Raoul Snyman e55294c714
Add constants 2022-04-07 21:33:34 -07:00
Raoul Snyman 20f7aee4f3
Fix render options in CLI and when generating styles in HTML 2021-09-11 20:12:59 -07:00
Raoul Snyman d151c203bc
Rename the project 2021-09-08 15:01:47 -07:00
Raoul Snyman 00e3a1fa4f
Add options for hiding some elements (aka lyrics mode) 2021-09-07 22:17:12 -07:00
raoul f8145b4c43 Merge pull request 'Enhance the HTML renderer' (#1) from renderer-options into master
Create a get_option_groups() method to return the groups, which are now built dynamically

Reviewed-on: raoul/python-chordpro#1
2021-08-31 16:33:15 -07:00
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 dc5eedb8f4 Add a CHORD regular expression 2021-07-30 11:19:20 -07:00
Raoul Snyman ba2e2e5ee9 Move some constants into the constants file 2021-07-30 11:17:52 -07:00
Raoul Snyman 7541b88101 Moved console script entrypoint to its own module 2021-07-28 22:13:12 -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 41394d559c
Rename render directory 2021-07-27 21:19:44 -07:00
Raoul Snyman d84b7815d0
Added a command-line runner, renamed a few things 2021-07-23 23:31:21 -07:00
Raoul Snyman d0749e07aa
A working prototype 2021-07-23 14:57:35 -07:00