from github.com/polarwinkel/mdtex2html

This commit is contained in:
binary-husky 2023-03-22 19:46:08 +08:00 committed by GitHub
parent 1c4e853484
commit e5b7613fc5

View File

@ -1,3 +1,5 @@
# This program is written by: https://github.com/polarwinkel/mdtex2html
from latex2mathml.converter import convert as tex2mathml
import re
@ -75,4 +77,4 @@ def convert(mdtex, extensions=[], splitParagraphs=True):
result = convert(parts[0]+mathml+incomplete, extensions, splitParagraphs=False)
if not found:
result = mdtex
return result
return result