Last updated:
0 purchases
pandoccover 0.2.1
pandoc-cover
Add a cover to a pdf document using an SVG template and the pandoc metadata.
Example
Create a SVG template called foo.svg. Write
{{ title }} in place of the title and {{ whatever }}
in place of whatever information you want to display on
the cover (see templates/sample_front.j2.svg for an example).
Add title and whatever variables in your bar.md document
title: 'Hello World !'
whatever: 'This is so simple'
pandoc-cover:
front: 'path/to/foo.svg'
Launch pandoc with the pandoc_cover filter.
pandoc --filter=pandoc-cover bar.md -o bar.pdf
Install
pip install pandoc-cover
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.