Skip to main content

PyPI version

pandoc-cover

Add a cover to a pdf document using an SVG template and the pandoc metadata.

Example

  1. 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).

  2. 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'
    
  3. Launch pandoc with the pandoc_cover filter.

    pandoc --filter=pandoc-cover bar.md -o bar.pdf
    

Install

pip install pandoc-cover

Metadata

Release files for pandoc-cover 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pandoc-cover 0.2.1
File Size Uploaded
pandoc-cover-0.2.1.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pandoc-cover 0.2.1
File Interpreter ABI Platform
pandoc_cover-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.9 kB

Release files / pandoc-cover-0.2.1.tar.gz

Download URL pandoc-cover-0.2.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
802dc5fb4a64ff636332c6e7b840496b45e8d1fb0fee87242c53dcb889dec3d1
BLAKE2b-256 checksum
How to use checksums
a3c1b49f2882fcc392a194d012c7c982a6f1c899dac3505837620bd122c82ae6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / pandoc_cover-0.2.1-py3-none-any.whl

Download URL pandoc_cover-0.2.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
950e622a52270ba1dd8c0011052da828acdb110a55a4e44c2c5ce07895b190ed
BLAKE2b-256 checksum
How to use checksums
bd76bef1ceb1d04e295359e866b760f707e5ec6a7383cb19ef1c71a9408e51f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.1.1

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page