添加quickcommand.markdownParse接口,可视化编排支持解析markdown

This commit is contained in:
fofolee
2025-02-20 20:38:51 +08:00
parent 196d54a993
commit 60ac9fbc81
10 changed files with 60 additions and 38 deletions

View File

@@ -813,14 +813,14 @@ export const dataCommands = {
width: 12,
},
{
label: "CSS选择器",
label: "CSS选择器(可选)",
component: "VariableInput",
icon: "css",
placeholder: "例如:.class",
width: 7,
},
{
label: "属性",
label: "属性(可选)",
component: "VariableInput",
icon: "colorize",
options: {
@@ -837,6 +837,25 @@ export const dataCommands = {
},
],
},
{
value: "quickcommand.markdownParse",
label: "Markdown解析",
icon: "file_download",
config: [
{
label: "要解析的Markdown",
component: "VariableInput",
icon: "file_download",
width: 12,
},
],
outputs: [
{
label: "解析后的HTML",
suggestName: "parsedHtml",
},
],
},
{
value: "JSON.stringify",
label: "JSON处理",