Skip to content
プロジェクト

概要

General purpose themes for converting markdown to pdf using pandoc

仕事効率化・自動化

この数値の測り方

できること

  • Highlight - Pandoc does not support highlight
  • Footnotes - Typora and Pandoc deal with footnotes in very different ways, hence this feature is not implemented.
  • Lists nested further than level 4 (unless explicitly designed in the source theme)

計測したスター増加

24時間
0
7日間
0
15日間
+1
1か月
+1

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

montage of pandoc themes

Pandoc-Themes

General purpose themes for converting markdown to pdf using pandoc.

All in pure xelatex, no Lua, no Perl.

Each theme works independently of each other. The only dependency to a theme is its font folder.

Examples for each theme stored in the examples directory.

Warning: These templates are very liberal with packages and assume the user has the entirety of texlive installed.

Usage

Symlink or copy the template files to your /usr/share/haskell-pandoc/data/templates/.

Copy or symlink pandoc-fonts to /usr/share/fonts/.

pandoc --pdf-engine=xelatex -f markdown -t pdf --template=name_of_template.tex /path/to/markdown/file.md > /path/to/pdf/file.pdf

Metadata from markdown file will not be given priority. Most of the things will be set by the templates. Metadata may be used to set only basic parameters like title, subject author, etc.

Other projects

  • All of the testing is done with zathura
  • The fonts have been obtained using woff2ttf and woff2otf.py
  • typora-free for the AUR was used for visual aid
  • Themes are inspired from all those who wrote themes for Typora
  • Of course, none of this would be possible without pandoc and texlive

Features not supported

  • Highlight - Pandoc does not support highlight
  • Footnotes - Typora and Pandoc deal with footnotes in very different ways, hence this feature is not implemented.
  • Lists nested further than level 4 (unless explicitly designed in the source theme)

関連プロジェクトを探す

読み込み中…