Token导航 LogoToken导航TokenDH.com
mdtoword (8d77f5) logo
文档知识未说明官方级别未说明来源级核验

mdtoword (8d77f5)

MCP Server

mdtoword 是一个强大的Markdown转Word工具,可将Markdown内容转换为专业格式的Word文档(.docx)。它支持所有标准Markdown语法,包括标题、段落、列表、表格、代码块和块引用。

工具数

0

提示词数

0

GitHub Stars

0

资源数

0
文档转换批量处理文档处理

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

最后核验

2026/5/17 20:19

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

mdtoword Tool Documentation (English)

Overview

mdtoword is a powerful Markdown to Word conversion tool that transforms Markdown content into professionally formatted Word documents (.docx). It supports all standard Markdown syntax including headers, paragraphs, lists, tables, code blocks, and blockquotes.

Key Features

  • Template System: Apply preset or custom templates for consistent document styling
  • Style Configuration: Fine-tune document appearance with detailed style settings
  • Chinese Document Standards: Default template follows Chinese typographic conventions
  • Batch Processing: Efficiently convert multiple Markdown files

Preset Templates

Template IDCategoryDescription
customer-analysisbusinessDefault template with Chinese standards (2-character indent)
academicacademicFormal template for academic papers
businessbusinessProfessional business report format
technicaltechnicalOptimized for technical documentation
minimalminimalClean and minimal styling

Usage Example

{
  "markdown": "# Document Title\n\nThis is a sample paragraph.",
  "filename": "output.docx",
  "template": {
    "type": "preset",
    "presetId": "business"
  }
}

Style Configuration Guide

Units

  • Twip (Tw): 1/1440 inch (used for spacing/margins)
  • Half-points: Font size unit (24 half-points = 12pt)

Color Codes (6-digit HEX)

  • 000000 - Pure black
  • 333333 - Dark gray
  • 666666 - Medium gray
  • 2E74B5 - Professional blue
  • D73A49 - Alert red

First-line Indent Calculation

  • Formula: Font size (half-points) × Character count × 10
  • Example for 24pt font (2 characters): 24 × 2 × 10 = 480 Tw

Configuration Snippet

{
  "styleConfig": {
    "paragraphStyles": {
      "normal": {
        "font": "SimSun",
        "size": 24,
        "color": "000000",
        "indent": { "firstLine": 480 },
        "spacing": { "line": 400, "after": 120 },
        "alignment": "justify"
      }
    }
  }
}

Advanced Features

  • Custom template support via base64-encoded DOCX files
  • Header/footer configuration
  • Table styling options
  • Code block syntax highlighting

目录标签

目录标签

文档转换批量处理文档处理本地部署Markdown处理Word生成模板系统

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:primaryLink / installCommand

来源信息

继续浏览同类 MCP