Skip to content

Commit cbac2a7

Browse files
authored
Merge pull request #86 from stackhpc/latex
Update latex delimiters for better rendering
2 parents 2f67126 + 5ffdb14 commit cbac2a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web-apps/chat/app.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ def inference_wrapper(*args):
183183
height="75vh",
184184
resizable=True,
185185
sanitize_html=True,
186+
latex_delimiters=[
187+
{"left": "$$", "right": "$$", "display": True },
188+
{"left": "$", "right": "$", "display": False }
189+
],
186190
),
187191
)
188192

0 commit comments

Comments
 (0)