Using Gist in Liferay Community Blogs

All credit goes to James Falknersmiley

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:

Blogs
Thanks, for your post ! I've found some troubles with "secret gists" (not searchable but visible to anyone that has the URL). It seems that before publish or save a draft, Liferay sanitizer remove secret gists. At the moment the only workaround I found was to converted all gists to public.