Convert Markdown to PDF via Pandoc with two rendering engines.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# md-to-pdf
Convert Markdown to PDF via Pandoc with two rendering engines.
## When to Use
- Reports, manuscripts, and printable documentation
- Documents needing high-fidelity typography (LaTeX engine)
- Faster turnaround drafts (HTML/wkhtmltopdf engine)
## What's Here
`md-to-pdf.cjs` — Node script that wraps Pandoc.
## External Dependencies
- `node` (≥ 16)
- `pandoc` (≥ 3.0) on PATH
- One of:
- `lualatex` / TeX Live (high-quality typography, slower)
- `wkhtmltopdf` (HTML route, faster, less precise)
## Usage
```bash
node md-to-pdf.cjs input.md
node md-to-pdf.cjs input.md --engine lualatex
node md-to-pdf.cjs input.md --engine wkhtmltopdf
node md-to-pdf.cjs input.md --output custom.pdf
```
The script auto-detects available engines if `--engine` is omitted, preferring `lualatex` when present.
## Frontmatter Hooks
YAML frontmatter is forwarded to Pandoc. Useful keys:
```yaml
---
title: My Document
author: Your Name
date: 2026-04-28
toc: true
geometry: margin=1in
---
```
## Notes
- Mermaid diagrams are pre-rendered to PNG and embedded
- Code blocks get syntax highlighting via Pandoc's `--highlight-style`
…
The line at the top of this page pins the label git:20260728.6d4ccd2, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_wyo2u5qycvibdmuf
GET https://markdownregistry.com/api/v1/resolve?ref=fabioc-aloha/alex_skill_mall/md-to-pdf
GET https://markdownregistry.com/api/v1/blob/856b12e27bf5eb916ec8a305aed6055498ecc0445541e0a067f880cbdf3d2fa8
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
fabioc-aloha/alex_skill_mall · .github/skills/source-inventory/SKILL.md · Maintain the source registry in sources/supported-stores.json — add a new third-party plugin store, retire one, refresh…
fabioc-aloha/alex_skill_mall · .github/skills/staleness-discipline/SKILL.md · Detect, classify, and prune stale source stores in the Mall — define what stale means and how to remove gracefully…
fabioc-aloha/alex_skill_mall · .github/skills/store-evaluation/SKILL.md · Evaluate a proposed store for inclusion in Alex_ACT_Plugin_Mall using a quality scorecard
fabioc-aloha/alex_skill_mall · plugins/3d-graphics/spline-3d-integration/skills/spline-3d-integration/SKILL.md · Use when adding interactive 3D scenes from Spline.design to web projects, including React embedding and runtime control…
fabioc-aloha/alex_skill_mall · plugins/academic-research/academic-paper-drafting/skills/academic-paper-drafting/SKILL.md · End-to-end academic paper drafting for CHI, HBR, journals, and conferences with venue-specific templates, drafting…
fabioc-aloha/alex_skill_mall · plugins/academic-research/academic-research/skills/academic-research/SKILL.md · Research project scaffolding, thesis/dissertation writing, literature reviews, publication workflows, and the AI…
kochetkov-ma/claude-brewcode · brewdoc/.codex/skills/md-to-pdf/SKILL.md · Convert Markdown to PDF via reportlab or weasyprint engines. Triggers - pdf, md to pdf, markdown to pdf, generate pdf.
kochetkov-ma/claude-brewcode · .codex/plugins/brewdoc/skills/md-to-pdf/SKILL.md · Convert Markdown to PDF via reportlab or weasyprint engines. Triggers - pdf, md to pdf, markdown to pdf, generate pdf.
kochetkov-ma/claude-brewcode · brewdoc/skills/md-to-pdf/SKILL.md · Convert Markdown to PDF via reportlab or weasyprint engines. Triggers - pdf, md to pdf, markdown to pdf, generate pdf.