mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-20 19:20:37 +08:00
添加quickcommand.markdownParse接口,可视化编排支持解析markdown
This commit is contained in:
@@ -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处理",
|
||||
|
||||
Reference in New Issue
Block a user