Commit Graph

27 Commits (master)

Author SHA1 Message Date
Raoul Snyman e55294c714
Add constants 2022-04-07 21:33:34 -07:00
raoul 034b73496b Merge pull request 'Fix render options in CLI and when generating styles in HTML' (#6) from fix-render-options into master
Reviewed-on: #6
2021-09-12 03:13:23 +00:00
Raoul Snyman 20f7aee4f3
Fix render options in CLI and when generating styles in HTML 2021-09-11 20:12:59 -07:00
raoul cdfabbc95e Merge pull request 'Rename the project' (#5) from rename-project into master
Reviewed-on: #5
2021-09-08 22:02:16 +00:00
Raoul Snyman d151c203bc
Rename the project 2021-09-08 15:01:47 -07:00
raoul 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
Raoul Snyman 00e3a1fa4f
Add options for hiding some elements (aka lyrics mode) 2021-09-07 22:17:12 -07:00
raoul 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
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 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
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 6e96953ed8 Updated README with a warning 2021-07-28 21:44:06 -07:00
Raoul Snyman 53cf80b33e Update ignores 2021-07-28 21:41:58 -07:00
Raoul Snyman 1834e17c56 Add setuptools data for building a package 2021-07-28 21:39:43 -07:00
Raoul Snyman 45416a4064 Reformatted README as reStructuredText 2021-07-28 19:48:02 -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 6675f2ccb9
Merge branch 'master' of git.snyman.info:raoul/python-chordpro 2021-07-23 23:35:25 -07:00
raoul 2773bfc9f4 Initial commit 2021-07-24 06:33:16 +00:00
Raoul Snyman d84b7815d0
Added a command-line runner, renamed a few things 2021-07-23 23:31:21 -07:00
Raoul Snyman fe37c7214a
Add ignore file 2021-07-23 21:46:12 -07:00
Raoul Snyman d0749e07aa
A working prototype 2021-07-23 14:57:35 -07:00