How to integrate the GitHub code in blog post on blogger.com ?
Its easy to integrate the codes from GutHub to the blog posts in blogger.com as keeping code directly on the blog post is always not a good idea and some time tough to manage the formatting as well.
A big thanks to Robert Krimen for developing such a wonderful tool for this integration. You can get more details on his GitHub http://github.com/robertkrimen/gist-it
Let say your GitHub link is http://github.com/Udayendu/cPlatform99 and you would like to integrate it in your blog post in blogger.com, then use the following syntax in HTML mode in your blog:
Syntax:
<script src="http://gist-it.appspot.com/<Your_GitHub_Link>"></script>
Example:
<script src="http://gist-it.appspot.com/https://github.com/Udayendu/cPlatform99/blob/main/README.md"></script>
And the page view will look like below:
Comments
Post a Comment