From e5b7613fc5edf5adf12878ee9c3861219ab6a1b6 Mon Sep 17 00:00:00 2001 From: binary-husky <96192199+binary-husky@users.noreply.github.com> Date: Wed, 22 Mar 2023 19:46:08 +0800 Subject: [PATCH] from github.com/polarwinkel/mdtex2html --- show_math.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/show_math.py b/show_math.py index 70d0311..80fa881 100644 --- a/show_math.py +++ b/show_math.py @@ -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 \ No newline at end of file + return result