CrossDown/MarkDown.py
2024-09-15 20:51:20 +08:00

8 lines
169 B
Python

import markdown
with open('README.md', encoding='utf-8') as text:
html = markdown.markdown(text.read(), extensions=['markdown.extensions.extra'])
print(html)