1
0
Fork 0
mirror of https://github.com/benedictdudel/pandoc-letter-din5008.git synced 2024-08-16 10:19:49 +02:00
Mirror of https://github.com/benedictdudel/pandoc-letter-din5008 - Pandoc template for writing Markdown letters (DIN 5008)
Find a file
2022-12-19 23:00:20 +01:00
example Add optional letter options 2022-12-19 22:56:33 +01:00
letter.latex Add workaround for one or multiple enclosures 2022-12-19 22:58:13 +01:00
LICENSE.md add license (CC-BY-SA-4.0) 2021-02-15 14:36:18 +01:00
README.md Update project description and usage guide 2022-12-19 23:00:20 +01:00

Pandoc Letter Template (DIN 5008)

Pandoc template for writing letters in Markdown and converting them into PDFs that follow the German national standard DIN 5008 for letter formatting. By using this template, you can more efficiently create professional-looking letters in a clean and organized manner. The template is customizable, so you can tailor it to your specific needs.

Preview

alt Letter

Requirements

Usage

Clone this repository or download the template with the following command:

curl https://raw.githubusercontent.com/benedictdudel/pandoc-letter-din5008/master/letter.latex --create-dirs -o ~/.pandoc/templates/letter.latex

Write your letter in markdown, using the provided example/letter.md file as a guide. You can download the example letter.md file with the following command:

curl https://raw.githubusercontent.com/benedictdudel/pandoc-letter-din5008/master/example/letter.md -o letter.md

To convert the markdown file to a PDF run:

pandoc letter.md -s -o letter.pdf --template="letter"

Customization

You can customize the look and feel of the generated PDF by modifying the variables. See example/letter.md for a full list of available variables.

Contact

If you have any questions, feel free to open an issue here or contact me via twitter at @benedictdudel