Install
openclaw skills install openclaw-md2pdfConvert Markdown files to beautifully formatted PDFs using Pandoc and Typst. Supports headings, tables, code blocks, links, emojis, and GitHub-style formatting. Output lands next to the source file.
openclaw skills install openclaw-md2pdfConverts Markdown to PDF with professional formatting.
brew install pandocbrew install typstbash ~/.openclaw/workspace/skills/md2pdf/scripts/md2pdf.sh "/path/to/file.md"
The PDF is saved in the same directory as the source MD file.
# 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
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.