Commit Graph

22 Commits

Author SHA1 Message Date
afeba5f9b1 Merge pull request 'Add options for hiding some elements (aka lyrics mode)' (#4) from no-chords into master
Reviewed-on: raoul/python-chordpro#4
2021-09-08 05:25:04 +00:00
00e3a1fa4f
Add options for hiding some elements (aka lyrics mode) 2021-09-07 22:17:12 -07:00
2bcfdaf0de Merge pull request 'Make style generator handle the default section properly.' (#3) from renderer-options into master
Reviewed-on: raoul/python-chordpro#3
2021-08-31 23:39:22 +00:00
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
ae3d3ef330 Merge pull request 'Enhance the HTML renderer' (#1) from renderer-options into master
Reviewed-on: raoul/python-chordpro#1
2021-08-08 01:21:50 +00:00
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
80e74a77d4 Make Song.parse() take the file content instead of a file name 2021-07-30 14:32:53 -07:00
61b1cda0f6 Enhance the directive detection 2021-07-30 11:31:31 -07:00
dc5eedb8f4 Add a CHORD regular expression 2021-07-30 11:19:20 -07:00
ba2e2e5ee9 Move some constants into the constants file 2021-07-30 11:17:52 -07:00
7541b88101 Moved console script entrypoint to its own module 2021-07-28 22:13:12 -07:00
6e96953ed8 Updated README with a warning 2021-07-28 21:44:06 -07:00
53cf80b33e Update ignores 2021-07-28 21:41:58 -07:00
1834e17c56 Add setuptools data for building a package 2021-07-28 21:39:43 -07:00
45416a4064 Reformatted README as reStructuredText 2021-07-28 19:48:02 -07:00
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
41394d559c
Rename render directory 2021-07-27 21:19:44 -07:00
6675f2ccb9
Merge branch 'master' of git.snyman.info:raoul/python-chordpro 2021-07-23 23:35:25 -07:00
2773bfc9f4 Initial commit 2021-07-24 06:33:16 +00:00
d84b7815d0
Added a command-line runner, renamed a few things 2021-07-23 23:31:21 -07:00
fe37c7214a
Add ignore file 2021-07-23 21:46:12 -07:00
d0749e07aa
A working prototype 2021-07-23 14:57:35 -07:00