from github.com/polarwinkel/mdtex2html
This commit is contained in:
parent
b8d802a922
commit
a880819ffd
@ -1,3 +1,5 @@
|
|||||||
|
# This program is written by: https://github.com/polarwinkel/mdtex2html
|
||||||
|
|
||||||
from latex2mathml.converter import convert as tex2mathml
|
from latex2mathml.converter import convert as tex2mathml
|
||||||
import re
|
import re
|
||||||
|
|
||||||
@ -75,4 +77,4 @@ def convert(mdtex, extensions=[], splitParagraphs=True):
|
|||||||
result = convert(parts[0]+mathml+incomplete, extensions, splitParagraphs=False)
|
result = convert(parts[0]+mathml+incomplete, extensions, splitParagraphs=False)
|
||||||
if not found:
|
if not found:
|
||||||
result = mdtex
|
result = mdtex
|
||||||
return result
|
return result
|
||||||
|
Loading…
x
Reference in New Issue
Block a user