agentic-mermaid-live-editor-development
Installation
SKILL.md
Agentic Mermaid live editor development
Edit the modular editor sources and preserve the contracts shared by the standalone editor and the deployed website.
Source map
| Path | Role |
|---|---|
editor/js/ |
Editor behavior. Treat sharing.js, rendering.js, and state.js as contract sources. |
editor/css/ |
Editor styling. |
editor/html/ |
Top bar and workspace partials. |
editor/examples.ts |
Canonical editor examples. |
scripts/site/editor.ts |
Assemble the standalone editor.html. |
website/build.ts |
Assemble the deployed /editor/ and all public pages that link to it. |
scripts/site/editor-state-url.ts |
Canonical build-time encoder and validator for editor-state URLs. |
src/browser.ts |
Browser renderer API exposed as window.__mermaid. |
Do not edit generated editor.html or website/public/ files directly.