diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2026-01-22 22:22:28 -0500 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2026-01-22 22:22:28 -0500 |
| commit | 37c486a16e08ef80f5107a597b392add572735a3 (patch) | |
| tree | 9cec6c8970b56c3482ebf9b6178925a65ec076df /README.md | |
| parent | b649441e3c3e3603305f61de9e9f88e30f397736 (diff) | |
add x_revision directive to footer
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -47,6 +47,10 @@ This script will edit the given file in-place and make several changes. The script will automatically detect if a matching `configs/{song-name}.json` file exists and pass it to the `chordpro` executable to be mixed with/override the global `./config.json` file. Once complete, the output file(s) can be found at `./out/{song-title}.{format}`. +The script will also parse any `{x_???:val}` directive and add it as a `--meta` argument to the chordpro command. +Each chordpro file should at a minimum include a `{x_revision:1}` directive. +This value is printed in the footer; see `./config.json` for the global footer definition. + For a list of all available output formats, see the official `chordpro` command [output documentation](https://www.chordpro.org/chordpro/using-chordpro/#output). #### *NOTE:* |
