{"action":"created","issue":{"url":"https://api.github.com/repos/jdowner/gist/issues/41","repository_url":"https://api.github.com/repos/jdowner/gist","labels_url":"https://api.github.com/repos/jdowner/gist/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/jdowner/gist/issues/41/comments","events_url":"https://api.github.com/repos/jdowner/gist/issues/41/events","html_url":"https://github.com/jdowner/gist/issues/41","id":239633399,"number":41,"title":"Possible to create .md files?","user":{"login":"kevinhowbrook","id":2128707,"avatar_url":"https://avatars2.githubusercontent.com/u/2128707?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinhowbrook","html_url":"https://github.com/kevinhowbrook","followers_url":"https://api.github.com/users/kevinhowbrook/followers","following_url":"https://api.github.com/users/kevinhowbrook/following{/other_user}","gists_url":"https://api.github.com/users/kevinhowbrook/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinhowbrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinhowbrook/subscriptions","organizations_url":"https://api.github.com/users/kevinhowbrook/orgs","repos_url":"https://api.github.com/users/kevinhowbrook/repos","events_url":"https://api.github.com/users/kevinhowbrook/events{/privacy}","received_events_url":"https://api.github.com/users/kevinhowbrook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-29T22:54:16Z","updated_at":"2017-07-02T16:57:07Z","closed_at":null,"body":"Maybe I'm missing this but is it possible to specify the file format when creating a gist?"},"comment":{"url":"https://api.github.com/repos/jdowner/gist/issues/comments/312503531","html_url":"https://github.com/jdowner/gist/issues/41#issuecomment-312503531","issue_url":"https://api.github.com/repos/jdowner/gist/issues/41","id":312503531,"user":{"login":"jdowner","id":135210,"avatar_url":"https://avatars3.githubusercontent.com/u/135210?v=3","gravatar_id":"","url":"https://api.github.com/users/jdowner","html_url":"https://github.com/jdowner","followers_url":"https://api.github.com/users/jdowner/followers","following_url":"https://api.github.com/users/jdowner/following{/other_user}","gists_url":"https://api.github.com/users/jdowner/gists{/gist_id}","starred_url":"https://api.github.com/users/jdowner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdowner/subscriptions","organizations_url":"https://api.github.com/users/jdowner/orgs","repos_url":"https://api.github.com/users/jdowner/repos","events_url":"https://api.github.com/users/jdowner/events{/privacy}","received_events_url":"https://api.github.com/users/jdowner/received_events","type":"User","site_admin":false},"created_at":"2017-07-02T16:57:07Z","updated_at":"2017-07-02T16:57:07Z","body":"Hi Kevin. It turns out that you are not missing anything and that gist does not support this functionality. I'm assuming you're talking about the situation where you enter something like,\r\n```\r\ngist create \"foo\"\r\n```\r\nit brings up your editor and you enter your markdown and exit. There is another mode where you can enter 1 or more existing files to be put into the gist, e.g.\r\n```\r\ngist create \"my gist\" foo bar baz\r\n```\r\nBecause of this existing functionality I am reluctant to just have the user just append a filename. So I think it would have to be something like,\r\n```\r\ngist create \"my gist\" --filename foo.md\r\n```\r\nWhat do you think? Would that work for you?"}}
{"actor":{"display_login":"jdowner"}}