pandoc-docx

Convert Markdown to Word documents with pandoc and NIH reference template.

88|16|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/drpedapati/sciclaw --skill pandoc-docx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pandoc-docx
Source: https://github.com/drpedapati/sciclaw/tree/main/skills/pandoc-docx
Command: npx skills add https://github.com/drpedapati/sciclaw --skill pandoc-docx

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Converts Markdown to polished Word documents using pandoc, applying the NIH reference template by default unless a custom --reference-doc is provided.

Core Features & Use Cases

  • Converts Markdown across manuscripts, outlines, and reports into editable Word (.docx) format.
  • Automatically applies the bundled NIH reference template; respects a user-provided --reference-doc override.
  • Keeps output clean (no tracked changes) unless explicitly requested.

Quick Start

Provide Markdown content and let the skill output a ready-to-edit Word document.

Frequently Asked Questions about pandoc-docx

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

FAQPage Schema
How do I convert Markdown to a Word document using pandoc?

To convert Markdown to a Word document using pandoc, provide your Markdown content and the tool outputs a clean .docx file. It applies a bundled NIH reference template by default for manuscripts, outlines, and reports unless you specify a custom template.

Can I use a custom Word template when converting Markdown to docx?

Yes, you can use a custom Word template when converting Markdown to docx by providing the --reference-doc override. If you do not supply a custom reference document, the conversion automatically applies the default bundled NIH template.

Do I need pandoc installed to generate Word documents from Markdown?

Yes, you need pandoc installed to generate Word documents from Markdown because the conversion relies on it. The process also requires access to the bundled NIH reference template to format the output .docx file correctly.

Does converting Markdown to Word with pandoc keep tracked changes in the output?

Converting Markdown to Word with pandoc keeps the output clean without tracked changes unless explicitly requested. This ensures your manuscript, outline, or report generates as a ready-to-edit .docx document without leftover revision markup.

What is the best way to format a manuscript draft into an NIH-compliant Word document?

The best way to format a manuscript draft into an NIH-compliant Word document is converting Markdown via pandoc. It automatically applies the bundled NIH reference template, yielding a clean .docx output ready for editing and report submission.

Why does my Markdown to Word conversion not apply the correct formatting?

Markdown to Word conversion may not apply the correct formatting if the bundled NIH template is missing or if your custom --reference-doc override contains errors. Ensure pandoc is installed and the reference document is accessible during the conversion process.