GitHub Flavoured Markdown

While not strictly a Flask-dependent module, Coaster offers an implementation of GitHub-flavoured Markdown as a convenience feature.

GitHub Flavoured Markdown: because normal markdown has some vicious gotchas.

Further reading on the gotchas: http://blog.stackoverflow.com/2009/10/markdown-one-year-later/

This is a Python port of GitHub code, taken from https://gist.github.com/Wilfred/901706

coaster.gfm.gfm(text)[source]

Prepare text for rendering by a regular Markdown processor.

coaster.gfm.markdown(text)[source]

Return Markdown rendered text using GitHub Flavoured Markdown, with HTML escaped and syntax-highlighting enabled.

Related Topics

This Page