@8btc/ppt-generator-mcp 0.0.19 → 0.0.21
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/dist/export-pptx.js +3 -3
- package/dist/index.js +8 -0
- package/dist/tpls/custom-1.json +1 -0
- package/dist/tpls/custom-2.json +1 -0
- package/package.json +1 -1
package/dist/export-pptx.js
CHANGED
|
@@ -659,9 +659,9 @@ const formatHTML = (html, viewportSize) => {
|
|
|
659
659
|
if (styleObj["color"]) {
|
|
660
660
|
options.color = formatColor(styleObj["color"]).color;
|
|
661
661
|
}
|
|
662
|
-
if (styleObj["background-color"]) {
|
|
663
|
-
|
|
664
|
-
}
|
|
662
|
+
// if (styleObj["background-color"]) {
|
|
663
|
+
// options.highlight = formatColor(styleObj["background-color"]).color;
|
|
664
|
+
// }
|
|
665
665
|
if (styleObj["text-decoration-line"]) {
|
|
666
666
|
if (styleObj["text-decoration-line"].indexOf("underline") !== -1) {
|
|
667
667
|
options.underline = {
|
package/dist/index.js
CHANGED
|
@@ -55,6 +55,14 @@ class PPTGeneratorMCPServer {
|
|
|
55
55
|
name: "简单模板-蓝色调",
|
|
56
56
|
path: node_path_1.default.join(__dirname, "tpls", "tpl-1.json"),
|
|
57
57
|
},
|
|
58
|
+
{
|
|
59
|
+
name: "通用模板-商务风格",
|
|
60
|
+
path: node_path_1.default.join(__dirname, "tpls", "custom-1.json"),
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "通用模板-报告风格",
|
|
64
|
+
path: node_path_1.default.join(__dirname, "tpls", "custom-2.json"),
|
|
65
|
+
},
|
|
58
66
|
]),
|
|
59
67
|
},
|
|
60
68
|
],
|