If the following folder structure has git repo
fiddletest / test1 (fiddletest is the name of the repo, and test1 is the folder)
then the corresponding jsfiddle link will be
http://jsfiddle.net/gh/get/<library name>/<version>/<github user name>/fiddletest/tree/master/test1/
The folder and file structure should be as follows:
fiddletest(the repo name) |____ test1 |____ demo.html |____ demo.js |____ demo.css |____ demo.details
besides these three files, others will be ignored. The information file should contain information about the game and links to external resources (if any)
--- name: test fiddle repo description: this is a test repo resources: - http://abc.xyz.com/abc.js - http://abc.xyz.com/abc2.js ...
You may have noticed the link in the link too. If the script is with pure js, the library name should be "library" and the version should be "clean"
In a nutshell, the link for the github link should be in the following format
http://jsfiddle.net/gh/get/<library name>/<version>/<github user name>/<repo name>/tree/<branchname>/<folder name>/
Angshu Guha Mar 18 '15 at 12:20 2015-03-18 12:20
source share