dannote/folio
Print-quality PDF/SVG/PNG from Markdown + Elixir, powered by Typst
6 Releases
Latest: 1mo ago
v0.3.1Latest
v0.3.0
v0.2.3
v0.2.2
v0.2.1
v0.1.0 — First Public Releasev0.1.0
📦 Installation
- def deps do
- [{:folio, "~> 0.1"}]
- end
📦 Highlights
- `~MD` sigil — Markdown with `#{}` Elixir interpolation, `p`/`s` modifiers for PDF/SVG
- 40+ DSL builder functions — `heading`, `strong`, `table`, `image`, `math`, etc.
- Style system — page size/margins, fonts, colors, headers/footers, heading numbering
- Bibliography & citations
- PDF, SVG, and PNG export with configurable DPI
- Direct Typst content tree construction — no source generation, no parser/evaluator
- 107 tests, CI clean (credo, dialyzer, ex_dna)
- Full docs at https://hexdocs.pm/folio
