Markdown 公众号排版工具:左边写 Markdown,右边实时预览,一键复制到微信公众号/知乎,样式全部内联不丢失。13 套主题、数学公式、图床、版本回滚、AI 内容审查,内置 MCP Server。
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"xedit": {
"command": "npx",
"args": [
"-y",
"rotbit/xedit"
]
}
}
}
Run in terminal:
claude mcp add xedit npx -y rotbit/xedit
Add to .cursor/mcp.json:
{
"mcpServers": {
"xedit": {
"command": "npx",
"args": [
"-y",
"rotbit/xedit"
]
}
}
}
README Excerpt
<div align="center"> **Markdown 公众号排版工具 —— 左边写 Markdown,右边就是公众号里的样子,一键复制,样式不丢。** </div> --- 微信公众号后台的编辑器会丢掉 `<style>`、`class` 和伪元素,导致大多数「排版工具」粘贴过去就散架。xEdit 在复制的那一刻把主题样式**逐条内联**到每个标签上,公众号后台、知乎编辑器直接 `⌘V`,标题、引用、代码块、表格、公式全都保持原样。 不登录也能用:全部排版、预览、复制、导出功能都在浏览器里跑,文稿存本地。登录之后才有云端同步、版本历史和图床。 **排版与复制** - **一键复制**:公众号模式(主题 CSS 全部内联,代码块空白转 ` `/`<br>` 保住缩进)与知乎模式(公式转 eeimg、代码块交给知乎重新高亮)
Tools (6)
AI_ENCRYPTION_KEYAUTH_SECRETAUTH_URLDATABASE_URLNEXT_PUBLIC_SITE_URLOSS_CDN_DOMAIN
Topics
editormarkdownmarkdown-editormcpmodel-context-protocolnextjsreactself-hostedtypescriptwechatwechat-mpwriting