{"action":"created","issue":{"url":"https://api.github.com/repos/gollum/gollum/issues/908","labels_url":"https://api.github.com/repos/gollum/gollum/issues/908/labels{/name}","comments_url":"https://api.github.com/repos/gollum/gollum/issues/908/comments","events_url":"https://api.github.com/repos/gollum/gollum/issues/908/events","html_url":"https://github.com/gollum/gollum/issues/908","id":50700980,"number":908,"title":"Header numbering","user":{"login":"dometto","id":147111,"avatar_url":"https://avatars.githubusercontent.com/u/147111?v=3","gravatar_id":"","url":"https://api.github.com/users/dometto","html_url":"https://github.com/dometto","followers_url":"https://api.github.com/users/dometto/followers","following_url":"https://api.github.com/users/dometto/following{/other_user}","gists_url":"https://api.github.com/users/dometto/gists{/gist_id}","starred_url":"https://api.github.com/users/dometto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dometto/subscriptions","organizations_url":"https://api.github.com/users/dometto/orgs","repos_url":"https://api.github.com/users/dometto/repos","events_url":"https://api.github.com/users/dometto/events{/privacy}","received_events_url":"https://api.github.com/users/dometto/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gollum/gollum/labels/CSS%20styling","name":"CSS styling","color":"eb6420"},{"url":"https://api.github.com/repos/gollum/gollum/labels/feature","name":"feature","color":"40ff4d"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gollum/gollum/milestones/8","html_url":"https://github.com/gollum/gollum/milestones/3.2","labels_url":"https://api.github.com/repos/gollum/gollum/milestones/8/labels","id":866538,"number":8,"title":"3.2","description":"","creator":{"login":"bartkamphorst","id":571173,"avatar_url":"https://avatars.githubusercontent.com/u/571173?v=3","gravatar_id":"","url":"https://api.github.com/users/bartkamphorst","html_url":"https://github.com/bartkamphorst","followers_url":"https://api.github.com/users/bartkamphorst/followers","following_url":"https://api.github.com/users/bartkamphorst/following{/other_user}","gists_url":"https://api.github.com/users/bartkamphorst/gists{/gist_id}","starred_url":"https://api.github.com/users/bartkamphorst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartkamphorst/subscriptions","organizations_url":"https://api.github.com/users/bartkamphorst/orgs","repos_url":"https://api.github.com/users/bartkamphorst/repos","events_url":"https://api.github.com/users/bartkamphorst/events{/privacy}","received_events_url":"https://api.github.com/users/bartkamphorst/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":4,"state":"open","created_at":"2014-11-14T12:54:48Z","updated_at":"2015-01-31T13:30:06Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2014-12-02T19:02:37Z","updated_at":"2015-03-31T10:27:07Z","closed_at":null,"body":"@SkyCrawl in #906:\r\n\r\n> Gollum should, in my opinion, offer to number headers automatically. As an example, this is what I have in mind. The best way to achieve it would probably be an \"annotation\" like [[_TOC_]], perhaps [[_HN_]]?\r\n\r\n@sunny on achieving this with Macro's or syntax helpers:\r\n\r\n> Even if it's not on the body you would still need some DOM that wraps the whole text, at the least. Or get some help from JavaScript.\r\n\r\nDumping javascript into the page's rendered data doesn't seem very tidy. But now that I think of it, if we would implement a syntax helper `[[_HN_]]`, we could make it replace those tags and wrap the rest of the data in a `<div class=\"counter\">` or whatever. Would that work?"},"comment":{"url":"https://api.github.com/repos/gollum/gollum/issues/comments/88032684","html_url":"https://github.com/gollum/gollum/issues/908#issuecomment-88032684","issue_url":"https://api.github.com/repos/gollum/gollum/issues/908","id":88032684,"user":{"login":"sunny","id":132,"avatar_url":"https://avatars.githubusercontent.com/u/132?v=3","gravatar_id":"","url":"https://api.github.com/users/sunny","html_url":"https://github.com/sunny","followers_url":"https://api.github.com/users/sunny/followers","following_url":"https://api.github.com/users/sunny/following{/other_user}","gists_url":"https://api.github.com/users/sunny/gists{/gist_id}","starred_url":"https://api.github.com/users/sunny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunny/subscriptions","organizations_url":"https://api.github.com/users/sunny/orgs","repos_url":"https://api.github.com/users/sunny/repos","events_url":"https://api.github.com/users/sunny/events{/privacy}","received_events_url":"https://api.github.com/users/sunny/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T10:27:07Z","updated_at":"2015-03-31T10:27:07Z","body":"Awesome!\n\nLe mar. 31 mars 2015 12:08, Bart Kamphorst <notifications@github.com> a\nécrit :\n\n> Very cool! Looking forward.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/gollum/gollum/issues/908#issuecomment-88025037>.\n>\n"}}