from github.com/polarwinkel/mdtex2html

这个提交包含在:
binary-husky
2023-03-22 19:46:08 +08:00
提交者 GitHub
父节点 1c4e853484
当前提交 e5b7613fc5

查看文件

@@ -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