Agent skill · writing content · claude-office-skills
md-to-office
>
Why this skill is useful
Provides specific Pandoc commands and templates for converting Markdown to various Office formats that the AI wouldn't reliably generate on its own.
What it needs
Requires pandoc installed locally. About 5k tokens when loaded. Last updated 2026-01-31. 363 stars on the source repository.
What this skill does
Markdown to Office Skill Overview This skill enables conversion from Markdown to various Office formats using Pandoc - the universal document converter. Convert your Markdown files to professional Word documents, PowerPoint presentations, PDFs, and more while preserving formatting and structure. How to Use 1. Provide the Markdown content or file 2. Specify the target format (docx, pptx, pdf, etc.) 3. Optionally provide a reference template for styling 4. I'll convert using Pandoc with optimal settings Example prompts: "Convert this README.md to a professional Word document" "Turn my markdown notes into a PowerPoint presentation" "Generate a PDF from this markdown with custom styling" "Create a Word doc from this markdown using company template" Domain Knowledge Pandoc Fundamentals Supported Conversions From To Command ------ ----- --------- Markdown Word pandoc in.md -o out.docx Markdown PDF pandoc in.md -o out.pdf Markdown PowerPoint pandoc in.md -o out.pptx Markdown HTML pandoc in.md -o out.html Markdown LaTeX pandoc in.md -o out.tex Markdown EPUB pandoc in.md -o out.epub Markdown to Word (.docx) Basic Conversion With Template (Reference Doc) With Table of Contents With Metadata Markdown to PDF Via LaTeX (Best Quality) Via HTML/wkhtmltopdf PDF Options Markdown to PowerPoint (.pptx) Basic Conversion Markdown Structure for Slides With Template YAML Frontmatter Add metadata at the top of your Markdown: Python Integration pypandoc (Python Wrapper) Best Practices 1. Use Templates: Create a reference document for consistent branding 2. Structure Headers: Use consistent heading levels (## for slides, # for sections) 3. Test Incrementally: Convert small sections first to verify formatting 4. Include Metadata: Use YAML frontmatter for document properties 5. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills claude-office-skills/md-to-office