Spaces:
Build error
Build error
Update app.py
Browse files
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 |
};
|