I know you can embed a gist into a static webpage, but while on the static webpage, is there a way to get the contents of that gist in javascript?
Also, embedding it results in it producing a DOM structure, which can be difficult to parse. Looking over the "View Raw" URL, it appears that the URL cannot be easily determined from just the gist hash, since it contains the username in the url...
Has anyone devised a way to make it easy to get the contents of a gist programmatically from the clientside, preferably without having to embed the gist content?
Aucun commentaire:
Enregistrer un commentaire