From 0bdfd990bdb61d8ed95893ad660a861f2168fe79 Mon Sep 17 00:00:00 2001 From: hlohaus <983577+hlohaus@users.noreply.github.com> Date: Mon, 27 Jan 2025 13:04:30 +0100 Subject: Support token in OpenaiTemplate Fix image selection on mobile Support boxed inline MathJax --- g4f/gui/client/index.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'g4f/gui/client/index.html') diff --git a/g4f/gui/client/index.html b/g4f/gui/client/index.html index 5c857118..cf7b9a50 100644 --- a/g4f/gui/client/index.html +++ b/g4f/gui/client/index.html @@ -25,7 +25,11 @@ chtml: { scale: 1, displayAlign: 'left' - } + }, + tex: { + inlineMath: [['$', '$'], ['\\(', '\\)']], + displayMath: [['$$', '$$'], ['\\[', '\\]']] + }, }; @@ -246,7 +250,7 @@