This Docker images has all tools to create beautiful PDF's from markdown files using Pandoc and Latex. Designed to be used with CI pipelines.
Latest version is on https://github.com/linden-project/docker-frontmatter-md-to-pdf
- TexLive
- Some extra Tex-fonts
- Pandoc
- Pandocomatic
- Fred
The example directory contains a setup which creates an example PDF
This docker image was designed to be used for GitHub Workflow Actions. See .github/workflows/example.yaml for a working example.
The example dir contains a RUNME.sh with two useful docker commands for creating PDF's.
We will add more information how to use the pandoc templates. For this moment you can reverse engineer how the example works.
- The readme contains front matter that configures some features in the LaTex template and some settings pandoc needs.
- The front matter points to a latex template in example/dotpandoc
- The LaTex template containes some conditional logic based on values it gets from the front matter in the example/readme.md
- There is a letterhead background image and a SVG-source version. This can be used to create a background image.
If you would like to help, please send pull request of submit an issue.
Released under the MIT License. See the LICENSE file for further details.