generate-pdf

Convert Markdown files into formatted PDFs using pandoc and xelatex.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Uniquecrete/ThinkFasterv1 --skill generate-pdf-uniquecrete
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-pdf
Source: https://github.com/Uniquecrete/ThinkFasterv1/tree/main/Skills/zo-generate-pdf
Command: npx skills add https://github.com/Uniquecrete/ThinkFasterv1 --skill generate-pdf-uniquecrete

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of turning rough Markdown notes into clean, shareable PDF documents without manual formatting work.

Core Features & Use Cases

  • Markdown-to-PDF conversion: Produces formatted PDFs directly from Markdown using pandoc.
  • Professional PDF styling: Applies consistent layout settings (margins, font size), link coloring, and syntax highlighting.
  • Use case: Convert a weekly report written in Markdown into a printable PDF for stakeholders.

Quick Start

Ask it to convert your Markdown file path into a PDF by running pandoc with xelatex and saving the output to your chosen PDF path.

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 xelatex?

To convert Markdown to PDF, you run a pandoc command using the xelatex engine, specifying geometry, font size, link color, and highlight style to produce a formatted PDF output file.

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

Yes, generating a PDF from Markdown requires installing both pandoc and a TeX engine like xelatex to handle document formatting and rendering before executing the conversion command.

What is the best way to format Markdown notes into a printable PDF report?

The best way to format Markdown notes into a printable PDF report is using pandoc with xelatex, which applies professional layout settings like margins, font size, and syntax highlighting automatically.

Can I set custom margins and font size when publishing Markdown to PDF?

Yes, you can set custom margins and font size when publishing Markdown to PDF by configuring the geometry and font size parameters within your pandoc command during the conversion process.

Does pandoc support syntax highlighting for code blocks in generated PDF documents?

Yes, pandoc supports syntax highlighting for code blocks in generated PDF documents by applying a specified highlight style during the Markdown to PDF conversion using the xelatex engine.