Quickly generate pages of trading cards. Useful for rapid prototyping.
For a working example, take a look at ccg-card-generator-sample-project
const { ccg-card-generator, } = require("ccg-card-generator");
const target = "./rulebook.md";
const destination = "./rulebook.pdf";
const options = {
"debug": true,
"style": "./node_modules/ccg-card-generator/lib/styles/prototype.css",
"printOptions": {
displayHeaderFooter: false,
},
};
ccg-card-generator( target, destination, options);
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are welcome!