hermes-agent/apps/desktop/src
teknium1 7ff86f4458 refactor(desktop): route preview-pane mermaid fences through shared embeds registry
Drop the duplicate mermaid-block.tsx (own mermaid.initialize + render path,
theme frozen at first load) and wire preview-file.tsx's MarkdownCode through
the existing RichCodeBlock registry from #52935 instead. One mermaid init
path, theme-flip re-init, Zoomable + copy-as-PNG, RichBoundary error
fallback — and the preview pane gets svg fences for free. Shiki block stays
as the fallback for all other languages.
2026-07-07 02:39:18 -07:00
..
app
…
components
…
fonts
…
hooks
…
i18n
…
lib
…
store
…
themes
…
types
…
global.d.ts
…
hermes-parity.test.ts
…
hermes-profile-scope.test.ts
…
hermes.test.ts
…
hermes.ts
…
main.tsx
…
styles.css
…
vite-env.d.ts
…