md2pdf (Pandoc + Typst)
/install openclaw-md2pdf
md2pdf
Converts Markdown to PDF with professional formatting.
Requirements
- Pandoc (v3.2+):
brew install pandoc - Typst (v0.12+):
brew install typst
Usage
bash ~/.openclaw/workspace/skills/md2pdf/scripts/md2pdf.sh "/path/to/file.md"
The PDF is saved in the same directory as the source MD file.
Features
- GitHub-style headings with horizontal rules
- Tables, bullet lists, numbered lists
- Code blocks with syntax highlighting (monospace, grey background)
- Inline code formatting
- Clickable links (blue, underlined)
- Emoji support
- German language optimized (hyphenation)
- Clean typography (Helvetica Neue / Arial)
Examples
# Single file
bash ~/.openclaw/workspace/skills/md2pdf/scripts/md2pdf.sh report.md
# → creates report.pdf in same folder
# From any agent workspace
bash ~/.openclaw/workspace/skills/md2pdf/scripts/md2pdf.sh /full/path/to/notes.md
TOOLS.md Entry
Add this to your agent's TOOLS.md:
## PDF erstellen (md2pdf)
- Markdown zu PDF: `bash ~/.openclaw/workspace/skills/md2pdf/scripts/md2pdf.sh "/pfad/zur/datei.md"`
- Das PDF wird im gleichen Ordner wie das MD abgelegt.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-md2pdf - After installation, invoke the skill by name or use
/openclaw-md2pdf - Provide required inputs per the skill's parameter spec and get structured output
What is md2pdf (Pandoc + Typst)?
Convert Markdown files to beautifully formatted PDFs using Pandoc and Typst. Supports headings, tables, code blocks, links, emojis, and GitHub-style formatti... It is an AI Agent Skill for Claude Code / OpenClaw, with 182 downloads so far.
How do I install md2pdf (Pandoc + Typst)?
Run "/install openclaw-md2pdf" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is md2pdf (Pandoc + Typst) free?
Yes, md2pdf (Pandoc + Typst) is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does md2pdf (Pandoc + Typst) support?
md2pdf (Pandoc + Typst) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created md2pdf (Pandoc + Typst)?
It is built and maintained by hansschinkenwurst78-dev (@hansschinkenwurst78-dev); the current version is v1.0.0.