• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

benedictdudel/pandoc-letter-din5008: Pandoc template for writing Markdown letter ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

benedictdudel/pandoc-letter-din5008

开源软件地址(OpenSource Url):

https://github.com/benedictdudel/pandoc-letter-din5008

开源编程语言(OpenSource Language):


开源软件介绍(OpenSource Introduction):

Pandoc Letter Template (DIN 5008)

Description

This template allows you to write simple letters in Markdown and convert them into nice looking PDFs. The template is based on Koma Script and satisfies the German DIN 5008 norm for letters.

Example

A simple letter in Markdown looks like the following:

---
author: Max Mustermann
phone: +49 1234 56789
email: [email protected]
date: 01.08.2016
place: Musterstadt
subject: Titel vom Brief
return-address:
 - Musterstraße
 - 12345 Berlin
address:
 - Musterfirma GmbH
 - Max Mustermann
 - Musterstraße
 - 12345 Musterstadt
opening: Sehr geehrte Damen und Herren,
closing: Mit freundlichen Grüßen
encludes: Muster, Muster, Muster
...

The compiled result will then look like this:

alt Letter

You can also download the compiled PDF here.

Requirements

In order to use the template you must have installed the following components:

Usage

Before you can make use of the template you need to move the LaTeX template file into Pandocs template directory:

mkdir ~/.pandoc
mv your-repo-path/letter.latex ~/.pandoc/templates

After creating a letter written in Markdown you can compile it into PDF with the following line:

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

Configuration

The following yaml variables are supported:

  • opening
  • closing
  • encludes
  • author
  • phone
  • email
  • place
  • subject
  • return-address
  • address



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap