Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Git gist - Markdown does not work

Tags:

git

markdown

gist

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?

like image 557
Tarun Avatar asked Jan 03 '12 19:01

Tarun


People also ask

Does GitHub Gist support markdown?

Most of you probably know and use Github Gists for sharing Code snippets. But did you know that Gists also support Markdown? Using Markdown makes it easy to create much richer code shareable code and even allows for an easy way to create self-contained Web content.


1 Answers

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.

like image 120
KL-7 Avatar answered Sep 23 '22 19:09

KL-7