pandoc-docx-template skill
A skill to convert Markdown to Word and back through Pandoc with ready styling templates and Lua filters
- 1,108 ★ on the repository
- Last commit
Extended access
Why this level
- Runs Pandoc and conversion scripts over project files
Install
- Works in
In your terminal, with SkillFoxx CLI
npx skillfoxx add skills/pandoc-docx-templateDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Runs Pandoc and conversion scripts over project files
This is third-party code. Review the repository files before installing.
What it does
The skill gives the agent a ready toolkit for converting between Markdown and docx with Pandoc. It bundles Word reference templates with different heading numbering and list indentation variants, templates for scientific papers, and Lua filters for HTML tags, figure captions, font color and inline code styling. It ships md2docx and docx2md scripts for repeatable conversions, and the agent can call Pandoc directly when no shell is available. It targets note apps such as Obsidian, Typora and Siyuan.
Who it is for. For people who write in Markdown but deliver documents in Word with clean formatting.
Good fit when
- You need to export Markdown to docx with a ready style
- You need to turn a docx back into Markdown
- You need consistent Word templates for reports or papers
Not a fit when
- Pandoc is not and cannot be installed on the machine
- You need a complex layout Pandoc cannot reproduce
Example request
Build a docx from this Markdown using the template without heading numberingLimitations
Pandoc must be installed, and some filters and scripts need Python and Lua. The templates target Chinese typography first; for other languages you adjust the styles by hand.
How to disable. Remove the pandoc-docx-template skill folder from the agent's skills directory.
FAQ
Which conversion directions are supported?
Markdown to docx via md2docx and docx to Markdown via docx2md, both in the scripts folder.
Are the scripts required?
No. When no shell is available, the agent calls Pandoc directly with the chosen template.
Discussion
No questions or reviews yet.
Related
Skillsmd-to-docx builds a ready Word document from Markdown: tables, footnotes, figure captions, headers and template patching.
A Firecrawl skill and CLI that lets your agent convert Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV and PDF to Markdown on your own machine
Skill guiding a LaTeX manuscript to editable DOCX with a journal template, live Zotero citations and Word cross-references.
A skill plus the docx program: the agent fills forms, edits tables and reviews Word files with tracked changes
A skill and CLI that turn Markdown into DOCX, PDF, PPTX, XLSX, PNG and about a dozen more formats, all computed locally
A document pipeline skill: anything to markdown, markdown to clean html and publisher-grade docx, and html back to markdown
README in short
The README describes a toolkit for converting Markdown and docx via Pandoc with Word reference templates, heading numbering and list indentation variants, paper templates and Lua filters. It offers md2docx and docx2md scripts for repeatable work and shows installing the skill in Claude Code, Codex and OpenClaw. It also covers calling Pandoc directly when the scripts cannot run.
README badge
Original SKILL.md
--- name: pandoc-docx-template description: "Use this skill when converting Markdown to Word DOCX or DOCX back to Markdown with Pandoc, especially when the output should use the bundled Chinese Word reference templates, heading numbering variants, list indentation variants, SCI paper templates, and Lua filters for HTML tags, image captions, font color, and inline code styles." --- # Pandoc DOCX Template ## Overview Use this skill to convert Markdown and DOCX files with Pandoc while applying the bundled Word reference templates in `templates/` and Lua filters in this folder. Prefer the scripts in `scripts/` for repeatable conversions, and call Pandoc directly when the local shell cannot run Bash scripts.