LightRAG/lightrag_webui/src/main.tsx
clssck 8d099fc3ac chore: sync with upstream HKUDS/LightRAG
- Add KaTeX extensions (mhchem for chemistry, copy-tex for copying)
- Add CASCADE to AGE extension for PostgreSQL
- Remove future dependency, replace passlib with bcrypt
- Fix Jina embedding configuration and provider defaults
- Update gunicorn help text and bump API version to 0258
- Documentation and README updates
2025-12-01 21:30:19 +01:00

15 lines
544 B
TypeScript

import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import AppRouter from './AppRouter'
import './i18n.ts'
import 'katex/dist/katex.min.css'
// Import KaTeX extensions at app startup to ensure they are registered before any rendering
import 'katex/contrib/mhchem' // Chemistry formulas: \ce{} and \pu{}
import 'katex/contrib/copy-tex' // Allow copying rendered formulas as LaTeX source
createRoot(document.getElementById('root')!).render(
<StrictMode>
<AppRouter />
</StrictMode>
)