POLRAMBORA commited on
Commit
ede9b19
·
verified ·
1 Parent(s): 83e8fdb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -147,8 +147,16 @@ def render_message(history):
147
  <script type="text/javascript">
148
  MathJax = {
149
  tex: {
150
- inlineMath: [['$', '$'], ['\\(', '\\)']],
151
- displayMath: [['$$', '$$'], ['\\[', '\\]']]
 
 
 
 
 
 
 
 
152
  },
153
  svg: { fontCache: 'global' }
154
  };
 
147
  <script type="text/javascript">
148
  MathJax = {
149
  tex: {
150
+ inlineMath: [['\\(', '\\)']],
151
+ displayMath: [
152
+ ['\\[', '\\]'],
153
+ ['\\begin{equation}', '\\end{equation}'],
154
+ ['\\begin{align}', '\\end{align}'],
155
+ ['\\begin{alignat}', '\\end{alignat}'],
156
+ ['\\begin{gather}', '\\end{gather}'],
157
+ ['\\begin{CD}', '\\end{CD}']
158
+ ],
159
+ processEscapes: true
160
  },
161
  svg: { fontCache: 'global' }
162
  };