Add a PDF cover to a document using an SVG template and the pandoc metadata
Project description
pandoc-cover
Add a PDF cover to document using an SVG template and the document metadata.
Currently, this only works if you are also using the
eisvogel
template
Example
-
Create a SVG template called
foo.svg
and write{{ metadata.title }}
in place of the title. -
Add a
title
metadata in your pandoc document -
Activate the plugin in the header of your document (
bar.md
)title: 'Hello World !" titlepage: false titlepage-background: 'path/to/foo.svg'
-
Launch pandoc
pandoc --filter=pandoc_cover --template=eisvogel bar.md -o bar.pdf
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pandoc-cover-0.0.2.tar.gz
(2.3 kB
view hashes)
Built Distribution
Close
Hashes for pandoc_cover-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | add0a134609a2e835eda0bf2285f846af644f70d20907c1cfaae710139d5f3d3 |
|
MD5 | 87ad5edb5d855d46925fc342a6a647ec |
|
BLAKE2b-256 | 39b4555211b7ab6af7d03610ea78ad78f90fa26082c26ed8c3c3d379d4899fb2 |