{"action":"created","issue":{"url":"https://api.github.com/repos/olafklingt/fold-whatever/issues/4","repository_url":"https://api.github.com/repos/olafklingt/fold-whatever","labels_url":"https://api.github.com/repos/olafklingt/fold-whatever/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/olafklingt/fold-whatever/issues/4/comments","events_url":"https://api.github.com/repos/olafklingt/fold-whatever/issues/4/events","html_url":"https://github.com/olafklingt/fold-whatever/issues/4","id":319417556,"number":4,"title":"Autofolding","user":{"login":"saivan","id":8543370,"avatar_url":"https://avatars0.githubusercontent.com/u/8543370?v=4","gravatar_id":"","url":"https://api.github.com/users/saivan","html_url":"https://github.com/saivan","followers_url":"https://api.github.com/users/saivan/followers","following_url":"https://api.github.com/users/saivan/following{/other_user}","gists_url":"https://api.github.com/users/saivan/gists{/gist_id}","starred_url":"https://api.github.com/users/saivan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saivan/subscriptions","organizations_url":"https://api.github.com/users/saivan/orgs","repos_url":"https://api.github.com/users/saivan/repos","events_url":"https://api.github.com/users/saivan/events{/privacy}","received_events_url":"https://api.github.com/users/saivan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-05-02T05:50:23Z","updated_at":"2018-05-03T16:08:16Z","closed_at":null,"author_association":"NONE","body":"How difficult do you think it would be to autofold anything that matches a particular pattern. I had something like markdown in mind. If you typed out:\r\n\r\n```md\r\n![some-really-long-thing](with some really long alt text)\r\n```\r\n\r\nIt would be cool to turn this into:\r\n\r\n```md\r\n![{...}]({...})\r\n```\r\n\r\nOr even:\r\n\r\n```md\r\n![{...})\r\n```\r\n\r\nIf the user gets to within two characters of the fold, it will automatically unfold.\r\n"},"comment":{"url":"https://api.github.com/repos/olafklingt/fold-whatever/issues/comments/386348848","html_url":"https://github.com/olafklingt/fold-whatever/issues/4#issuecomment-386348848","issue_url":"https://api.github.com/repos/olafklingt/fold-whatever/issues/4","id":386348848,"user":{"login":"olafklingt","id":3714501,"avatar_url":"https://avatars1.githubusercontent.com/u/3714501?v=4","gravatar_id":"","url":"https://api.github.com/users/olafklingt","html_url":"https://github.com/olafklingt","followers_url":"https://api.github.com/users/olafklingt/followers","following_url":"https://api.github.com/users/olafklingt/following{/other_user}","gists_url":"https://api.github.com/users/olafklingt/gists{/gist_id}","starred_url":"https://api.github.com/users/olafklingt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olafklingt/subscriptions","organizations_url":"https://api.github.com/users/olafklingt/orgs","repos_url":"https://api.github.com/users/olafklingt/repos","events_url":"https://api.github.com/users/olafklingt/events{/privacy}","received_events_url":"https://api.github.com/users/olafklingt/received_events","type":"User","site_admin":false},"created_at":"2018-05-03T16:08:16Z","updated_at":"2018-05-03T16:08:16Z","author_association":"OWNER","body":"I guess this depends on your regex or the command you use to do the folding. but i can only guess"}}
{"actor":{"display_login":"olafklingt"}}