All credit goes to James Falkner
Steps given by James:
Note 1: The Gist is not viewable in "Preview".
Note 2: The CSS on Liferay site ate all the indents in Gist because of the following in Liferay CSS:
To fix the indents, simply insert the following CSS in your blog entry in "Source" view: