markdown-to-pdf
Installation
SKILL.md
Markdown-to-PDF rendering
Converts a finished markdown report to a PDF using pandoc and the xelatex engine, with formatting tuned for analyst-style output.
One-time install (user-side)
This skill assumes pandoc and a LaTeX engine are already on the user's PATH. It does not install anything. If either tool is missing, the render command exits with the exact install instructions and the user installs once.
macOS:
brew install pandoc basictex
sudo tlmgr update --self
sudo tlmgr install xetex
basictex is about 90 MB. Do not install mactex unless the user specifically needs the full LaTeX stack (~5 GB).
Linux (Debian/Ubuntu):