Skip to content

Czhang0727/markdown

 
 

Repository files navigation

markdown

Build Status

A learn-motivated markdown parser.

Supports all standard md elements.

Sample use case:

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)

About

A learn-motivated markdown parser.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.5%
  • HTML 0.5%