It is enough to simply prepare and provide a link on the page to have jsFiddle read the demo from GitHub and present it as a fiddle.
It is important to have demo prepared for jsFiddle.
Everything before the line containing only '---' will not be parsed --- name: The Name of the Demo 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 ... Everything after the line containing only '...' will not be parsed
All above fields are optional.
One need to choose the framework and the GitHub path using the URL:
Use library/pure for no framework:
There is an option to add dependencies as a comma separated list:
Demo on the github: http://github.com/zalun/jsFiddleGithubDemo/tree/master/Demo/
It will load the fiddle with MooTools framework in version 1.2.5