GitPedia
dannote

dannote/folio

Print-quality PDF/SVG/PNG from Markdown + Elixir, powered by Typst

6 Releases
Latest: 1mo ago
v0.3.1Latest
github-actions[bot]github-actions[bot]·1mo ago·May 12, 2026
GitHub
v0.3.0
github-actions[bot]github-actions[bot]·1mo ago·May 12, 2026
GitHub
v0.2.3
github-actions[bot]github-actions[bot]·2mo ago·April 24, 2026
GitHub
v0.2.2
github-actions[bot]github-actions[bot]·2mo ago·April 24, 2026
GitHub
v0.2.1
github-actions[bot]github-actions[bot]·2mo ago·April 24, 2026
GitHub
v0.1.0 — First Public Releasev0.1.0
dannotedannote·1mo ago·May 12, 2026
GitHub

📦 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