Markdown processor

Markdown parser with a number of sane defaults that resembles GitHub-Flavoured Markdown (GFM).

GFM exists because normal markdown has some vicious gotchas. Further reading: http://blog.stackoverflow.com/2009/10/markdown-one-year-later/

This Markdown processor is used by MarkdownColumn() to auto-render HTML from Markdown text.

coaster.utils.markdown.markdown(text, html=False, valid_tags=None)[source]

Markdown parser with a number of sane defaults that resembles GitHub-Flavoured Markdown.

Parameters:html (bool) – Allow known-safe HTML tags in text (this disables code syntax highlighting)