$ easy_install mark3 $ python -m mark3 < myfile.textOr used as a python module:
from mark3.markdown import markdown html_output = markdown(raw_text)I wanted a markdown to html converter for python3 that was lightweight and fast. So I created mark3.
Much to my surprise I was able to get mark3 quite a lot faster than existing libraries (~7x faster).
$ hg clone https://bitbucket.org/jlm/mark3 $ cd mark3 $ python tests/speed_test.pySee the README for details on how mark3 differs from the official markdown implementation.
0 comments:
Post a Comment