add gist support, fixes #17