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_
2026-08-19 22:41:50 +03:00
committed by GitHub
parent caed4db316
commit bb4ca6bfa9
4 changed files with 311 additions and 85 deletions
+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)