# perf\(mobile\): highlight code with native @pierre/highlights instead of Shiki · pingdotgg/t3code

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

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

Visibility: public

Requested revision: 03649d3f730db07674d5d510a890fd3a648db18f

Requested commit: 03649d3f730db07674d5d510a890fd3a648db18f

Commit: 03649d3f730db07674d5d510a890fd3a648db18f

Tree: 939707dceb148dd7392e79f1b396081f7c821034

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
perf(mobile): highlight code with native @pierre/highlights instead of Shiki

Hermes has no WebAssembly, so wasm2c compiles @pierre/highlights' lexers to C
and a small T3Highlights Expo module runs them on iOS and Android. The file
viewer, review diffs, review comments and work-log code now tokenize
synchronously, so they render highlighted on the first frame, and review diffs
highlight every language highlights supports instead of seven.

Removes shiki, @shikijs/*, react-native-shiki-engine and its fbjni workaround.

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

```

## Parents

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

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