
Converts markdown to professional PDFs using Pandoc with the Eisvogel template and EB Garamond fonts for Russian text. Ships with preset color themes for white papers, marketing docs, research, and technical documentation. The mobile layout option (6x9 inches) is smart, defaulting for Telegram bot contexts where people actually read on phones, while A4 stays available for print. Includes a preprocessing script that fixes Claude's tendency to write lists after colons without proper spacing, which would otherwise break PDF rendering. Honestly solves a real friction point if you're generating documentation or reports from markdown regularly.
$ npx -y skills add glebis/claude-skills --skill pdf-generation --agent claude-codeInstalls into .claude/skills of the current project.
Generate professional PDFs from markdown files using Pandoc with Eisvogel template styling. Supports English and Russian documents with customizable themes, table of contents, and professional typography including EB Garamond font for Russian text.
Basic commands:
# Desktop/Print PDF (A4 format)
pandoc doc.md -o doc.pdf --pdf-engine=xelatex --toc --toc-depth=2 -V geometry:margin=2.5cm -V fontsize=11pt -V documentclass=article
# Mobile-friendly PDF (6x9 phone screen optimized)
pandoc doc.md -o doc-mobile.pdf --pdf-engine=xelatex --toc --toc-depth=2 -V geometry:paperwidth=6in -V geometry:paperheight=9in -V geometry:margin=0.5in -V fontsize=10pt -V linestretch=1.2
# Russian PDF with EB Garamond
pandoc doc-ru.md -o doc.pdf --pdf-engine=xelatex --toc --toc-depth=2 -V geometry:margin=2.5cm -V fontsize=11pt -V documentclass=article -V mainfont="EB Garamond"
# Russian Mobile PDF
pandoc doc-ru.md -o doc-mobile.pdf --pdf-engine=xelatex --toc --toc-depth=2 -V geometry:paperwidth=6in -V geometry:paperheight=9in -V geometry:margin=0.5in -V fontsize=10pt -V linestretch=1.2 -V mainfont="EB Garamond"
Sponsors