{"action":"created","issue":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1014","labels_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1014/labels{/name}","comments_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1014/comments","events_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1014/events","html_url":"https://github.com/twosigma/beaker-notebook/issues/1014","id":54005789,"number":1014,"title":"Hierarchy number does not update after a header is deleted","user":{"login":"adgnaw","id":1966501,"avatar_url":"https://avatars.githubusercontent.com/u/1966501?v=3","gravatar_id":"","url":"https://api.github.com/users/adgnaw","html_url":"https://github.com/adgnaw","followers_url":"https://api.github.com/users/adgnaw/followers","following_url":"https://api.github.com/users/adgnaw/following{/other_user}","gists_url":"https://api.github.com/users/adgnaw/gists{/gist_id}","starred_url":"https://api.github.com/users/adgnaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adgnaw/subscriptions","organizations_url":"https://api.github.com/users/adgnaw/orgs","repos_url":"https://api.github.com/users/adgnaw/repos","events_url":"https://api.github.com/users/adgnaw/events{/privacy}","received_events_url":"https://api.github.com/users/adgnaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-11T21:31:46Z","updated_at":"2015-01-11T21:36:41Z","closed_at":null,"body":"Say currently I have\r\n1. H1 foo\r\n2. H1 bar\r\n3. H1 abc\r\n\r\nAnd after deleting \"H1 bar\" the hierarchy display shows\r\n1. H1 foo\r\n3. H1 abc\r\nwhile I think in general people expect\r\n1. H1 foo\r\n2. H1 abc\r\n"},"comment":{"url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/comments/69512726","html_url":"https://github.com/twosigma/beaker-notebook/issues/1014#issuecomment-69512726","issue_url":"https://api.github.com/repos/twosigma/beaker-notebook/issues/1014","id":69512726,"user":{"login":"adgnaw","id":1966501,"avatar_url":"https://avatars.githubusercontent.com/u/1966501?v=3","gravatar_id":"","url":"https://api.github.com/users/adgnaw","html_url":"https://github.com/adgnaw","followers_url":"https://api.github.com/users/adgnaw/followers","following_url":"https://api.github.com/users/adgnaw/following{/other_user}","gists_url":"https://api.github.com/users/adgnaw/gists{/gist_id}","starred_url":"https://api.github.com/users/adgnaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adgnaw/subscriptions","organizations_url":"https://api.github.com/users/adgnaw/orgs","repos_url":"https://api.github.com/users/adgnaw/repos","events_url":"https://api.github.com/users/adgnaw/events{/privacy}","received_events_url":"https://api.github.com/users/adgnaw/received_events","type":"User","site_admin":false},"created_at":"2015-01-11T21:36:41Z","updated_at":"2015-01-11T21:36:41Z","body":"Also, for multi-level headers, The numbering for sub-sections start from 0, which is a bit weired, as we got:\r\n\r\n2. Section\r\n2.0 subsection\r\n2.0.1 subsubsectino\r\n\r\nSomething starting from 1 is more natural. "}}