Skip to content

Convert documents between Markdown, DOCX, PDF, HTML, and LaTeX using pandoc with styling guidance.

CCM score
56 of 100
skills.sh installs
499
GitHub stars
8
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Markdown to DOCX, PDF, HTML, and Word-to-Markdown conversions, with a Google Docs import workflow
  • Includes PDF engine selection (pdflatex, xelatex, lualatex) and a no-LaTeX HTML print-to-PDF path with embedded CSS
  • Requires -f gfm for HTML output so consecutive lines and lists render correctly, with troubleshooting for common failures
  • Designed for writers and teams who need markdown converted into formatted documents for word processors or print

Install

$ npx -y skills add plinde/claude-plugins --skill pandoc -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Pandoc Document Conversion Skill

Convert documents between formats using pandoc, the universal document converter.

Prerequisites

# Check if pandoc is installed
pandoc --version

# Install via Homebrew if needed
brew install pandoc

Common Conversions

Markdown to Word (.docx)

# Basic conversion
pandoc input.md -o output.docx

# With table of contents
pandoc input.md --toc -o output.docx

# With custom reference doc (for styling)
pandoc input.md --reference-doc=template.docx -o output.docx

# Standalone with metadata
pandoc input.md -s --metadata title="Document Title" -o output.docx

Markdown to PDF

# Requires LaTeX - install one of:
#   brew install --cask basictex      # Smaller (~100MB)
#   brew install --cask mactex-no-gui # Full (~4GB)
# After install: eval "$(/usr/libexec/path_helper)" or new terminal

# Basic conversion (uses pdflatex)
pandoc input.md -o output.pdf

# With table of contents and custom margins
pandoc input.md -s --toc --toc-depth=2 -V geometry:margin=1in -o output.pdf

Details

Repository
github.com/plinde/claude-plugins
Categories
Office Files & Slides, Writing & Content
First seen
Jun 3, 2026

Questions

What does the pandoc skill do?

The pandoc skill converts documents between formats such as Markdown, DOCX, PDF, HTML and LaTeX using pandoc. It also covers document generation and preparing markdown for Google Docs or other word processors.

How do I install the pandoc skill?

Run npx -y skills add plinde/claude-plugins --skill pandoc -y in your project. The skill then lets your agent convert documents between formats with pandoc.

What do I need before using the pandoc skill?

The skill expects pandoc to be installed, which it checks with pandoc --version and installs via Homebrew with brew install pandoc. PDF output also needs a LaTeX install, such as BasicTeX or MacTeX.

Where does the pandoc skill fit among Office Files & Slides skills?

The pandoc skill sits in the Office Files & Slides category, alongside slideshow and several lark skills for documents, sheets and whiteboards. It stands out for its focus on converting Markdown into DOCX, PDF and HTML, including a GitHub Flavored Markdown workflow for clean HTML output.