id
stringlengths
6
82
language
stringclasses
11 values
license
stringclasses
1 value
meta
unknown
path
stringclasses
67 values
product
stringclasses
3 values
text
stringlengths
20
176k
type
stringclasses
6 values
knowledge:profile:business
json
MIT
{ "applies_overrides": true, "body_font": { "east_asia": "Microsoft YaHei", "latin": "Arial" }, "body_size_pt": 11, "code_style": { "font": "Consolas", "line_spacing": 1.15, "shading_fill": null, "size_pt": 10 }, "headings": [ { "font": { "east_asia": "Microsoft Y...
null
repo
Style profile "business" — body Arial / Microsoft YaHei at 11 pt; heading 1 Arial / Microsoft YaHei at 18 pt; heading 2 Arial / Microsoft YaHei at 14 pt; heading 3 Arial / Microsoft YaHei at 12 pt; a line spacing of 1.5; margins 25.4/25.4/25.4/25.4 mm.
knowledge
knowledge:profile:official
json
MIT
{ "applies_overrides": true, "body_font": { "east_asia": "FangSong", "latin": "Times New Roman" }, "body_size_pt": 16, "code_style": { "font": "Consolas", "line_spacing": 1.15, "shading_fill": null, "size_pt": 10 }, "headings": [ { "font": { "east_asia": "SimHei",...
null
repo
Style profile "official" — body Times New Roman / FangSong at 16 pt; heading 1 Times New Roman / SimHei at 16 pt; heading 2 Times New Roman / KaiTi at 16 pt; heading 3 Times New Roman / FangSong at 16 pt; a fixed line height of 580 twips (exact); margins 37/35/28/26 mm.
knowledge
knowledge:profile:technical
json
MIT
{ "applies_overrides": true, "body_font": { "east_asia": "Microsoft YaHei", "latin": "Arial" }, "body_size_pt": 11, "code_style": { "font": "Consolas", "line_spacing": 1.05, "shading_fill": "F3F4F6", "size_pt": 10 }, "headings": [ { "font": { "east_asia": "Microso...
null
repo
Style profile "technical" — body Arial / Microsoft YaHei at 11 pt; heading 1 Arial / Microsoft YaHei at 16 pt; heading 2 Arial / Microsoft YaHei at 14 pt; heading 3 Arial / Microsoft YaHei at 12 pt; a line spacing of 1.35; margins 19/19/19/19 mm.
knowledge
knowledge:profile:template
json
MIT
{ "applies_overrides": false, "id": "template", "kind": "profile" }
null
repo
Style profile "template" — the reference template is used exactly as it is, with no overrides.
knowledge
knowledge:profile:thesis
json
MIT
{ "applies_overrides": true, "body_font": { "east_asia": "SimSun", "latin": "Times New Roman" }, "body_size_pt": 12, "code_style": { "font": "Consolas", "line_spacing": 1.15, "shading_fill": "F3F4F6", "size_pt": 10 }, "headings": [ { "font": { "east_asia": "SimHei...
null
repo
Style profile "thesis" — body Times New Roman / SimSun at 12 pt; heading 1 Times New Roman / SimHei at 22 pt; heading 2 Times New Roman / SimHei at 16 pt; heading 3 Times New Roman / SimHei at 14 pt; a line spacing of 1.5; margins 30/30/30/30 mm.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.bodyFont
json
MIT
{ "dify_parameter": "body_font", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.bodyFont" }
null
repo
The VS Code setting mdocxConverter.bodyFont and the Dify parameter body_font control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.bodySizePt
json
MIT
{ "dify_parameter": "body_size_pt", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.bodySizePt" }
null
repo
The VS Code setting mdocxConverter.bodySizePt and the Dify parameter body_size_pt control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.heading1Font
json
MIT
{ "dify_parameter": "heading1_font", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.heading1Font" }
null
repo
The VS Code setting mdocxConverter.heading1Font and the Dify parameter heading1_font control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.heading1SizePt
json
MIT
{ "dify_parameter": "heading1_size_pt", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.heading1SizePt" }
null
repo
The VS Code setting mdocxConverter.heading1SizePt and the Dify parameter heading1_size_pt control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.heading2Font
json
MIT
{ "dify_parameter": "heading2_font", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.heading2Font" }
null
repo
The VS Code setting mdocxConverter.heading2Font and the Dify parameter heading2_font control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.heading2SizePt
json
MIT
{ "dify_parameter": "heading2_size_pt", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.heading2SizePt" }
null
repo
The VS Code setting mdocxConverter.heading2SizePt and the Dify parameter heading2_size_pt control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.heading3Font
json
MIT
{ "dify_parameter": "heading3_font", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.heading3Font" }
null
repo
The VS Code setting mdocxConverter.heading3Font and the Dify parameter heading3_font control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.heading3SizePt
json
MIT
{ "dify_parameter": "heading3_size_pt", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.heading3SizePt" }
null
repo
The VS Code setting mdocxConverter.heading3SizePt and the Dify parameter heading3_size_pt control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.lineSpacing
json
MIT
{ "dify_parameter": "line_spacing", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.lineSpacing" }
null
repo
The VS Code setting mdocxConverter.lineSpacing and the Dify parameter line_spacing control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.marginBottomMm
json
MIT
{ "dify_parameter": "margin_bottom_mm", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.marginBottomMm" }
null
repo
The VS Code setting mdocxConverter.marginBottomMm and the Dify parameter margin_bottom_mm control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.marginLeftMm
json
MIT
{ "dify_parameter": "margin_left_mm", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.marginLeftMm" }
null
repo
The VS Code setting mdocxConverter.marginLeftMm and the Dify parameter margin_left_mm control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.marginRightMm
json
MIT
{ "dify_parameter": "margin_right_mm", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.marginRightMm" }
null
repo
The VS Code setting mdocxConverter.marginRightMm and the Dify parameter margin_right_mm control the same thing.
knowledge
knowledge:settings_parameter_mapping:mdocxConverter.marginTopMm
json
MIT
{ "dify_parameter": "margin_top_mm", "kind": "settings_parameter_mapping", "vscode_setting": "mdocxConverter.marginTopMm" }
null
repo
The VS Code setting mdocxConverter.marginTopMm and the Dify parameter margin_top_mm control the same thing.
knowledge
knowledge:template:reference_chinese_academic.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_chinese_academic.docx", "file": "reference_chinese_academic.docx", "kind": "template", "language": "zh", "used_by_profiles": [ "academic", "template" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_chinese_academi...
null
repo
Bundled template reference_chinese_academic.docx — zh variant, used by the academic, template profile(s).
knowledge
knowledge:template:reference_chinese_business.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_chinese_business.docx", "file": "reference_chinese_business.docx", "kind": "template", "language": "zh", "used_by_profiles": [ "business" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_chinese_business.docx" }
null
repo
Bundled template reference_chinese_business.docx — zh variant, used by the business profile(s).
knowledge
knowledge:template:reference_chinese_official.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_chinese_official.docx", "file": "reference_chinese_official.docx", "kind": "template", "language": "zh", "used_by_profiles": [ "official" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_chinese_official.docx" }
null
repo
Bundled template reference_chinese_official.docx — zh variant, used by the official profile(s).
knowledge
knowledge:template:reference_chinese_technical.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_chinese_technical.docx", "file": "reference_chinese_technical.docx", "kind": "template", "language": "zh", "used_by_profiles": [ "technical" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_chinese_technical.docx" }
null
repo
Bundled template reference_chinese_technical.docx — zh variant, used by the technical profile(s).
knowledge
knowledge:template:reference_chinese_thesis.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_chinese_thesis.docx", "file": "reference_chinese_thesis.docx", "kind": "template", "language": "zh", "used_by_profiles": [ "thesis" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_chinese_thesis.docx" }
null
repo
Bundled template reference_chinese_thesis.docx — zh variant, used by the thesis profile(s).
knowledge
knowledge:template:reference_english_academic.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_english_academic.docx", "file": "reference_english_academic.docx", "kind": "template", "language": "en", "used_by_profiles": [ "academic", "template" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_english_academi...
null
repo
Bundled template reference_english_academic.docx — en variant, used by the academic, template profile(s).
knowledge
knowledge:template:reference_english_business.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_english_business.docx", "file": "reference_english_business.docx", "kind": "template", "language": "en", "used_by_profiles": [ "business" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_english_business.docx" }
null
repo
Bundled template reference_english_business.docx — en variant, used by the business profile(s).
knowledge
knowledge:template:reference_english_official.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_english_official.docx", "file": "reference_english_official.docx", "kind": "template", "language": "en", "used_by_profiles": [ "official" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_english_official.docx" }
null
repo
Bundled template reference_english_official.docx — en variant, used by the official profile(s).
knowledge
knowledge:template:reference_english_technical.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_english_technical.docx", "file": "reference_english_technical.docx", "kind": "template", "language": "en", "used_by_profiles": [ "technical" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_english_technical.docx" }
null
repo
Bundled template reference_english_technical.docx — en variant, used by the technical profile(s).
knowledge
knowledge:template:reference_english_thesis.docx
json
MIT
{ "dify_path": "dify-plugin-MD2Docx/multi-templates/reference_english_thesis.docx", "file": "reference_english_thesis.docx", "kind": "template", "language": "en", "used_by_profiles": [ "thesis" ], "vsc_path": "VSC-plugin-MD2Docx-Converter/multi-templates/reference_english_thesis.docx" }
null
repo
Bundled template reference_english_thesis.docx — en variant, used by the thesis profile(s).
knowledge
knowledge:tool_parameter:md_to_docx:markdown_content
json
MIT
{ "description": "The Markdown text to convert (max 5 MB and 5,000 image references; supports GFM syntax, Mermaid code blocks, tables, and data-URI images).", "form": "llm", "kind": "tool_parameter", "name": "markdown_content", "required": true, "tool": "md_to_docx", "type": "string" }
null
dify-plugin
md_to_docx parameter markdown_content (string, required) — The Markdown text to convert (max 5 MB and 5,000 image references; supports GFM syntax, Mermaid code blocks, tables, and data-URI images).
knowledge
knowledge:tool_parameter:md_to_docx:mermaid_api_url
json
MIT
{ "description": "Custom Mermaid Ink API base URL for self-hosted instances. Leave empty to use the public https://mermaid.ink service.", "form": "form", "kind": "tool_parameter", "name": "mermaid_api_url", "required": false, "tool": "md_to_docx", "type": "string" }
null
dify-plugin
md_to_docx parameter mermaid_api_url (string, optional) — Custom Mermaid Ink API base URL for self-hosted instances. Leave empty to use the public https://mermaid.ink service.
knowledge
knowledge:tool_parameter:md_to_docx:mermaid_enabled
json
MIT
{ "default": true, "description": "When enabled, ```mermaid code blocks are rendered to images via the public Mermaid Ink API. Disable for offline use or privacy.", "form": "form", "kind": "tool_parameter", "name": "mermaid_enabled", "required": false, "tool": "md_to_docx", "type": "boolean" }
null
dify-plugin
md_to_docx parameter mermaid_enabled (boolean, optional) — When enabled, ```mermaid code blocks are rendered to images via the public Mermaid Ink API. Disable for offline use or privacy.
knowledge
knowledge:tool_parameter:md_to_docx:reference_language
json
MIT
{ "default": "auto", "description": "Template language. Auto-detect samples the first 20K characters to determine Chinese vs English.", "enum": [ "auto", "english", "chinese" ], "form": "form", "kind": "tool_parameter", "name": "reference_language", "required": false, "tool": "md_to_docx",...
null
dify-plugin
md_to_docx parameter reference_language (select, optional) — Template language. Auto-detect samples the first 20K characters to determine Chinese vs English.
knowledge
knowledge:tool_parameter:md_to_docx:style_profile
json
MIT
{ "default": "academic", "description": "Document style preset with font, size, and spacing defaults.", "enum": [ "technical", "business", "official", "academic", "thesis", "template" ], "form": "form", "kind": "tool_parameter", "name": "style_profile", "required": false, "tool...
null
dify-plugin
md_to_docx parameter style_profile (select, optional) — Document style preset with font, size, and spacing defaults.
knowledge
knowledge:tool_parameter:md_to_docx:title
json
MIT
{ "description": "Title for the output DOCX file (without .docx extension). Defaults to 'Document'.", "form": "llm", "kind": "tool_parameter", "name": "title", "required": false, "tool": "md_to_docx", "type": "string" }
null
dify-plugin
md_to_docx parameter title (string, optional) — Title for the output DOCX file (without .docx extension). Defaults to 'Document'.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:body_font
json
MIT
{ "description": "Override body text font. Leave empty to use profile default.", "form": "form", "kind": "tool_parameter", "name": "body_font", "required": false, "tool": "md_to_docx_advanced", "type": "string" }
null
dify-plugin
md_to_docx_advanced parameter body_font (string, optional) — Override body text font. Leave empty to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:body_size_pt
json
MIT
{ "default": 0, "description": "Override body font size in points. Set 0 to use profile default.", "form": "form", "kind": "tool_parameter", "name": "body_size_pt", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter body_size_pt (number, optional) — Override body font size in points. Set 0 to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:heading1_font
json
MIT
{ "description": "Override heading 1 font. Leave empty to use profile default.", "form": "form", "kind": "tool_parameter", "name": "heading1_font", "required": false, "tool": "md_to_docx_advanced", "type": "string" }
null
dify-plugin
md_to_docx_advanced parameter heading1_font (string, optional) — Override heading 1 font. Leave empty to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:heading1_size_pt
json
MIT
{ "default": 0, "description": "Override heading 1 font size in points. Set 0 to use profile default.", "form": "form", "kind": "tool_parameter", "name": "heading1_size_pt", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter heading1_size_pt (number, optional) — Override heading 1 font size in points. Set 0 to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:heading2_font
json
MIT
{ "description": "Override heading 2 font. Leave empty to use profile default.", "form": "form", "kind": "tool_parameter", "name": "heading2_font", "required": false, "tool": "md_to_docx_advanced", "type": "string" }
null
dify-plugin
md_to_docx_advanced parameter heading2_font (string, optional) — Override heading 2 font. Leave empty to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:heading2_size_pt
json
MIT
{ "default": 0, "description": "Override heading 2 font size in points. Set 0 to use profile default.", "form": "form", "kind": "tool_parameter", "name": "heading2_size_pt", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter heading2_size_pt (number, optional) — Override heading 2 font size in points. Set 0 to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:heading3_font
json
MIT
{ "description": "Override heading 3 font. Leave empty to use profile default.", "form": "form", "kind": "tool_parameter", "name": "heading3_font", "required": false, "tool": "md_to_docx_advanced", "type": "string" }
null
dify-plugin
md_to_docx_advanced parameter heading3_font (string, optional) — Override heading 3 font. Leave empty to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:heading3_size_pt
json
MIT
{ "default": 0, "description": "Override heading 3 font size in points. Set 0 to use profile default.", "form": "form", "kind": "tool_parameter", "name": "heading3_size_pt", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter heading3_size_pt (number, optional) — Override heading 3 font size in points. Set 0 to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:line_spacing
json
MIT
{ "default": 0, "description": "Line spacing multiplier (e.g., 1.0, 1.25, 1.5, 2.0). Set 0 to use profile default.", "form": "form", "kind": "tool_parameter", "name": "line_spacing", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter line_spacing (number, optional) — Line spacing multiplier (e.g., 1.0, 1.25, 1.5, 2.0). Set 0 to use profile default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:margin_bottom_mm
json
MIT
{ "default": 0, "description": "Bottom page margin in millimeters. Set 0 for default.", "form": "form", "kind": "tool_parameter", "name": "margin_bottom_mm", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter margin_bottom_mm (number, optional) — Bottom page margin in millimeters. Set 0 for default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:margin_left_mm
json
MIT
{ "default": 0, "description": "Left page margin in millimeters. Set 0 for default.", "form": "form", "kind": "tool_parameter", "name": "margin_left_mm", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter margin_left_mm (number, optional) — Left page margin in millimeters. Set 0 for default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:margin_right_mm
json
MIT
{ "default": 0, "description": "Right page margin in millimeters. Set 0 for default.", "form": "form", "kind": "tool_parameter", "name": "margin_right_mm", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter margin_right_mm (number, optional) — Right page margin in millimeters. Set 0 for default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:margin_top_mm
json
MIT
{ "default": 0, "description": "Top page margin in millimeters. Set 0 for default.", "form": "form", "kind": "tool_parameter", "name": "margin_top_mm", "required": false, "tool": "md_to_docx_advanced", "type": "number" }
null
dify-plugin
md_to_docx_advanced parameter margin_top_mm (number, optional) — Top page margin in millimeters. Set 0 for default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:markdown_content
json
MIT
{ "description": "The Markdown text to convert (max 5 MB and 5,000 image references; images must use data URIs). Also set a style_profile below.", "form": "llm", "kind": "tool_parameter", "name": "markdown_content", "required": true, "tool": "md_to_docx_advanced", "type": "string" }
null
dify-plugin
md_to_docx_advanced parameter markdown_content (string, required) — The Markdown text to convert (max 5 MB and 5,000 image references; images must use data URIs). Also set a style_profile below.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:mermaid_api_url
json
MIT
{ "description": "Self-hosted Mermaid Ink URL. Leave empty for the public service.", "form": "form", "kind": "tool_parameter", "name": "mermaid_api_url", "required": false, "tool": "md_to_docx_advanced", "type": "string" }
null
dify-plugin
md_to_docx_advanced parameter mermaid_api_url (string, optional) — Self-hosted Mermaid Ink URL. Leave empty for the public service.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:mermaid_enabled
json
MIT
{ "default": true, "description": "Render ```mermaid blocks to images. Disable for offline use.", "form": "form", "kind": "tool_parameter", "name": "mermaid_enabled", "required": false, "tool": "md_to_docx_advanced", "type": "boolean" }
null
dify-plugin
md_to_docx_advanced parameter mermaid_enabled (boolean, optional) — Render ```mermaid blocks to images. Disable for offline use.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:reference_language
json
MIT
{ "default": "auto", "description": "Template language. Auto-detect by default.", "enum": [ "auto", "english", "chinese" ], "form": "form", "kind": "tool_parameter", "name": "reference_language", "required": false, "tool": "md_to_docx_advanced", "type": "select" }
null
dify-plugin
md_to_docx_advanced parameter reference_language (select, optional) — Template language. Auto-detect by default.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:style_profile
json
MIT
{ "default": "academic", "description": "Base style profile. Override individual settings below.", "enum": [ "technical", "business", "official", "academic", "thesis", "template" ], "form": "form", "kind": "tool_parameter", "name": "style_profile", "required": false, "tool": "m...
null
dify-plugin
md_to_docx_advanced parameter style_profile (select, optional) — Base style profile. Override individual settings below.
knowledge
knowledge:tool_parameter:md_to_docx_advanced:title
json
MIT
{ "description": "Title for the output DOCX file. Defaults to 'Document'.", "form": "llm", "kind": "tool_parameter", "name": "title", "required": false, "tool": "md_to_docx_advanced", "type": "string" }
null
dify-plugin
md_to_docx_advanced parameter title (string, optional) — Title for the output DOCX file. Defaults to 'Document'.
knowledge
knowledge:tool_parameter:mermaid_converter:mermaid_api_url
json
MIT
{ "description": "Custom Mermaid Ink API base URL. Leave empty for the public https://mermaid.ink.", "form": "form", "kind": "tool_parameter", "name": "mermaid_api_url", "required": false, "tool": "mermaid_converter", "type": "string" }
null
dify-plugin
mermaid_converter parameter mermaid_api_url (string, optional) — Custom Mermaid Ink API base URL. Leave empty for the public https://mermaid.ink.
knowledge
knowledge:tool_parameter:mermaid_converter:mermaid_code
json
MIT
{ "description": "The Mermaid diagram syntax (e.g., 'graph TD; A-->B'). Code block fences optional.", "form": "llm", "kind": "tool_parameter", "name": "mermaid_code", "required": true, "tool": "mermaid_converter", "type": "string" }
null
dify-plugin
mermaid_converter parameter mermaid_code (string, required) — The Mermaid diagram syntax (e.g., 'graph TD; A-->B'). Code block fences optional.
knowledge
qa:000
en
MIT
{ "answer": "Two products do this. The Dify plugin md2docx exposes the md_to_docx tool for workflows and agents; the VS Code extension alexmultiagent.mdocx-converter exports a .md file from the explorer context menu. Both run Markdown through Pandoc with a reference template — one of the ten bundled ones unless you s...
null
repo
How do I convert a Markdown file to a Word document? Two products do this. The Dify plugin md2docx exposes the md_to_docx tool for workflows and agents; the VS Code extension alexmultiagent.mdocx-converter exports a .md file from the explorer context menu. Both run Markdown through Pandoc with a reference template — o...
qa
qa:001
en
MIT
{ "answer": "Use md2docx (the Dify plugin). It ships ten reference templates — academic, technical, business, official and thesis, each in an English and a Chinese variant — and picks the Chinese one automatically by sampling the first 20,000 characters for CJK text. The Chinese templates use SimSun, SimHei, FangSong...
null
repo
How do I export Markdown to a Word document with Chinese formatting? Use md2docx (the Dify plugin). It ships ten reference templates — academic, technical, business, official and thesis, each in an English and a Chinese variant — and picks the Chinese one automatically by sampling the first 20,000 characters for CJK t...
qa
qa:002
en
MIT
{ "answer": "The Dify plugin has a standalone mermaid_converter tool, and the VS Code extension has the Render Mermaid Diagram to Image command, which writes the image into a mermaid-images folder next to the document and inserts the reference. The format follows the renderer: PNG by default, SVG when the local Merma...
null
repo
How do I turn a Mermaid diagram into an image? The Dify plugin has a standalone mermaid_converter tool, and the VS Code extension has the Render Mermaid Diagram to Image command, which writes the image into a mermaid-images folder next to the document and inserts the reference. The format follows the renderer: PNG by ...
qa
qa:003
en
MIT
{ "answer": "The official preset, which follows GB/T 9704: 16 pt Times New Roman with FangSong body text, SimHei, KaiTi and FangSong headings, a fixed 29 pt line height and the prescribed margins. It is a typography approximation — it does not generate the full submission package.", "question": "Which tool should I...
null
repo
Which tool should I use for a公文 / official Chinese document? The official preset, which follows GB/T 9704: 16 pt Times New Roman with FangSong body text, SimHei, KaiTi and FangSong headings, a fixed 29 pt line height and the prescribed margins. It is a typography approximation — it does not generate the full submissio...
qa
qa:004
en
MIT
{ "answer": "Yes — the thesis preset follows GB/T 7713: 12 pt Times New Roman with SimSun body text, SimHei headings from 22 pt down and 30 mm margins. Again it covers the typography, not the front matter of a thesis submission.", "question": "Can I use this for a university thesis?" }
null
repo
Can I use this for a university thesis? Yes — the thesis preset follows GB/T 7713: 12 pt Times New Roman with SimSun body text, SimHei headings from 22 pt down and 30 mm margins. Again it covers the typography, not the front matter of a thesis submission.
qa
qa:005
en
MIT
{ "answer": "Yes. The VS Code extension has thirteen mdocxConverter.* settings for this, and the Dify plugin's md_to_docx_advanced tool has the same thirteen controls under different names. An empty value or zero falls back to the profile default.", "question": "Can I override the font, size, line spacing and margi...
null
repo
Can I override the font, size, line spacing and margins? Yes. The VS Code extension has thirteen mdocxConverter.* settings for this, and the Dify plugin's md_to_docx_advanced tool has the same thirteen controls under different names. An empty value or zero falls back to the profile default.
qa
qa:006
en
MIT
{ "answer": "No. It runs Pandoc with --sandbox, which blocks URL fetches and local file reads, so every image must be a data: URI. Mermaid output is inlined that way automatically, but your own ![](logo.png) will not resolve.", "question": "Does the Dify plugin fetch images from the internet?" }
null
repo
Does the Dify plugin fetch images from the internet? No. It runs Pandoc with --sandbox, which blocks URL fetches and local file reads, so every image must be a data: URI. Mermaid output is inlined that way automatically, but your own ![](logo.png) will not resolve.
qa
qa:007
en
MIT
{ "answer": "In the VS Code extension the local Mermaid CLI is used first and the Mermaid Ink API is only the fallback, and you are told before the first request to an origin. In the Dify plugin the Mermaid Ink API is the renderer; set mermaid_enabled to false or point mermaid_api_url at a self-hosted instance to kee...
null
repo
Does my Mermaid diagram leave my machine? In the VS Code extension the local Mermaid CLI is used first and the Mermaid Ink API is only the fallback, and you are told before the first request to an origin. In the Dify plugin the Mermaid Ink API is the renderer; set mermaid_enabled to false or point mermaid_api_url at a...
qa
qa:008
en
MIT
{ "answer": "The VS Code extension needs a Pandoc executable on the machine and does not bundle one. The Dify plugin ships the Pandoc binary inside the pypandoc-binary wheel, so it needs no separate installation and makes no download at run time.", "question": "Does it need Pandoc installed?" }
null
repo
Does it need Pandoc installed? The VS Code extension needs a Pandoc executable on the machine and does not bundle one. The Dify plugin ships the Pandoc binary inside the pypandoc-binary wheel, so it needs no separate installation and makes no download at run time.
qa
qa:009
en
MIT
{ "answer": "The extension for local, interactive work on your own files; the plugin for automated pipelines, workflows and agents where the Markdown arrives as data. They run the same pipeline and ship the same ten templates, so the output matches for the same profile and language; they differ in how the reference t...
null
repo
Which one should I pick — the VS Code extension or the Dify plugin? The extension for local, interactive work on your own files; the plugin for automated pipelines, workflows and agents where the Markdown arrives as data. They run the same pipeline and ship the same ten templates, so the output matches for the same pr...
qa
test:VSC-plugin-MD2Docx-Converter/test/unit/checkEnvironment.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/checkEnvironment.test.js
vscode-extension
'use strict'; const test = require('node:test'); const assert = require('node:assert/strict'); const fs = require('fs'); const path = require('path'); const { EXTENSION_ROOT, createExtensionContext, createVscodeStub, loadExtension, makeTempDir, startFakeMermaidInkServer, withTimeout } = re...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/document.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/document.test.js
vscode-extension
const test = require('node:test'); const assert = require('node:assert/strict'); const { extractDocumentTitle, resolveDocumentTitle, sanitizeFileName } = require('../../out/document.js'); test('extractDocumentTitle returns the first ATX heading', () => { assert.equal(extractDocumentTitle('# 标题\n\n正文'), '标题'); ...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/docxParts.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/docxParts.test.js
vscode-extension
const test = require('node:test'); const assert = require('node:assert/strict'); const AdmZip = require('adm-zip'); const { findDocxPart } = require('../../out/docxParts.js'); const BACKSLASH = String.fromCharCode(92); /** A zip whose part names use backslashes, the way some Windows writers do. */ function buildZipW...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/docxStyles.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/docxStyles.test.js
vscode-extension
const test = require('node:test'); const assert = require('node:assert/strict'); const { buildDocxStyleOverrides, upsertStyleOverride, ensureChildElement, upsertInsideElement, upsertLineSpacingAttributes, normalizeDocxStyleOrder, BODY_STYLE_NAMES, HEADING_1_STYLE_NAMES } = require('../.....
test
test:VSC-plugin-MD2Docx-Converter/test/unit/exportCancellation.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/exportCancellation.test.js
vscode-extension
'use strict'; const test = require('node:test'); const assert = require('node:assert/strict'); const fs = require('fs'); const os = require('os'); const path = require('path'); const { createExtensionContext, createVscodeStub, isProcessAlive, loadExtension, makeTempDir, startFakeMermaidInkServ...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/exportProgress.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/exportProgress.test.js
vscode-extension
'use strict'; const test = require('node:test'); const assert = require('node:assert/strict'); const fs = require('fs'); const path = require('path'); const AdmZip = require('adm-zip'); const { BUNDLED_TEMPLATE, createExtensionContext, createVscodeStub, isProcessAlive, loadExtension, makeTempD...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/language.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/language.test.js
vscode-extension
const test = require('node:test'); const assert = require('node:assert/strict'); const { detectMarkdownLanguage, resolveReferenceLanguage, normalizeReferenceLanguage, normalizeReferenceLanguageSetting } = require('../../out/language.js'); test('detectMarkdownLanguage picks chinese for CJK-heavy text', () => { asse...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/mermaid.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/mermaid.test.js
vscode-extension
const test = require('node:test'); const assert = require('node:assert/strict'); const zlib = require('zlib'); const { parseMermaidBlocks, encodeMermaidPako, isPngImage, validateMermaidApiUrl, renderMermaidWithRetry, MERMAID_BLOCK_REGEX, MERMAID_MAX_ATTEMPTS, MERMAID_RETRY_DELAYS_MS, ...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/process.test.js
javascript
MIT
{ "scrubbed": true }
VSC-plugin-MD2Docx-Converter/test/unit/process.test.js
vscode-extension
'use strict'; const test = require('node:test'); const assert = require('node:assert/strict'); const fs = require('fs'); const path = require('path'); const { execExecutable, escapeCmdArgument, buildCmdCommandLine } = require('../../out/process.js'); const { CancellationTokenSource, makeTempDir } = require('./support...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/profiles.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/profiles.test.js
vscode-extension
const test = require('node:test'); const assert = require('node:assert/strict'); const fs = require('fs'); const path = require('path'); const { PROFILE_PRESETS, TEMPLATE_LAYOUT, normalizeStyleProfile, resolveFontPair, resolveLineSpacingTwips, buildPandocMetadata, resolveMarginsMm, norma...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/smoke.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/smoke.test.js
vscode-extension
const test = require('node:test'); const assert = require('node:assert/strict'); test('test harness runs', () => { assert.equal(1 + 1, 2); });
test
test:VSC-plugin-MD2Docx-Converter/test/unit/support/vscode-stub.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/support/vscode-stub.js
vscode-extension
'use strict'; /** * A stub of the `vscode` module plus a loader for `out/extension.js`. * * The extension host is not available to `node --test`, so the extension is * loaded with `Module._load` intercepting the `vscode` request. Everything * the extension touches at runtime is implemented here: the output channe...
test
test:VSC-plugin-MD2Docx-Converter/test/unit/templates.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/templates.test.js
vscode-extension
const test = require('node:test'); const assert = require('node:assert/strict'); const fs = require('fs'); const path = require('path'); const AdmZip = require('adm-zip'); const TEMPLATE_DIR = path.join(__dirname, '..', '..', 'multi-templates'); const { PROFILE_PRESETS, TEMPLATE_LAYOUT } = require('../../out/profiles....
test
test:VSC-plugin-MD2Docx-Converter/test/unit/workspaceTrust.test.js
javascript
MIT
{}
VSC-plugin-MD2Docx-Converter/test/unit/workspaceTrust.test.js
vscode-extension
'use strict'; const test = require('node:test'); const assert = require('node:assert/strict'); const fs = require('fs'); const path = require('path'); const { createExtensionContext, createVscodeStub, loadExtension, makeTempDir } = require('./support/vscode-stub.js'); const EXPORT_COMMAND_ID = 'mdocx...
test
test:dify-plugin-MD2Docx/tests/conftest.py
python
MIT
{}
dify-plugin-MD2Docx/tests/conftest.py
dify-plugin
""" pytest configuration — shared fixtures and import guards for the md2docx test suite. """ import importlib import pytest # The dify_plugin import guard: if dify_plugin is not available, all tests in # this session are skipped because md2docx.py imports it at module level. # # The module is loaded through importlib...
test
test:dify-plugin-MD2Docx/tests/smoke_test.py
python
MIT
{}
dify-plugin-MD2Docx/tests/smoke_test.py
dify-plugin
""" Smoke tests for md2docx conversion pipeline. Run outside Dify to verify core logic works. """ import os import re import sys import shutil import pytest sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "src")) from md2docx import ( detect_language, resolve_template, preprocess_mermaid...
test
test:dify-plugin-MD2Docx/tests/test_docx_output.py
python
MIT
{}
dify-plugin-MD2Docx/tests/test_docx_output.py
dify-plugin
""" Integration tests: full pandoc conversion + style overrides. Verifies the generated DOCX has correct font, size, spacing, and margins. All tests require pandoc binary (auto-downloaded by pypandoc on first run). """ import os import sys import io import pytest pytestmark = pytest.mark.slow sys.path.insert(0, os.p...
test
test:dify-plugin-MD2Docx/tests/test_invoke.py
python
MIT
{}
dify-plugin-MD2Docx/tests/test_invoke.py
dify-plugin
""" Unit tests for Md2DocxTool._invoke with mocked dependencies. Requires dify_plugin to be installed (it's in requirements.txt). """ import os import sys import io import pytest sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "src")) # ── Message collector helper ─────────────────────────────────...
test
test:dify-plugin-MD2Docx/tests/test_mermaid_api_url.py
python
MIT
{}
dify-plugin-MD2Docx/tests/test_mermaid_api_url.py
dify-plugin
""" Tests for the Mermaid Ink URL validation. The URL arrives as a tool parameter, so it can carry whatever the document under conversion asks for. It must not be able to reach the host the plugin runs on or the cloud instance metadata endpoints. """ import ipaddress import os import socket import sys import pytest i...
test
test:dify-plugin-MD2Docx/tests/test_mermaid_converter.py
python
MIT
{}
dify-plugin-MD2Docx/tests/test_mermaid_converter.py
dify-plugin
""" Tests for the standalone Mermaid-to-PNG tool. The tool talks to the public Mermaid Ink API, so the network is mocked here. """ import os import sys sys.path.insert(0, os.path.join(os.path.dirname(__file__), "..", "src")) PNG_SIGNATURE = b"\x89PNG\r\n\x1a\n" class FakeMessage: def __init__(self, msg_type, d...
test
test:dify-plugin-MD2Docx/tests/test_mermaid_live.py
python
MIT
{}
dify-plugin-MD2Docx/tests/test_mermaid_live.py
dify-plugin
"""Optional live Mermaid Ink integration test.""" import os import sys from pathlib import Path import pytest sys.path.insert(0, str(Path(__file__).resolve().parents[1] / "src")) pytestmark = [ pytest.mark.integration, pytest.mark.skipif( os.environ.get("RUN_LIVE_MERMAID") != "1", reason="s...
test
test:dify-plugin-MD2Docx/tests/test_packaging.py
python
MIT
{}
dify-plugin-MD2Docx/tests/test_packaging.py
dify-plugin
"""Packaging contract tests for the Dify plugin archive.""" import hashlib import importlib.util import os import subprocess import sys import zipfile from pathlib import Path import yaml PLUGIN_ROOT = Path(__file__).resolve().parents[1] _PACKAGE_SPEC = importlib.util.spec_from_file_location( "md2docx_package_s...
test
test:dify-plugin-MD2Docx/tests/test_robustness.py
python
MIT
{}
dify-plugin-MD2Docx/tests/test_robustness.py
dify-plugin
""" Tests for the failure paths of the conversion. Every one of them is about what the plugin does when something goes wrong: it must clean up after itself, it must stop when it is told to, and it must not hand the caller more than it needs to know. """ import glob import os import subprocess import sys import tempfil...
test