jedfoster / SassMeister

The Sass playground
http://sassmeister.com
198 stars 25 forks source link

Link to Sassmeister view in Gist description #60

Closed matiassingers closed 10 years ago

matiassingers commented 11 years ago

Currently the Gist is just posted with the following description: "Generated by SassMeister.com."

Would make sense to add a link back to the Sassmeister for the particular Gist.

jedfoster commented 10 years ago

I've looked into this some, and while I'd love to have a link back to SM, adding a link for each individual gist is difficult. For one thing, the gist's ID isn't available at creation time; it comes back in the API's response, but then I'd have to send an update request—2 API calls just to create the gist. Same process when a gist is forked, with the added complexity of replacing the old ID with the new.

This isn't impossible, but it would be a strain on resources. If/when I build a custom data store system for SassMeister, this will definitely be a thing.

Thanks,

Jed