Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Github: How to embed a gist into README.md?

Is it possible to embed gists into README.md file that resides in a GitHub repository?

Something like:

<code id="gist-3167145"></code> 
like image 490
Francisco Luz Avatar asked Jul 24 '12 00:07

Francisco Luz


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.

How do I create a gist link in GitHub?

If you go back to your Github homepage, to the right of the create button is your picture. That dropdown menu is going to give you links to your profile and settings — but more importantly your repos, projects, and gists. Click on the link for Your gists.


1 Answers

No, sorry, that is not possible. You will have to either have a link to it in your README.md or copy its contents.

Github Flavored Markdown will show you what you can put in your README.md file.

like image 85
philipvr Avatar answered Sep 22 '22 12:09

philipvr