feat(chat): render LaTeX formulas natively (#939)

* feat(chat): render LaTeX formulas

Support native inline and display math with accessible Compose rendering.

* perf(chat): reuse LaTeX parsing state

Share one measurer per message and skip redundant math splitting.
This commit is contained in:
AlexDev_ authored and GitHub committed 2026-08-19 22:41:50 +03:00
1 parent caed4db316
commit bb4ca6bfa9
4 files changed
+311 -85

No files matched your search

+5
View File
@@ -165,6 +165,11 @@ dependencies {
implementation(libs.retrofit.converter.kotlinx.serialization)
implementation(libs.kotlinx.serialization.json)
// Native Compose LaTeX rendering
implementation(libs.latex.base)
implementation(libs.latex.parser)
implementation(libs.latex.renderer)
// Image loading
implementation(libs.coil.compose)
implementation(libs.coil.gif)