SIGN IN SIGN UP

fix(ui): use oniguruma wasm engine for markdown code highlighting

The JS regex engine in @pierre/diffs can cause catastrophic backtracking
on certain TextMate grammars (e.g. powershell), freezing the main thread.
Switch to a dedicated oniguruma WASM-based highlighter for markdown code
blocks. Diff components still use the existing @pierre/diffs highlighter.
Add try/catch fallback and regression tests.
J
Jack committed
96a2ca3c7e2e17e08e6fef986056aa528b1da150
Parent: a598eca