Embedding gist code in Blogger

Embedding gist code in Blogger

Moski provides a really simple and quick way to do this here. Awesome. 

However I would like to add that the source for his gistLoader. js file gave me problems. It took me forever to understand how to do this right. And if one is new to blogger or not very proficient, things seem to take forever.

Ok! Ok! Giving you a quick solution.
If you're having problems getting Moski's code to work for you after following all his instructions, try replacing the github source he mentions with another one.

So instead of
<script src="https://raw.github.com/moski/gist-Blogger/master/public/gistLoader.js" type="text/javascript">

Use another source like :
<script src="https://s3.amazonaws.com/moski/gistLoader.js"></script></div>

HTML content of blog should look like this


Worked for me. Hope it works for you. 

Comments

Popular posts from this blog

Accessing Coursera learning material offline

d3 Collapsible tree vertical

Fixing $env.TOMCAT_HOME directory creation in eclipse