# Add copy button to chat markdown code blocks · gitcafe/t3code

[View on GitCafe](https://git.cafe/gitcafe/t3code/commit/e8896fe02d713d59c73b5212011507ef30dd9737)

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

Visibility: public

Requested revision: e8896fe02d713d59c73b5212011507ef30dd9737

Requested commit: e8896fe02d713d59c73b5212011507ef30dd9737

Commit: e8896fe02d713d59c73b5212011507ef30dd9737

Tree: 7cf6f46e013407cea5ec6a6445be9e0f6c689f4e

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Add copy button to chat markdown code blocks

- Wrap rendered markdown code blocks with a copy action button
- Show copy/check icons with transient "Copied" state and cleanup
- Style button to appear on hover/focus without shifting code layout

```

## Parents

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

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