pandoc_docx_template

pandoc_docx_template

Configure styles when exporting Markdown to docx, supporting multiple Markdown note-taking software.

Agent SkillWritingOpen sourcemarkdowndocxpandoctemplate
Type
Agent Skill
Open source
Yes
GitHub Stars
★ 1.0k
Source
skill-github

Overview

pandoc_docx_template is a skill for setting styles when exporting Markdown to docx. It allows users to control paragraph text, heading numbering, and other styles in the exported document, compatible with Markdown note-taking tools such as Obsidian, Typora, and SiYuan. The skill also supports invocation by Agents like Codex and Claude Code, enabling convenient conversion of Markdown documents into Word files that follow Chinese typesetting conventions. By configuring template paths and using Lua filters, common issues during Pandoc's Markdown-to-docx conversion can be resolved.

Capabilities

  • Control paragraph text styles in exported docx
  • Control heading numbering styles in exported docx
  • Support multiple Markdown note-taking software
  • Provide Lua filters to resolve common issues

Use cases

Export Markdown notes into visually appealing Word documentsAutomatically convert Markdown to docx within an AgentCustomize image captions and stylesPreserve font colors and inline code styling

Setup

Requires: PandocNode环境
Install directly in Codex or Claude Code: `Help me install this skill: https://github.com/Achuan-2/pandoc_docx_template`; or manually create and place the required files.

This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.

FAQ

How to use this template in Typora?

Set the style file path in Preferences > Export > Word (.docx)

How to use this template in SiYuan?

Set `--reference-doc "path to word template"` in Settings > Export > Pandoc execution arguments

Related skills