Install
$ dsh plugin --profile web add github:sijidoubi/dsh-plugin-mermaidPlugin Overview & Capabilities
AI-assisted organization based on the public repository snapshot. The content must be grounded in source evidence and does not replace compatibility or security verification.
Key Capabilities
- Provides the mermaid_render tool for Mermaid source code.
- Renders Mermaid diagrams to SVG in the Node.js process using Mermaid 11 and jsdom.
- Returns SVG text, dimensions, a base64 data URI, and an optional HTTP SVG URL.
- Can serve rendered SVGs through a DSH web-server route when a webServer service is available.
- Supports configurable Mermaid themes: default, dark, neutral, and forest.
- Supports strict or loose Mermaid securityLevel configuration.
- Reports Mermaid parser errors with line and expected-token information.
Useful For
- Embed generated flowcharts, sequence diagrams, class diagrams, pie charts, or state diagrams in DSH chat responses.
- Turn an agent's Mermaid output into a directly displayable SVG image in DSH Web.
- Render Mermaid diagrams in headless contexts using the returned data URI or raw SVG.
Who It Fits
- DeepSeek Harness users who want agents to generate viewable diagrams.
- DSH plugin users running the web profile.
- Developers building workflows that need Mermaid-to-SVG rendering.
Documented Limitations
- Rendered dimensions use jsdom measurement fallbacks and estimated character widths, so extreme fonts may differ slightly from browser rendering.
- The README reports normal rendering for flowchart, sequenceDiagram, classDiagram, and pie; browser-interaction- or Canvas-dependent diagram types, including some mindmap or gantt cases, may be imperfect or fail.
- The plugin installs jsdom DOM globals such as window and document into the host Node process on first render; coexistence with other libraries that set DOM globals needs attention.
- Rendering is exclusive rather than concurrency-safe because Mermaid module state is shared.
- Web-served SVGs are held in process memory, capped at 100 images with oldest entries evicted; their URLs return 404 after DSH restarts.
- GitHub installation may require allowing the package build script in pnpm's allowBuilds configuration.
DSH Compatibility
Version-specific runtime evidence collected by DSH Plugin. A missing result means we have not tested that combination yet.
Security Signals
Objective signals discovered from package metadata and source inspection. These are not a guarantee that a plugin is safe.
package.json declares 2 runtime, 8 development, 2 peer, and 0 optional dependencies.
package.json declares DSH bundle metadata.
GitHub reports the repository license as MIT.
A root package.json was captured and can be inspected by the registry.
package.json declares a prepare lifecycle script that may run during relevant package installation workflows.
Public GitHub source metadata is available for this registry snapshot.
Source & Registry Notes
Public provenance, Registry classification, and the latest source check for this entry, kept separate from runtime verification.
- Source repository
- sijidoubi/dsh-plugin-mermaid
- Registry source
- GitHub · dsh-plugin topic
- Registry classification
- Plugin
- Source checked
- 5e96aa8 · 2026-08-16
This project is independently indexed from public source information. DSH Plugin is not affiliated with DeepSeek or the plugin author. Always check the author repository before installation.
Repository Activity
- GitHub stars
- 1GitHub stars
- Forks
- 0
- Open issues
- 0
- Last commit
- 2026-08-15
- Last release
- No release detected
Related DSH Plugins
Ranked by overlapping capabilities, use cases, plugin type, categories, and DSH profile.
Vision routing and pixel-level tools for text-only DeepSeek Harness agents with built-in free fallback.
View plugin →Comprehensive backup, restore, migration, and multi-channel sync plugin with web UI and CLI for DeepSeek Harness.
View plugin →Free and multi-engine web search provider for DeepSeek Harness with automatic fallback and web settings UI.
View plugin →DeepSeek Harness web-search plugin that adds web search, X search, and focused page fetching with structured evidence.
View plugin →