You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import markdown
from mdx_math import MathExtension
with open('E:/test.md', 'r', encoding='utf-8') as input_file:
text = input_file.read()
md = markdown.Markdown(extensions=[MathExtension(enable_dollar_delimiter=True)])
html = md.convert(text)
with open('E:/test.html', 'w+', encoding='utf-8') as output_file:
head_file = open('E:\head.txt', 'r')
output_file.write(head_file.read())
output_file.write(html)
output_file.write('\n</body>')
包括以下内容:
成果要求:
请在issue下回复成果后再关闭issue。
The text was updated successfully, but these errors were encountered: