Add Gist support discussed in #11 and #23