@xjtlumedia/markdown-mcp-server 1.0.4 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/document-analysis.js +223 -0
- package/dist/email-html.js +94 -0
- package/dist/html-import.js +158 -0
- package/dist/index.js +1067 -98
- package/dist/markdown-repair.js +263 -0
- package/dist/platform-converters.js +419 -0
- package/icon.svg +15 -0
- package/package.json +4 -4
package/icon.svg
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128" fill="none">
|
|
2
|
+
<rect width="128" height="128" rx="24" fill="#1a1a2e"/>
|
|
3
|
+
<rect x="8" y="8" width="112" height="112" rx="18" fill="#16213e"/>
|
|
4
|
+
<!-- Markdown M symbol -->
|
|
5
|
+
<path d="M28 88V40h12l12 20 12-20h12v48h-12V60l-12 20-12-20v28H28z" fill="#e94560"/>
|
|
6
|
+
<!-- Arrow -->
|
|
7
|
+
<path d="M88 58h16l-8-12z" fill="#0f3460"/>
|
|
8
|
+
<path d="M88 70h16l-8 12z" fill="#0f3460"/>
|
|
9
|
+
<rect x="86" y="60" width="20" height="8" rx="2" fill="#0f3460"/>
|
|
10
|
+
<!-- Format dots -->
|
|
11
|
+
<circle cx="96" cy="40" r="4" fill="#e94560" opacity="0.7"/>
|
|
12
|
+
<circle cx="108" cy="40" r="4" fill="#e94560" opacity="0.5"/>
|
|
13
|
+
<circle cx="96" cy="88" r="4" fill="#e94560" opacity="0.7"/>
|
|
14
|
+
<circle cx="108" cy="88" r="4" fill="#e94560" opacity="0.5"/>
|
|
15
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xjtlumedia/markdown-mcp-server",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "AI Answer Copier — MCP Server that converts Markdown to 14 formats: PDF, DOCX, HTML, LaTeX, CSV, JSON, XML, XLSX, RTF, PNG and more. Built for educators and developers.",
|
|
5
5
|
"mcpName": "io.github.XJTLUmedia/markdown-formatter",
|
|
6
6
|
"type": "module",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"inspector": "npx @modelcontextprotocol/inspector"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@modelcontextprotocol/sdk": "^
|
|
52
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
53
53
|
"docx": "^9.5.1",
|
|
54
|
-
"puppeteer": "^23.
|
|
54
|
+
"puppeteer-core": "^23.11.1",
|
|
55
55
|
"rehype-katex": "^7.0.0",
|
|
56
56
|
"rehype-parse": "^9.0.0",
|
|
57
57
|
"rehype-stringify": "^10.0.0",
|
|
@@ -69,4 +69,4 @@
|
|
|
69
69
|
"tsx": "^4.7.1",
|
|
70
70
|
"typescript": "^5.3.3"
|
|
71
71
|
}
|
|
72
|
-
}
|
|
72
|
+
}
|