Git gist - Markdown does not work

Tarun picture Tarun · Jan 3, 2012 · Viewed 23.1k times · Source

I am not able to get Markdown work in a gist. My post is available here.

Notice that the same Markdown works when I add a comment.

What did I miss?

Answer

KL-7 picture KL-7 · Jan 3, 2012

Github uses file extension to recognize file type. In order to use Markdown in your gist it should have appropriate .markdown (or .md) extension. See this.