Explorar o código

fix(ui): allow KaTeX inline math to be followed by punctuation (#11033)

zerone0x hai 3 semanas
pai
achega
9424f829eb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/ui/src/context/marked.tsx

+ 1 - 0
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) {