A learn-motivated markdown parser.
Supports all standard md elements.
Install:
pip install lightmd
Parse md.
import lightmd
with open("your.md", "r") as md_file:
## Parse content
parsed_content = lightmd.parse_md_to_ast(md_file)
## Render to HTML
rendered_html = lightmd.render_html(parsed_content)