# refactor\(web\): the Mermaid code block lives in its own component file · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/commit/0a9ade9156c9a9d199b97b3042b01213c23888cb)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

Requested revision: 0a9ade9156c9a9d199b97b3042b01213c23888cb

Requested commit: 0a9ade9156c9a9d199b97b3042b01213c23888cb

Commit: 0a9ade9156c9a9d199b97b3042b01213c23888cb

Tree: aafd0717382c2e20decbf35dcbee21c69e753a76

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
refactor(web): the Mermaid code block lives in its own component file

MarkdownMermaidCodeBlock, with its diagram/source toggle and find reveal,
moves to chat/MarkdownMermaidCodeBlock.tsx next to MermaidDiagram.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

```

## Parents

- [eadb13d18e5902bba671f0fa814711ea0a479180](https://git.cafe/pingdotgg/t3code/commit/eadb13d18e5902bba671f0fa814711ea0a479180?format=markdown)

[Source at this commit](https://git.cafe/pingdotgg/t3code/tree/0a9ade9156c9a9d199b97b3042b01213c23888cb?format=markdown)
