Skip to content

Commit

Permalink
from github.com/polarwinkel/mdtex2html
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky authored Mar 22, 2023
1 parent b8d802a commit a880819
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion show_math.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This program is written by: https://github.com/polarwinkel/mdtex2html

from latex2mathml.converter import convert as tex2mathml
import re

Expand Down Expand Up @@ -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

0 comments on commit a880819

Please sign in to comment.