AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

markdown-to-word-mermaid

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.

Original source
github
License
MIT
Pinned revision
5269f7ea2d6c3a9bfda5ed878b6726cf509121fd

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read github--markdown-to-word-mermaid at revision 5269f7ea2d6c3a9bfda5ed878b6726cf509121fd, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 3

assets/example.md


title: Mermaid delivery sample

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.