LoveMarkdown

io.github.coolnico由 GitHub 账号 coolnico 发布v1.0.2更新于 Nov 4, 2026

Markdown ⇄ Word (.docx) and Markdown → LaTeX. Native Word equations (OMML) restored as LaTeX math.

已验证STDIO仅桌面效率与工作流文件与存储

概览

AI 生成的概览

本地 MCP 服务器,可将 Markdown 转换为带样式的 Word .docx 或 LaTeX 文档,也能把 Word .docx 转回 Markdown。

可以做什么
  • 把 Markdown 转成带样式的 Word .docx,支持标题样式、列表、表格、代码块、引用、链接和分隔线
  • 把 Word .docx 转成干净的 Markdown,表格保留为 HTML,Word 原生公式还原为 LaTeX
  • 把 Markdown 转成完整可编译的 LaTeX 文档,含章节、lstlisting 代码块、tabular 表格和 amsmath 公式
  • 将转换结果写入本机文件
适用场景
适合需要把 Markdown 笔记交付为 Word 文档(供 Word 或 Google Docs 使用)、把已有 .docx 取回为 Markdown,或把 Markdown 变成论文与学位论文用 LaTeX 源码的场景。
运行要求
以 stdio 本地进程方式运行,通过 npm 包 lovemarkdown-mcp 安装,需要 Node.js 与 npm。未声明任何认证、环境变量或请求头。仅限桌面端,无网页可执行版本。
安装前请注意
这些工具会把转换结果写入磁盘,请指定你愿意被创建或覆盖的路径。Markdown 中的 LaTeX 数学公式在 .docx 输出中会退化为 Unicode 文本而非渲染效果。README 中“文件不离开设备”的说法针对其浏览器端网站,未必适用于这个本地服务器。

安装

在 SourceWeft 中

  1. 打开 控制台中的 LoveMarkdown,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

LoveMarkdown

Free online Markdown converter — convert Markdown to PDF, Word, HTML, LaTeX, Confluence, Image and more.

🌐 Live site: lovemarkdown.com

Features

  • Markdown → PDF — Custom styles, fonts & page size
  • Markdown → Word — Export to .docx for Word & Google Docs
  • Markdown → HTML — Clean HTML with syntax highlighting
  • Markdown → LaTeX — Academic papers & thesis writing
  • Markdown → Confluence — Confluence wiki markup for Atlassian
  • Markdown → Image — PNG/JPEG with frame styles for social media
  • Markdown → Google Docs — Rich text for Google Docs

All conversions happen in your browser — your files never leave your device.

Tech Stack

Getting Started

bash
# Install dependenciesnpm install
# Start development servernpm run dev
# Build for productionnpm run build
# Build for Cloudflare Workersnpm run build-cf
# Deploy to Cloudflare Workersnpm run deploy

License

MIT

来源:README.md,提交 ef598f0

工具

3

markdown_to_docx

Convert Markdown to a styled Word .docx file. Supports headings (real Word heading styles), bullet/ordered/nested lists, tables, code blocks, blockquotes, links, and horizontal rules. LaTeX math in $...$ / $$...$$ degrades to readable Unicode text (no browser rendering in this environment). Writes the file to disk and reports the output path and size.

输入参数markdown必填output_path必填

docx_to_markdown

Convert a Word .docx file to clean Markdown. Headings, bold/italic, strikethrough, links, ordered/nested lists, code blocks, and blockquotes become Markdown; tables are kept as HTML. Native Word equations (OMML) are restored as LaTeX — inline $...$, display $$...$$. Optionally also writes the .md to disk.

输入参数input_path必填output_path

markdown_to_latex

Convert Markdown to a complete, compilable LaTeX document (documentclass article, amsmath, listings, booktabs, hyperref). Headings become sections, code blocks become lstlisting environments, tables become tabular, math passes through for amsmath.

输入参数markdown必填output_path

版本历史

1
  1. v1.0.2最新Oct 21, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分