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
Benedict Dudel 024fc3046c
Merge pull request #18 from drupol/links
Add support for `links`
2022-12-23 14:43:56 +01:00
example Use same indention level in example 2022-12-19 23:24:12 +01:00
letter.latex add support for links 2022-12-23 10:27:10 +01:00
LICENSE.md add license (CC-BY-SA-4.0) 2021-02-15 14:36:18 +01:00
README.md Center preview image in README 2022-12-19 23:03:55 +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

Letter Preview

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