generate-pdf

Convert Markdown files into PDF documents using pandoc and LaTeX.

45|50|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/zocomputer/skills --skill generate-pdf-zocomputer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: generate-pdf
Source: https://github.com/zocomputer/skills/tree/main/Official/zo-generate-pdf
Command: npx skills add https://github.com/zocomputer/skills --skill generate-pdf-zocomputer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandoc, texlive-latex-base, texlive-fonts-recommended, texlive-xetex.

What problem does it solve?

This Skill automates the conversion of Markdown files into professionally formatted PDF documents, streamlining document creation and distribution.

Core Features & Use Cases

  • Markdown to PDF Conversion: Transforms plain text Markdown into visually appealing PDFs.
  • Customizable Formatting: Allows for adjustments in margins, font sizes, and link colors for a polished output.
  • Use Case: Convert project documentation written in Markdown into a single, shareable PDF report for stakeholders.

Quick Start

Convert the markdown file located at '/path/to/your/document.md' into a PDF file named '/path/to/your/output.pdf'.

Frequently Asked Questions about generate-pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert Markdown to PDF using pandoc and LaTeX?▼

To convert Markdown to PDF, this Skill processes plain text files using pandoc and a LaTeX distribution to generate professionally formatted PDF documents with customizable page geometry and fonts.

Do I need to install a LaTeX distribution to generate a PDF from Markdown?▼

Yes, generating a PDF from Markdown requires both pandoc and a LaTeX distribution, specifically texlive packages like texlive-xetex, to handle the document conversion and formatting.

Can I customize margins and font sizes when converting Markdown to PDF?▼

Yes, you can customize page geometry, font sizes, link colors, and code highlighting styles to produce a polished PDF output from your original Markdown document.

What is the best way to convert project documentation written in Markdown into a shareable report?▼

The best way to convert Markdown documentation into a shareable report is to automate the conversion into a single, professionally formatted PDF file suitable for stakeholder distribution.

Why does Markdown to PDF conversion fail without texlive dependencies?▼

Markdown to PDF conversion fails without texlive dependencies because pandoc relies on the underlying LaTeX engine to render the document layout, fonts, and geometry into a valid PDF.