{"repo":"andyburri/pandoc-typst-template","free":true,"listed":false,"github":"https://github.com/andyburri/pandoc-typst-template","clone":"git clone https://github.com/andyburri/pandoc-typst-template.git","description":"A pandoc Typst template to convert markdown files to PDF or Typst.","language":"Lua","stars":10,"topics":["markdown","pandoc","pandoc-template","pdf","pdf-converter","pdf-generation","typst"],"license":"Unlicense","category":"media-processing","readme_excerpt":"Bergfink A Pandoc template for generating PDFs with Typst, plus Lua filters and a small build helper. Based on the Eisvogel template. Preview Custom title page Basic example page ----------------------------------------------- --------------------------------------------------- Requirements - Pandoc 3.0 or newer - Typst (used as --pdf-engine ) - Optional, for diagrams: Mermaid CLI ( mmdc ) and PlantUML ( plantuml ) - Optional, for make preview : pdftoppm (poppler-utils) Quick start Clone the repository and run the helper from the repo root: This writes examples/basic-example/document.pdf next to the Markdown source. To emit Typst instead of PDF: md2pdf.py provides the same interface if you prefer Python. Project layout Path Purpose :------------------------ :----------------------------------------------------------------------------------------------- template/ Typst template ( bergfink.typst ), config ( user cfg.typ ), YAML table helpers ( yamltable.typ ) filters/ Lua filters applied by md2pdf.sh md2pdf.sh / md2pdf.py Wrapper around Pandoc with the right template and filters examples/ Sample documents; run make pdf to build them all Configuration Put your customizations in template/user cfg.typ . Define a #let user cfg = (...) dictionary with only the keys you want to change; they are merged on top of the template defaults. Do not edit template/base cfg.typ — it is maintained with the template and may change between versions. Settings are merged in this order (later wins): ","default_branch":null,"files":null,"tree":[],"storefront":"/r/andyburri","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/andyburri/pandoc-typst-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}