Markdownld install pip command (pip install markdown)
import markdown md = markdown.Markdown(safe_mode=True) html = md.convert(content) #'html' is converted html data
Here very nice documentation of markdown. You may read it.
import markdown md = markdown.Markdown(safe_mode=True) html = md.convert(content) #'html' is converted html data
0 comments:
Post a Comment