Feat: handle latex

This commit is contained in:
Grail Finder
2026-04-11 17:07:16 +03:00
parent ec3ccaae90
commit 3e51ed2ceb
2 changed files with 193 additions and 1 deletions

View File

@@ -181,7 +181,9 @@ func colorText() {
for i, tb := range thinkBlocks {
text = strings.Replace(text, fmt.Sprintf(placeholderThink, i), tb, 1)
}
text = strings.ReplaceAll(text, `$\rightarrow$`, "->")
// text = strings.ReplaceAll(text, `$\rightarrow$`, "->")
text = RenderLatex(text)
text = AlignMarkdownTables(text)
textView.SetText(text)
}