# Fix code highlight cache behavior for streaming markdown · flambo/t3code

[View on GitCafe](https://git.cafe/flambo/t3code/commit/39eea0dcfd9a136fdd533caf057a873e2ca2c6a8)

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

Visibility: public

Requested revision: 39eea0dcfd9a136fdd533caf057a873e2ca2c6a8

Requested commit: 39eea0dcfd9a136fdd533caf057a873e2ca2c6a8

Commit: 39eea0dcfd9a136fdd533caf057a873e2ca2c6a8

Tree: f3dadef6e1de403ddb073f23d75a55ad03873344

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix code highlight cache behavior for streaming markdown

- Reuse in-flight highlight requests and allow later non-streaming renders to cache results
- Stabilize code block highlight state updates to avoid stale or redundant rerenders
- Export and reuse `fnv1a32` from `diffRendering` for shared cache key hashing

```

## Parents

- [37f0951239361c63cc42527599172a6b50f0dbc2](https://git.cafe/flambo/t3code/commit/37f0951239361c63cc42527599172a6b50f0dbc2?format=markdown)

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