Github flavored markdown with python
by Emile `iMil' Heitor - 2013-07-28
I’m slowly migrating some parts of my personal Wiki to Github using their own markdown syntax. Before committing, I wanted to make sure the docs look like they should. Here’s a small Flask snippet I wrote in order to achieve this:
Python Markdown has an extension called fenced code blocks which supports Github’s tidle (```) syntax, thus making this small program’s output similar to what the doc will finally look like.