pdf-generation
Professional PDF generation from markdown using Pandoc with Eisvogel template and EB Garamond fonts. Use when converting markdown to PDF, creating white papers, research documents, marketing materials, or technical documentation. Supports both English and Russian documents with professional typography and color-coded themes. Mobile-optimized layout (6x9) by default for Telegram bot context, desktop/print layout (A4) for other contexts.
Security Assessment
Detected risks:
About pdf-generation
The pdf-generation skill allows users to generate professional-quality PDFs from markdown documents using Pandoc, a powerful document converter. It solves the problem of producing high-quality PDFs for a variety of purposes such as white papers, research documents, marketing materials, and technical documentation. The skill integrates the Eisvogel template and EB Garamond fonts to ensure excellent typography, particularly for Russian text. By supporting both mobile-optimized and desktop/print layouts, this tool provides flexibility in document presentation, whether the target output is for digital or print media.
FAQ
How do I generate a mobile-friendly PDF?
You can generate a mobile-friendly PDF by using the `pandoc` command with the `geometry` options set to 6in x 9in for the paper size and adjusting the font size and line spacing for better readability on mobile devices.
Does this skill support Russian documents?
Yes, the pdf-generation skill fully supports Russian documents. It uses the EB Garamond font to ensure professional typography for Russian text.
Can I customize the theme color of my PDF?
Yes, the theme color can be customized using the `titlepage-color` attribute in the YAML frontmatter, where you can specify the desired color for the document's title page.
Are there any specific layout requirements for generating PDFs?
Yes, for mobile-friendly PDFs, the paper size is set to 6in x 9in with minimal margins, whereas for desktop/print PDFs, the layout follows the A4 standard with larger margins and a slightly larger font size.
Is there a script available for automating the PDF generation process?
Yes, the skill includes a script `generate_pdf.py` that can automate the PDF generation process with specific templates like 'white-paper' or 'marketing'. It also supports generating PDFs with Russian text and different layout options.
Install pdf-generation
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
glebis/claude-skills