md-to-pdf-deck

Installation
SKILL.md

Markdown → Polished PDF

Pipeline: Markdown → (pre-rendered mermaid SVG + GitHub alerts + cover/longread pre-processing) → pandoc HTML → WeasyPrint PDF.

Two output modes share the same dark GitHub theme and formatting primitives:

Mode Shape Use for
--layout longread Single continuous tall page, no pagination, auto-fit height, portrait width 210mm Product guides, intros, memos, reference docs — anything read top-to-bottom
--layout deck (default) A4 landscape, slide-per-heading, centered cover Weekly syncs, pitches, board updates, case studies

Shared features (both modes):

  • Dark GitHub palette (#0d1117 background, #58a6ff headings)
  • Colored emoji via Noto Color Emoji (without keycap-digit hijacking)
  • Dialog blockquotes: blue left-border + golden italics for quoted speech
  • GitHub alerts (> [!NOTE], > [!WARNING], etc.) as colored callouts
  • Mermaid diagrams pre-rendered to SVG with node labels intact
  • Tables with striped rows, code blocks with JetBrains Mono
Installs
2
Repository
piofant/skills
First Seen
Sep 14, 2026