{"_id":"@bndynet/ichat-renderer-mermaid","_rev":"7-112004484ea5a2269b3b155378aea0c6","name":"@bndynet/ichat-renderer-mermaid","dist-tags":{"latest":"3.3.2"},"versions":{"3.0.0":{"name":"@bndynet/ichat-renderer-mermaid","version":"3.0.0","license":"MIT","_id":"@bndynet/ichat-renderer-mermaid@3.0.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"56eba23ebb3b20213e850ba164625b9dc6d2a857","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-mermaid/-/ichat-renderer-mermaid-3.0.0.tgz","fileCount":8,"integrity":"sha512-hB3qho+/QArz5fG30AEGEELIdUQaJR1wG5aCJOEbd0NjoDZLd+dF52FpyWqsk+rnaWxYSINvB/idRLWSa0ER5g==","signatures":[{"sig":"MEUCIQDX4lzcSA489l15BDkehEoGaxMDRU9z7XZr9KB+69p9jgIgL85XYFhYASmA1jjWfUvAFPNizJC1X+ehpA6xb9O0J+s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":158350},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9ac441b3d400e4681e0306a0e604f404b9c11a2c","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"bndy","email":"zb@bndy.net"},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"10.8.2","description":"Mermaid diagram fenced-code renderer for @bndynet/ichat: theme-aware diagrams with async rendering.","directories":{},"_nodeVersion":"20.20.1","dependencies":{"mermaid":"^11.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","mermaid":"^11.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@types/markdown-it":"^14.1.2","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-mermaid_3.0.0_1785413163970_0.9086304818842947","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@bndynet/ichat-renderer-mermaid","version":"3.1.0","license":"MIT","_id":"@bndynet/ichat-renderer-mermaid@3.1.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"7c8c719de5939ea9de86c07de760d187e9542368","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-mermaid/-/ichat-renderer-mermaid-3.1.0.tgz","fileCount":8,"integrity":"sha512-9tbjaADijhQG1bbzr0dAD6NEvb9U33pPpxiR0kOzMfYW6C/hf6T4GgtKzLNQR/+/y1ap1IstTIXaB8U+9ymlSw==","signatures":[{"sig":"MEQCIG9joK713IdQ6gdhoe73yZKKA0rsiHqoUmdHO9S2GqUBAiBN2RQ051BxwnifE9KVNUVeyhksRB9S/n3UprqD9PPFdg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-mermaid@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":158350},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"c0351eecede67b4ad11bf97f1bd75f5c4bcd63b5","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b7af44a1-aa95-4fa3-af09-0daebc693481"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.16.0","description":"Mermaid diagram fenced-code renderer for @bndynet/ichat: theme-aware diagrams with async rendering.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"mermaid":"^11.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","mermaid":"^11.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@types/markdown-it":"^14.1.2","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-mermaid_3.1.0_1785635682112_0.5159049021703663","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"@bndynet/ichat-renderer-mermaid","version":"3.2.0","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","fenced-code","mermaid","diagram","flowchart"],"license":"MIT","_id":"@bndynet/ichat-renderer-mermaid@3.2.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"a30f60f625921a37ad5f31524976062b546e7930","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-mermaid/-/ichat-renderer-mermaid-3.2.0.tgz","fileCount":8,"integrity":"sha512-UHMcUqIHNipaNf7GheDB7oFxxr6gxBRenMrpCb598n0BMpMQklkb97J9wMEWUGvE57KGwaqFCY8qL3MfHEtP6A==","signatures":[{"sig":"MEUCIQCs5dxxfGop+GR0uVWiIzuCmsJUrVym3NWQwnDIFRH+pAIgUiUPqlnEb9OPuaGbvA7zzNBMj8nGUGMC0eJwPdIlQPs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-mermaid@3.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":111682},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5ca80b316e1f65ab073ed8b2cdb0c79994b1af74","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b7af44a1-aa95-4fa3-af09-0daebc693481"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.16.0","description":"Mermaid diagram fenced-code renderer for @bndynet/ichat: theme-aware diagrams with async rendering.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"mermaid":"^11.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","mermaid":"^11.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@types/markdown-it":"^14.1.2","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-mermaid_3.2.0_1786027149156_0.09358725805043977","host":"s3://npm-registry-packages-npm-production"}},"3.2.1":{"name":"@bndynet/ichat-renderer-mermaid","version":"3.2.1","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","fenced-code","mermaid","diagram","flowchart"],"license":"MIT","_id":"@bndynet/ichat-renderer-mermaid@3.2.1","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"799579d9d5d247accd9ef8caadf04c4f3a8bfe21","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-mermaid/-/ichat-renderer-mermaid-3.2.1.tgz","fileCount":8,"integrity":"sha512-uJvWxG3Pg92pZQLOR4TOT4qSNpJk2WNqolbStPkTghXvQ+HIfQDTekPOQao4+OjUoZw6/YsVBnTCpwluE+Dw4w==","signatures":[{"sig":"MEYCIQCsFK1YsstsUgqIm/Fsd4xdJ95u0Cjq1dbnGs7JCVogygIhAMqkl9kkeUZQAA/LY0phIf+Fpqn/xvjHa6Nd1WPSvcNh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-mermaid@3.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":111682},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a35cb154968cefc9fef5ec1246a8326be607d6a9","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b7af44a1-aa95-4fa3-af09-0daebc693481"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.16.0","description":"Mermaid diagram fenced-code renderer for @bndynet/ichat: theme-aware diagrams with async rendering.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"mermaid":"^11.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","mermaid":"^11.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@types/markdown-it":"^14.1.2","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.2.1"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-mermaid_3.2.1_1786105395532_0.10125732682391186","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"@bndynet/ichat-renderer-mermaid","version":"3.3.0","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","fenced-code","mermaid","diagram","flowchart"],"license":"MIT","_id":"@bndynet/ichat-renderer-mermaid@3.3.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"eefb0777819cb3361ea849a1e5cf44cefc9ed758","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-mermaid/-/ichat-renderer-mermaid-3.3.0.tgz","fileCount":9,"integrity":"sha512-gwgjbalDQAtQJ2ru7wee1tdCIUrU7OvguqtIrUkXaE0oDmRPN524i6vy6K/5Qct1sSCUNROnmR7Zhy7KvMPoiw==","signatures":[{"sig":"MEUCIQCHKmfQNEL7dYfvn/qhzqq+Q/h+Lw86NjlRGRL55U12NgIgBzhXcEvd4W3UAWm9J1U04zcqRfXVpXwLFcAKBQX5DJc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-mermaid@3.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":112591},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"53344d480e393cd5c1ff8d1c4764086482be9f43","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b7af44a1-aa95-4fa3-af09-0daebc693481"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.17.0","description":"Mermaid diagram fenced-code renderer for @bndynet/ichat: theme-aware diagrams with async rendering.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"mermaid":"^11.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","mermaid":"^11.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@types/markdown-it":"^14.1.2","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-mermaid_3.3.0_1787146368011_0.18758560512926215","host":"s3://npm-registry-packages-npm-production"}},"3.3.1":{"name":"@bndynet/ichat-renderer-mermaid","version":"3.3.1","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","fenced-code","mermaid","diagram","flowchart"],"license":"MIT","_id":"@bndynet/ichat-renderer-mermaid@3.3.1","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"0f284799936d79fc7368b87623814f4639503ace","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-mermaid/-/ichat-renderer-mermaid-3.3.1.tgz","fileCount":9,"integrity":"sha512-urYwc7HRYYUWZxlRTdMxEFfuGt4TKGBL8X9Ur+Pgi4lMDWuB42S9QgRtnYpKzP6/G2KH5ZaSP67qVKe3IqyX7A==","signatures":[{"sig":"MEUCIQC22F+CIo+7+P8DuIsKBuuwTAxDUC7nDeO+pZJSX9ZRgQIgIHXZtOTqrM9hncMPAFaDyZRYZGizaaMcAWo8k0gyoJs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-mermaid@3.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":112591},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"51e38edd7ebd3c1bced6a369ac186543c6c48f1b","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b7af44a1-aa95-4fa3-af09-0daebc693481"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.17.0","description":"Mermaid diagram fenced-code renderer for @bndynet/ichat: theme-aware diagrams with async rendering.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"mermaid":"^11.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","mermaid":"^11.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@types/markdown-it":"^14.1.2","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.3.1"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-mermaid_3.3.1_1787574143918_0.38550973403424993","host":"s3://npm-registry-packages-npm-production"}},"3.3.2":{"_id":"@bndynet/ichat-renderer-mermaid@3.3.2","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"9100ec73660d05594a68373c3a5ef0294ebd0147","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-mermaid/-/ichat-renderer-mermaid-3.3.2.tgz","fileCount":9,"integrity":"sha512-AvAQ5nh8b9HDL3Bru8THO2oCSkrlr/j6ASt1deTwV9wqSeD6oj/FiVxSCa5gBJzoIEipI4VgbuBwzEhy0fJ0Jw==","signatures":[{"sig":"MEYCIQD/5Lv5h9kdRmpwXiLoNEeoZWkI1AaHl1WJ6QcT9Y6wSQIhAOxIqhtkKzVeMrUM0/+6dFvRp48d/7lkTxMwNIm6vSev","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDpEOHSHUofkX+iHg2GEEIANeWvWi4GzoydTIfIvdbyvAIhALgACImDTiR2BDTRdq4FkFmzvBfmtgB8AX+NIIGfJDu9"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-mermaid@3.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":112591},"main":"./dist/index.cjs","name":"@bndynet/ichat-renderer-mermaid","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"d79e83a0272726bfb03b5848d183ec5b3ea05336","license":"MIT","scripts":{"dev":"tsup --watch","build":"tsup"},"version":"3.3.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b7af44a1-aa95-4fa3-af09-0daebc693481"}},"homepage":"https://github.com/bndynet/ichat#readme","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","fenced-code","mermaid","diagram","flowchart"],"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.19.0","description":"Mermaid diagram fenced-code renderer for @bndynet/ichat: theme-aware diagrams with async rendering.","directories":{},"maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"_nodeVersion":"24.21.0","dependencies":{"mermaid":"^11.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","mermaid":"^11.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@types/markdown-it":"^14.1.2","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.3.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ichat-renderer-mermaid_3.3.2_1790428441394_0.12362247997718745"}}},"time":{"created":"2026-07-30T12:06:03.437Z","modified":"2026-09-26T13:14:01.776Z","3.0.0":"2026-07-30T12:06:04.123Z","3.1.0":"2026-08-02T01:54:42.248Z","3.2.0":"2026-08-06T14:39:09.318Z","3.2.1":"2026-08-07T12:23:15.732Z","3.3.0":"2026-08-19T13:32:48.195Z","3.3.1":"2026-08-24T12:22:24.051Z","3.3.2":"2026-09-26T13:14:01.468Z"},"bugs":{"url":"https://github.com/bndynet/ichat/issues"},"license":"MIT","homepage":"https://github.com/bndynet/ichat#readme","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","fenced-code","mermaid","diagram","flowchart"],"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"description":"Mermaid diagram fenced-code renderer for @bndynet/ichat: theme-aware diagrams with async rendering.","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"readme":"# @bndynet/ichat-renderer-mermaid\n\nMermaid diagram fenced-code renderer for iChat. Renders ````mermaid` fence blocks as SVG diagrams with theme-aware dark/light mode support.\n\n## Install\n\n```bash\nnpm install @bndynet/ichat-renderer-mermaid\n```\n\n## Usage\n\nImport **before** the first `<i-chat>` element connects to the DOM — auto-registers on import:\n\n```typescript\nimport \"@bndynet/ichat-renderer-mermaid\";\n```\n\nOr register manually with custom options:\n\n```typescript\nimport { registerCodeRenderer } from \"@bndynet/ichat\";\nimport { createMermaidRenderer } from \"@bndynet/ichat-renderer-mermaid\";\n\nregisterCodeRenderer(createMermaidRenderer({ codeToggle: false }));\n```\n\n## Features\n\n- Async rendering — non-blocking, renders on connect\n- Theme-aware — auto-refreshes on dark/light mode toggle\n- Streaming-safe — handles incomplete syntax gracefully\n- Code toggle — \"view source\" button overlay\n\n## API\n\n| Export                         | Description                                 |\n| ------------------------------ | ------------------------------------------- |\n| `mermaidRenderer`              | Pre-built `BlockRenderer` (code toggle on)  |\n| `createMermaidRenderer(opts?)` | Factory with customizable `RendererOptions` |\n| `mermaidPlugin`                | markdown-it plugin (for `md.use()`)         |\n| `ChatMermaid`                  | `<i-chat-mermaid>` custom element class     |\n\n## Dependencies\n\nAll runtime dependencies are auto-installed (`mermaid`, `markdown-it`). `@bndynet/ichat-messages` is a peer dependency.\n\nThe renderer uses the library's audited `trusted: true` path so the\n`<i-chat-mermaid>` custom element is preserved. Mermaid source is HTML-escaped\nbefore insertion; consumers do not need to change the renderer security config.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}