diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2020-05-09 13:30:06 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2020-05-09 13:30:06 +0200 |
commit | 6630070802f4ecd3b471a19e5d5629eb7461f60c (patch) | |
tree | 721c0c3bcf19465ff68b1f021bfc5e63dee17689 /cardGen | |
parent | d2ec3cc0a3675668040a076695444955b27927c2 (diff) | |
download | scripts-6630070802f4ecd3b471a19e5d5629eb7461f60c.tar.gz scripts-6630070802f4ecd3b471a19e5d5629eb7461f60c.zip |
Reorganized README.md
Diffstat (limited to 'cardGen')
-rw-r--r-- | cardGen/README.md | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/cardGen/README.md b/cardGen/README.md index 914a622..18d120c 100644 --- a/cardGen/README.md +++ b/cardGen/README.md @@ -1,18 +1,15 @@ # dndCard.sh -Takes some fields from an input file and builds a pdf or image of a card from them. A background -image can be provided; if not, the background will have a plain color. The template is fully -editable or others could be created, just bare in mind that the words between `@`, such as `@name@` -or `@icon@`, are what the script searches for to insert the text and image file names. Don't leave -commented lines since they are uncommented when no background image is found. Related to this, the -lines containing `%bg%` are deleted when no background image is found. +Takes some fields from an input file and builds a pdf and image of a card from them. -Usage: +## Usage ``` dndCard.sh [-t templateFile] [-b bodyFile] inputFile ``` +## Example + Example of input file: ``` @@ -32,3 +29,11 @@ Example of output, with no image background and using [game-icons.net](https://game-icons.net/): ![Potion card example](Health_potion.png) + +## Additional notes + +A background image can be provided; if not, the background will have a plain color. The template is +fully editable or others could be created, just bare in mind that the words between `@`, such as +`@name@` or `@icon@`, are what the script searches for to insert the text and image file names. +Don't leave commented lines since they are uncommented when no background image is found. Related to +this, the lines containing `%bg%` are deleted when no background image is found. |