It is enough to simply prepare and provide a link on the page to have jsFiddle read the demo from gist and present it as a fiddle.
It is important to have demo prepared for jsFiddle.
- fiddle.js
- fiddle.html
- fiddle.css
- fiddle.manifest
name: The Name of the Fiddle
description: Some description, please keep it in one line
authors:
- John Doe
- Jan Wisniewski
resources:
- http://some.url.com/some/file.js
- http://other.url.com/other_filename.css
normalize_css: no
All above fields are optional.
One need to choose the framework and the Gist id using the URL:
URL: http://jsfiddle.net/gh/gist/{framework}/{version}/{gist_id}/
There is an option to add dependencies as a comma separated list:
URL: http://jsfiddle.net/gh/gist/{framework}/{version}/dependencies/{dependency_list}/{gist_id}/
Demo on the github: http://gist.github.com/606699/
URL to jsFiddle: http://jsfiddle.net/gh/gist/mootools/1.2/606699/
It will load the fiddle with MooTools framework in version 1.2.5