pandoc

Validate YAML frontmatter and dependencies for Pandoc Markdown conversions.

1|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/cadrianmae/claude-marketplace --skill pandoc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pandoc
Source: https://github.com/cadrianmae/claude-marketplace/tree/main/plugins/pandoc/skills/pandoc
Command: npx skills add https://github.com/cadrianmae/claude-marketplace --skill pandoc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyyaml, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill assists with Pandoc document conversions by automatically validating YAML frontmatter, checking dependencies (bibliography, images, CSL), and providing format-specific conversion guidance. It helps ensure readiness for PDF/DOCX/HTML or presentations and supports template generation and references.

Core Features & Use Cases

  • Frontmatter validation: checks YAML syntax, required fields, and recommended fields.
  • Dependency checks: validates bibliography (.bib), CSL file, and image paths referenced in the document.
  • Format guidance: provides step-by-step advice for converting to PDF, DOCX, HTML, Beamer, or reveal.js presentations.
  • Template & Reference assets: includes templates and reference materials to accelerate Pandoc projects.
  • Use Case: You’re preparing a Markdown manuscript with citations; the skill validates the frontmatter and guides you through a smooth Pandoc conversion workflow.

Quick Start

Validate a document and prepare a conversion plan:

  • Validate: python3 path/to/plugins/pandoc/skills/pandoc/scripts/validate.py document.md
  • Then convert: pandoc document.md -o document.pdf

Frequently Asked Questions about pandoc

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

FAQPage Schema
How do I convert Markdown documents to PDF with citations?

Pandoc converts Markdown to PDF while preserving citations through YAML frontmatter and bibliography files. Validate your frontmatter and bibliography path first, then run pandoc with --citeproc and your CSL file to generate formatted citations in the output PDF.

What does YAML frontmatter validation do for Pandoc conversions?

Frontmatter validation checks YAML syntax, confirms required fields are present, and verifies referenced dependencies like bibliography and image paths exist. This ensures your document is ready for conversion before running Pandoc, preventing mid-process failures.

Can I use Pandoc to create HTML presentations from Markdown?

Yes, Pandoc converts Markdown to reveal.js or Beamer presentation formats. Define your presentation metadata in YAML frontmatter, specify the output format, and Pandoc generates interactive HTML or PDF slides with proper styling and transitions.

How do I prepare a Markdown manuscript with bibliography for DOCX output?

Structure your Markdown with YAML frontmatter containing bibliography path and CSL reference, validate dependencies are accessible, then use pandoc with --citeproc and the .docx output format to generate a Word document with formatted citations.

What format conversions does Pandoc support from Markdown?

Pandoc converts Markdown to PDF, DOCX, HTML, Beamer presentations, and reveal.js slides. Each format supports different features; frontmatter validation and dependency checks ensure your document meets the requirements for your chosen output format.

Do I need external tools to validate Pandoc document dependencies?

The skill includes built-in validation scripts that check bibliography files, CSL references, and image paths without requiring additional tools. Run the validate script before conversion to confirm all dependencies exist and frontmatter syntax is correct.