#825 by GitHub stars
Achuan-2/pandoc_docx_template
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, fo
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
SKILL.md
Week of Oct 26, 2026 · +0 / −0 lines
Before Network or broad shell → After Network or broad shell
8f94b9938b24 → 8f94b9938b24
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Heat
1.5- Star growth, last 7 daysAhead of 36% of tracked repositories
- Star growth, last 24 hoursAhead of 3% of tracked repositories
- Rank movement, last 7 daysAhead of 3% of tracked repositories
- Commits, last 30 daysAhead of 0% of tracked repositories
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekAhead of 0% of tracked repositories
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
Individual skills in this repository
How it works
pandoc-docx-template
When your agent uses it
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.
What it loads into context
Frontmatter
74 tokensAlways available to the agent
SKILL.md
978 tokensWhen the skill is activated
Reference documents
5,712 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- Overview
- Workflow
- Markdown to DOCX
- DOCX to Markdown
- Lua Filters
- Validation
Scripts executed separately
lua/add-inline-code.lualua/image-title-to-caption-add-number.lualua/image-title-to-caption.lualua/markdown-html-recognition.lualua/preserve_font_color.luamarkdown-to-docx.luascripts/docx2md.pyscripts/md2docx.py
Files
.gitignoreasset5 bytesCHANGELOG.mddoc3,185 bytesREADME.docxasset3,932,098 bytesREADME.mddoc15,698 bytesSKILL.mdcore4,278 bytesSKILL.mdcore4,278 bytesSKILL.mdcore4,278 bytesSKILL.mdcore4,278 bytesSKILL.mdcore4,278 bytesSKILL.mdcore4,278 bytesSKILL.mdcore4,278 bytesSKILL.mdcore4,278 bytesagents/openai.yamlasset279 byteslua/add-inline-code.luaruns193 byteslua/image-title-to-caption-add-number.luaruns2,601 byteslua/image-title-to-caption.luaruns2,002 byteslua/markdown-html-recognition.luaruns8,897 byteslua/preserve_font_color.luaruns3,409 bytesmarkdown-to-docx.luaruns2,654 bytesscripts/docx2md.pyruns2,083 bytesscripts/md2docx.pyruns4,395 bytestemplates/template_sci论文-标题不编号.docxasset28,256 bytestemplates/template_sci论文-标题编号.docxasset28,518 bytestemplates/template_标题不编号-列表第二行缩进.docxasset28,129 bytestemplates/template_标题不编号-列表第二行顶格-无首行缩进.docxasset28,099 bytestemplates/template_标题不编号-列表第二行顶格.docxasset28,304 bytestemplates/template_标题编号-列表第二行缩进.docxasset27,986 bytestemplates/template_标题编号-列表第二行顶格.docxasset27,947 bytes
No excerpt is shown for this license. Read the source on GitHub.
View the complete source on GitHubSkills included
- pandoc-docx-template
Repository facts
- License
- No license detected
- Created
- Dec 14, 2023
- Last pushed
- Jul 9, 2026
- Forks
- 112
- Open issues
- 1
- Project activity
- Slowing
Rank over the last 12 weeks
Now #825 · best #542 · down 176 in 30 days
- #807 on Oct 31
- #808 on Nov 1
- #816 on Nov 2
- #820 on Nov 3
- #824 from Nov 4 to Nov 5
- #825 since Nov 6
58 earlier periods
- #532 on Aug 2
- #532 on Aug 7
- #526 on Aug 8
- #535 on Aug 9
- #555 on Aug 10
- #556 on Aug 11
- #558 on Aug 13
- #556 on Aug 14
- #542 on Aug 15
- #554 on Aug 16
- #560 on Aug 17
- #575 on Aug 18
- #563 on Aug 19
- #564 on Aug 20
- #569 on Aug 21
- #551 on Aug 22
- #574 on Aug 23
- #577 on Aug 24
- #593 on Aug 25
- #580 on Aug 26
- #586 on Aug 27
- #599 on Aug 28
- #584 on Aug 31
- #599 on Sep 1
- #592 on Sep 3
- #572 on Sep 5
- #602 on Sep 9
- #596 on Sep 11
- #596 on Sep 13
- #613 on Sep 15
- #623 on Sep 17
- #600 on Sep 19
- #618 on Sep 20
- #629 on Sep 21
- #638 on Sep 23
- #612 on Sep 24
- #611 on Sep 25
- #633 on Sep 27
- #640 on Sep 28
- #674 on Sep 29
- #654 on Sep 30
- #638 on Oct 4
- #641 on Oct 5
- #649 on Oct 6
- #690 on Oct 8
- #670 on Oct 9
- #674 on Oct 13
- #689 on Oct 14
- #677 on Oct 15
- #694 on Oct 16
- #665 on Oct 18
- #703 on Oct 19
- #704 on Oct 23
- #677 on Oct 24
- #790 on Oct 25
- #797 on Oct 28
- #801 on Oct 29
- #803 on Oct 30
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 3, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 7 notes
SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedSKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- No dangerous shell commands
- 57 network referencesin 5 files: README.md:3 CHANGELOG.md:36 lua/image-title-to-caption-add-number.lua:1 and 2 more
- 4 obfuscation signalsin 1 file: README.md:206
- No instruction overrides
- 8 executable scriptsin 8 files: lua/add-inline-code.lua:1 lua/image-title-to-caption-add-number.lua:1 lua/image-title-to-caption.lua:1 and 5 more
- No access to secrets
- No requests to vote in Hot
Show all 69 signals by file
CHANGELOG.md
- Network accessline 36
pandoc --reference-doc template.docx -s input.md -o output.docx --lua-filter image-title-to-caption.lua ``` 相关博客:https://www.achuan-2.top/post/pandoc-exports-markdown-as-docx-how-to-modify-image-title-to-title-text-instead-of-alt-t - Network accessline 38
相关博客:https://www.achuan-2.top/post/pandoc-exports-markdown-as-docx-how-to-modify-image-title-to-title-text-instead-of-alt-text-19kkpr.html - Network accessline 44
 - Network accessline 50
 - Network accessline 56
- 🐛 页边距设置为常规 - ✨ 修改blockquote导出样式,设置文本块后续样式依然是文本块  - Network accessline 57
- ✨ 修改blockquote导出样式,设置文本块后续样式依然是文本块  - ✨ 添加有序列表设置右对齐,这样编号1和11可以对齐(不顶格模板暂时没设置) - Network accessline 58
 - Network accessline 59
- ✨ 添加有序列表设置右对齐,这样编号1和11可以对齐(不顶格模板暂时没设置)  - ✨ 添加列表第二行顶格模板 - Network accessline 60
 - Network accessline 61
- ✨ 添加列表第二行顶格模板 列表第二行不顶格  - Network accessline 62
列表第二行不顶格  列表第二行顶格效果 - Network accessline 63
 - Network accessline 65

README.md
- Network accessline 3
<a href="https://www.star-history.com/?repos=Achuan-2%2Fpandoc_docx_template&type=date&legend=top-left"> - Network accessline 4
[Credential-related source omitted] - Network accessline 5
[Credential-related source omitted] - Network accessline 6
[Credential-related source omitted] - Network accessline 7
[Credential-related source omitted] - Network accessline 25
 - Network accessline 29
 - Network accessline 34
- 标题编号 or 不编号 - 列表第二行缩进 or 列表第二行顶格 <img alt="image" src="https://github.com/user-attachments/assets/f1443f6e-92d1-495c-bead-c5cf510675e7" /> - Network accessline 36
<img alt="image" src="https://github.com/user-attachments/assets/f1443f6e-92d1-495c-bead-c5cf510675e7" /> - Network accessline 69
<img alt="PixPin_2026-05-17_16-46-12" src="https://assets.b3logfile.com/siyuan/1610205759005/assets/PixPin_2026-05-17_16-46-12-20260517164614-82839lh.png" /> - Network accessline 74
<img alt="PixPin_2026-05-17_17-20-28" src="https://assets.b3logfile.com/siyuan/1610205759005/assets/PixPin_2026-05-17_17-20-28-20260517172031-ihus3h7.png" /> - Network accessline 78
<img alt="PixPin_2026-05-17_17-20-55" src="https://assets.b3logfile.com/siyuan/1610205759005/assets/PixPin_2026-05-17_17-20-55-20260517172101-dbm1lkh.png" /> - Network accessline 85
<img alt="PixPin_2026-05-17_17-08-56" src="https://assets.b3logfile.com/siyuan/1610205759005/assets/PixPin_2026-05-17_17-08-56-20260517170858-2crlf4r.png" /> - Network accessline 89
<img alt="PixPin_2026-05-17_17-11-32" src="https://assets.b3logfile.com/siyuan/1610205759005/assets/PixPin_2026-05-17_17-11-32-20260517171134-9kwxous.png" /> - Network accessline 104
帮我安装这个 skill:https://github.com/Achuan-2/pandoc_docx_template - Network accessline 112
<img alt="PixPin_2026-05-17_18-14-59" src="https://assets.b3logfile.com/siyuan/1610205759005/assets/PixPin_2026-05-17_18-14-59-20260517181501-phkv6e5.png" /> - Network accessline 117
<img alt="PixPin_2026-05-17_18-17-55" src="https://assets.b3logfile.com/siyuan/1610205759005/assets/PixPin_2026-05-17_18-17-55-20260517181800-k2i6z8j.png" /> - Network accessline 149
- [pandoc 导出docx如何对图表进行编号](https://zhuanlan.zhihu.com/p/1996674548762944192) - Network accessline 150
- [pandoc将markdown导出为docx,如何修改图片标题为title文本而不是alt文本](https://zhuanlan.zhihu.com/p/1947343878836459221) - Network accessline 151
- [pandoc 导出markdown为word不支持html标签](https://zhuanlan.zhihu.com/p/1947342033103623722) - Network accessline 152
- [pandoc 将Markdown/Html导出为Docx,如何保留字体颜色](https://zhuanlan.zhihu.com/p/1996639589587231070) - Network accessline 154
其他经验博客 - [设置word模板,Markdown 也能自动转换为美观规范的 Word 文档](https://zhuanlan.zhihu.com/p/581000852) - Network accessline 155
- [设置word模板,Markdown 也能自动转换为美观规范的 Word 文档](https://zhuanlan.zhihu.com/p/581000852) - Network accessline 156
- [全网找不到满意的 Markdown 转 Docx 模板,那就自己动手吧](https://zhuanlan.zhihu.com/p/672376543) - Network accessline 157
- [科研写作之Docx格式(Word)与Markdown如何互转](https://zhuanlan.zhihu.com/p/1984680822465376921) - Network accessline 168
 - Network accessline 188
点击「多级列表」,点击「定义新的多级列表」,打开弹窗后点击「更多」进行展开  - Network accessline 189
 - Network accessline 191
在「定义新的多级列表」弹窗,对每个级别设置编号格式和对应的标题  - Network accessline 192
 - Network accessline 196
 - Network accessline 200
 - Network accessline 206
<U+200B><U+200B> - Possible obfuscationline 206
<U+200B><U+200B> - Network accessline 216
<U+200B><U+200B> - Possible obfuscationline 216
<U+200B><U+200B> - Network accessline 218
<U+200B><U+200B> - Possible obfuscationline 218
<U+200B><U+200B> - Network accessline 227
<U+200B><U+200B> - Possible obfuscationline 227
<U+200B><U+200B> - Network accessline 262
 - Network accessline 264
pandoc 相关issue:[When pandoc sets a Word template, it cannot set highlight-style · Issue #10896 · jgm/pandoc](https://github.com/jgm/pandoc/issues/10896) - Network accessline 271
<img src="https://fastly.jsdelivr.net/gh/Achuan-2/PicBed/assets/20241128221208-2024-11-28.png" width="50%" >
lua/add-inline-code.lua
- Executable scriptline 1
Executable file
lua/image-title-to-caption-add-number.lua
lua/image-title-to-caption.lua
lua/markdown-html-recognition.lua
lua/preserve_font_color.lua
- Executable scriptline 1
Executable file
markdown-to-docx.lua
- Executable scriptline 1
Executable file
scripts/docx2md.py
- Executable scriptline 1
#!/usr/bin/env python3
scripts/md2docx.py
- Executable scriptline 1
#!/usr/bin/env python3
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Signal confidence: 5 facts
- Network access in code of documentationREADME.md:104Low confidence
- Possible obfuscation in prose of documentationREADME.md:206Low confidence
- Possible obfuscation in prose of documentationREADME.md:216Low confidence
- Possible obfuscation in prose of documentationREADME.md:218Low confidence
- Possible obfuscation in prose of documentationREADME.md:227Low confidence
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Compatible | Standard SKILL.md SKILL.md | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.
Explore alternatives and comparisons
Add this badge to your README
It updates every night and links to this page.
[](https://hotskills.dev/skill/achuan-2-pandoc_docx_template/)