
Pandoc
This is your go-to for converting documents between formats without wrestling with export dialogs. It wraps pandoc with battle-tested commands for the most common conversions: markdown to Word, PDF, or HTML, plus reverse trips back to markdown. The real value is in the details it gets right, like using GitHub Flavored Markdown mode to prevent lists from collapsing into paragraphs, providing CSS that makes HTML output actually readable, and documenting which PDF engine handles Unicode characters. If you've ever needed to get markdown into Google Docs with formatting intact or generate a PDF without installing 4GB of LaTeX tools, the documented workarounds here will save you an hour of trial and error.
- skills.sh installs
- 495
- GitHub stars
- 8
- last updated
- Aug 21, 2026
Install
$ npx -y skills add plinde/claude-plugins --skill pandoc --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/plinde/claude-plugins
- Categories
- Frontend Development, Documentation, Code Review & Quality, Marketing & SEO, Office & Documents
- First seen
- Jun 3, 2026