diff options
| author | zerone0x <[email protected]> | 2026-01-29 06:44:35 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-28 16:44:35 -0600 |
| commit | 9424f829eb675b86543bc201fae4f0b3ed2b4f9a (patch) | |
| tree | 48298d8b8172f410b5f35ac0311e2529f0fe780e | |
| parent | 7b561be159c17f7b714d9a1bb69762f5fb4c0ab3 (diff) | |
| download | opencode-9424f829eb675b86543bc201fae4f0b3ed2b4f9a.tar.gz opencode-9424f829eb675b86543bc201fae4f0b3ed2b4f9a.zip | |
fix(ui): allow KaTeX inline math to be followed by punctuation (#11033)
| -rw-r--r-- | packages/ui/src/context/marked.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/ui/src/context/marked.tsx b/packages/ui/src/context/marked.tsx index 71881353a..0c6d58b93 100644 --- a/packages/ui/src/context/marked.tsx +++ b/packages/ui/src/context/marked.tsx @@ -475,6 +475,7 @@ export const { use: useMarked, provider: MarkedProvider } = createSimpleContext( }, markedKatex({ throwOnError: false, + nonStandard: true, }), markedShiki({ async highlight(code, lang) { |
