wtnqk/dsh-mermaid-plugin

Renders Mermaid diagrams inside the DSH right-sidebar document preview, so Markdown documents (via a Markdown-with-Mermaid preview mode) and other supported files show their flowcharts, sequence diagrams and graphs as diagrams rather than code.

dsh-mermaid-plugin renders Mermaid diagrams inside the DSH right-sidebar document preview. Open a supported file in the preview and its Mermaid source is drawn as a diagram — flowcharts, sequence diagrams and graphs — instead of raw code; for Markdown, selecting the Markdown-with-Mermaid preview mode enables rendering in the document. The README documents the npm, local-checkout, GitHub-source and packed-archive install paths along with the dsh-docker container-visible-path variant.

Web UI Enhancements ★ 0
View on GitHub ↗

Install

dsh plugin --profile web add dsh-mermaid-plugin

Copied verbatim from the README's 'Install from npm' block. The README also documents a local-checkout build (pnpm install && pnpm run build && dsh plugin --profile web add "$(pwd)"), a github:wtnqk/dsh-mermaid-plugin form (requires an allowBuilds entry because pnpm ≥10 blocks the install-time build), and a pnpm pack archive form; restart dsh web after installing.

Compatibility

A DSH Web UI plugin for the right-sidebar document preview. For Markdown files you choose the 'Markdown with Mermaid' preview mode (auto-selected when possible); other supported files open in their normal preview. Installing from GitHub builds the package on your machine, which pnpm ≥10 blocks until you allow it.

Details

Alternatives

AlexPeng07/dsh-custom-plugin · 0lidaxiang/dsh-plugin-greet · arcmosin/dsh-wordbox

More plugins in Web UI Enhancements

Browse more in Web UI Enhancements

Guides for Web UI Enhancements plugins