LightRAG/lightrag_webui/src/lib/extensions.ts
yangdx 335114fd7e Add KaTeX mhchem extension support and improve math rendering
- Import mhchem globally
- Add TypeScript declarations
- Fix KaTeX overflow styling
- Change p tags to div in markdown
- Update tsconfig includes
2025-09-28 15:13:04 +08:00

4 lines
143 B
TypeScript

// This file is for importing libraries that have global side effects.
// Load KaTeX mhchem extension globally
import 'katex/contrib/mhchem';