
pickle-an/md-to-docx-skill
Code reviewThis page was translated automatically. Technical details may differ from the original. View the original
Markdown automatically converts to the official Word Agent Skill
Overview
A powerful Markdown-to-Word document converter Agent Skill that can automatically convert Markdown files into professional-format Word documents (.docx). - ✅ The user wants to convert a Markdown file to a Word document - ✅ The user requests to create a Word document from Markdown content - ✅ The user mentions the conversion from .md to .docx - ✅ The user needs a formatted document output - Intelligently identifies version numbers in file names and automatically increments - Supports scanning existing versions in directories and automatically numbering them - Unified management of version numbers for .docx and _normalized.md files - Font and font size settings compliant with Chinese document standards - Intelligent paragraph layout (first line indentation, line spacing) - Automatic title pagination control - Table style beautification - Code block highlighting - Optional cover page generation - First conversion: :document_V1.docx, document_V1_normalized.md - Second conversion:document_V2.docx, document_V2_normalized.md - Version input: document_V3.md → document_V4.docx - 📄 Converting technical documents to formal Word documents - 📋 Automated project report generation - 📝 Formatted meeting minutes output - 📚 Knowledge base document standardization - 📖 Book chapter formatting - Inherit page settings (margins, paper size) - Inherit style definitions (titles 1-6, body) - clear template content before adding new content - Automatically create blank documents - use default page settings (A4, 2.54cm margin) - create styles programmatically - apply consistent formatting
Overview (machine translated)
A powerful Markdown-to-Word document converter Agent Skill that can automatically convert Markdown files into professional-format Word documents (.docx).
Samples
📌 When to invoke
Call this Skill in the following cases:
- ✅ Users want to convert Markdown files into Word documents
- ✅ Users request to create Word documents from Markdown content
- ✅ User mentions the conversion from
.mdto.docx. - ✅ Users need formatted document output
🔄 Processing Procedures
✨ Core Features
🔄 Automated version management
- Intelligently detects version numbers in file names and automatically increments them
- Supports automatically numbering existing versions in the scanned directory
- Unified management of version numbers for
.docxand_normalized.mdfiles
| Scene | Input file | Output file |
|---|---|---|
| Filename without version number | document.md |
document_V1.docx、document_V1_normalized.md |
| File name with version number | document_V3.md |
document_V4.docx、document_V4_normalized.md |
| The catalog already includes V1 | document.md |
document_V2.docx、document_V2_normalized.md |
🛠️ Standardize Markdown formatting
Automatically fixing common Markdown formatting issues:
| Problem Type | Example | Fix |
|---|---|---|
| Unclosed code blocks | ` | |
| ` | ||
| No space after title | ###标题 |
→### 标题 |
| Chinese Numbers in the Title | ## 一、核心原理 |
→## 1. 核心原理 |
| Chinese Numbers in the Title | ### (一)技术细节 |
→### (1) 技术细节 |
| Unordered List No Spaces | -项目 |
→- 项目 |
| Ordered List Without Spaces | 1.项目 |
→1. 项目 |
| Partition Variant | -- or ---- |
→--- |
| Mismatched Bold Markings | **只有开头 |
Remove invalid tags |
| Mismatched italic markings | *只有开头 |
Remove invalid tags |
| Missing table delimiter | Table missing ` | — |
This page was translated automatically. Technical details may differ from the original.
Recommended Tools
Try a different keyword or remove a filter.
Install
npx skillfish add pickle-an/md-to-docx-skill