Spaces:
Sleeping
Sleeping
binary-husky
commited on
Commit
•
e5b7613
1
Parent(s):
1c4e853
from github.com/polarwinkel/mdtex2html
Browse files- show_math.py +3 -1
show_math.py
CHANGED
@@ -1,3 +1,5 @@
|
|
|
|
|
|
1 |
from latex2mathml.converter import convert as tex2mathml
|
2 |
import re
|
3 |
|
@@ -75,4 +77,4 @@ def convert(mdtex, extensions=[], splitParagraphs=True):
|
|
75 |
result = convert(parts[0]+mathml+incomplete, extensions, splitParagraphs=False)
|
76 |
if not found:
|
77 |
result = mdtex
|
78 |
-
return result
|
|
|
1 |
+
# This program is written by: https://github.com/polarwinkel/mdtex2html
|
2 |
+
|
3 |
from latex2mathml.converter import convert as tex2mathml
|
4 |
import re
|
5 |
|
|
|
77 |
result = convert(parts[0]+mathml+incomplete, extensions, splitParagraphs=False)
|
78 |
if not found:
|
79 |
result = mdtex
|
80 |
+
return result
|