/pandoc-eisvogel-image

A docker image containing Pandoc and the EisVogel template to generate pdf files from markdown.

Primary LanguageDockerfile

Pandoc Eisvogel image

Docker Pulls

A docker image containing Pandoc and the EisVogel template to generate pdf files from markdown.

Getting started

Using this image is as easy as:

  1. Run docker pull survivorbat/pandoc-eisvogel:latest
  2. Run docker run --rm -e OUTPUT_PATH='my_compiled_document.pdf' -v <directory-you-want-to-compile>:/data survivorbat/pandoc-eisvogel:latest

A few moments later the compiled pdf called my_compiled_document.pdf will appear in the directory. This document will include ALL markdown files it can find in the specified directory.

Options

You can define the following options using environment variables:

  • OUTPUT_PATH: The path to output the file to, can be anywhere within the current folder
  • DEBUG: Defining this variable as anything will enable debug mode and echo the contents of the resulting markdown file before its compilation

Known quirks

  • Embedding images is not as easy as it should be, since you can't reference images outside of the working directory