Files
2025-11-29 18:03:12 +08:00

975 B

description, argument-hint, allowed-tools, disable-model-invocation
description argument-hint allowed-tools disable-model-invocation
Convert markdown to PDF/DOCX/HTML with validation <input> <output> [options] Bash, Read true

/pandoc:convert - Convert Document

Ask Claude to validate and convert your markdown file.

Quick Reference

Basic conversions:

pandoc document.md -o document.pdf
pandoc document.md -o document.html --standalone
pandoc document.md -o document.docx

With citations:

pandoc paper.md -o paper.pdf --citeproc --number-sections

Custom options:

pandoc doc.md -o doc.pdf --pdf-engine=xelatex -V geometry:margin=1.5in

Common Issues

  • Missing LaTeX: sudo dnf install texlive-scheme-medium
  • Unicode errors: Use --pdf-engine=xelatex
  • Citations not showing: Add --citeproc flag

Ask Claude

"Validate and convert paper.md to PDF with citations" "Convert this document to HTML with table of contents" "Help me convert to PDF - it's giving errors"