Index of every page on this site: llms.txt
All skills
github avatar

/markdown-to-word-mermaid

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Export Markdown containing Mermaid code fences to Word (.docx) with embedded SVG diagrams and PNG fallbacks. Use when diagram sharpness, Office-compatible labels, or page-aware placement matters. Not for Word-to-Markdown conversion, editable Office shapes, or general slide creation.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/markdown-to-word-mermaid

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

assetsexample.md

≈324 tokens on demand. Your agent reads this file only when SKILL.md points to it.

This synthetic example contains no project or customer data.

Approval flow

The document owner submits a draft. A reviewer either approves it or requests changes.

flowchart LR
    Draft[Draft] --> Review{Approved?}
    Review -->|Yes| Publish[Publish]
    Review -->|No| Revise[Revise]
    Revise --> Draft

Japanese labels

flowchart LR
    Input[入力] --> Check{確認済み?}
    Check -->|はい| Output[出力]
    Check -->|いいえ| Return[差戻し]

Tall diagram

This diagram exercises scaling and the explicit page-break rule.

flowchart TD
    Receive[Receive request] --> Validate[Validate input]
    Validate --> Read[Read Markdown]
    Read --> Parse[Parse blocks]
    Parse --> Render[Render SVG]
    Render --> Fallback[Render PNG fallback]
    Fallback --> Package[Package document]
    Package --> Inspect[Inspect package]
    Inspect --> Preview[Preview in Word]
    Preview --> Deliver[Deliver document]

Ordinary content

Item Expected result
SVG SVG retained
PNG PNG retained
Text Both languages
  • Keep the Markdown source.
  • Check the document in Word.

Vector output is not an editable Office flowchart.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts18d3 checks · Risk SAFE
  • Gen Agent Trust Hub18d

    This skill converts Markdown files to Word documents with high-quality diagrams. It follows security best practices by implementing XXE protections, avoiding shell execution in subprocess calls, and requiring user approval for dependency installations, though it inherently handles untrusted user-supplied document content.

  • Socket18d

    No alerts

  • Snyk18d

    Risk: LOW · No issues

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated last month
argument-hint
Markdown input file and optional DOCX output path
user-invocable
true

README badge

README badge for github/awesome-copilot/markdown-to-word-mermaid