Easy Designs, LLC - Aaron Gustafson

3rd Party (Free)

342 downloads (last 90 days)

MIT License Download v1.1

EE Version Support

  • ExpressionEngine 1.x
  • ExpressionEngine 2


If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher


  • jQuery for the Control Panel

Add-On Type(s)



An ExpressionEngine plugin to allow for embedding of Github Gists.

Easy Gists EE Addon

An ExpressionEngine plugin to allow for embedding of Github Gists.


This plugin allows you to control how the Gist is rendered in your page. The only required property is the Gist ID:

{exp:easy_gists id="245831"}

would result in the text content of the Gist found at being printed into the document (all scripting would be removed).

This plugin has several optional parameters:

  • embed: accepts “yes” or “no” (“yes” by default) and determines whether the content should be embedded (as opposed to linked via script)
  • css: accepts “yes” or “no” (“yes” by default) and is used with embed=“yes” to determine whether or not the CSS reference should be stripped from the embedded code (in case you either don’t want to use the Gist CSS or you’ve used {exp:gist:css} in the head of your document)
  • file: is the string filename you want the Gist to use (assuming your Gist has multiple files)

    {exp:easy_gists id="245831" file="my.html"}
  • raw: accepts “yes” or “no” (“no” by default) and has the script load the raw code (as opposed to the parsed JavaScript contents) EE2 only

  • wrap_with: the elements you want to wrap around the raw code (“pre.ext,code” by default). Separate multiple elements by a comma. Use “.ext” to add a class equal to the file’s extension to a specific element. EE2 only

  • highlight: Highlight one or more lines (available in raw mode only). Individual lines should be separated by commas (“10,12”). Multiple lines can be higlighted by setting a start and end, separated by a hyphen (“10-12”). You can combine these. EE2 only

  • highlight_with: The markup you want to wrap the highlighted lines (“mark” by default). EE2 only

    {exp:easy_gists id="4622706" file="undoing-tables.scss" raw="yes" highlight="1-8,10"}

You can embed the Gist CSS from Github directly by using


It has one optional parameter, media, which you can use to specify the media to direct the CSS to (undefined/all by default):

{exp:easy_gists:css media="screen"}


pi.easy_gists.php is distributed under the liberal MIT License.

Download Gist

EE Support Downloads Add-On Version Release Date
Not Specified Download 1.1 Jul 10, 2013

Gist Links

This entry was created March 7, 2011, 2:48 pm.
This entry was last updated July 10, 2013, 10:54 am.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at to initiate your return. If you have questions, email

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!