« Back

Using Gist in Liferay Community Blogs

General Blogs April 24, 2013 By Kan Zhang

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:

Threaded Replies Author Date
Thanks Kan Zhang for sharing CSS fix. Tejas Kanani April 26, 2013 12:14 AM
Thanks, for your post ! I've found some... Denis Signoretto March 10, 2014 11:52 AM

Thanks Kan Zhang for sharing CSS fix.
Posted on 4/26/13 12:14 AM.
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.
Posted on 3/10/14 11:52 AM.