{"action":"created","issue":{"url":"https://api.github.com/repos/OrangeShark/guile-commonmark/issues/6","repository_url":"https://api.github.com/repos/OrangeShark/guile-commonmark","labels_url":"https://api.github.com/repos/OrangeShark/guile-commonmark/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/OrangeShark/guile-commonmark/issues/6/comments","events_url":"https://api.github.com/repos/OrangeShark/guile-commonmark/issues/6/events","html_url":"https://github.com/OrangeShark/guile-commonmark/issues/6","id":173767454,"number":6,"title":"Better integration with emacs markdown-toc package","user":{"login":"amirouche","id":7444897,"avatar_url":"https://avatars.githubusercontent.com/u/7444897?v=3","gravatar_id":"","url":"https://api.github.com/users/amirouche","html_url":"https://github.com/amirouche","followers_url":"https://api.github.com/users/amirouche/followers","following_url":"https://api.github.com/users/amirouche/following{/other_user}","gists_url":"https://api.github.com/users/amirouche/gists{/gist_id}","starred_url":"https://api.github.com/users/amirouche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirouche/subscriptions","organizations_url":"https://api.github.com/users/amirouche/orgs","repos_url":"https://api.github.com/users/amirouche/repos","events_url":"https://api.github.com/users/amirouche/events{/privacy}","received_events_url":"https://api.github.com/users/amirouche/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-29T12:52:12Z","updated_at":"2016-08-30T02:19:43Z","closed_at":null,"body":"[markdown-toc](https://github.com/ardumont/markdown-toc) allows to generate a table of content of a given markdown document.\r\n\r\nRight now, using it with guile-commonmark fails for two reasons:\r\n\r\n- html comments are not supported, and md-toc use them to mark the end and start of the toc\r\n- md-toc generates `[toc item](#fragment-link)`, but guile-commonmark doesn't generate ids for header items so the links don't work.\r\n\r\nHere is an [example markdown document using markdown-toc](https://github.com/amirouche/Culturia/blob/master/doc/youthful-indiscretion/opencog-overview.md) and [how it is currently rendered](https://amirouche.github.io/Culturia/doc/youthful-indiscretion/opencog-overview.html)."},"comment":{"url":"https://api.github.com/repos/OrangeShark/guile-commonmark/issues/comments/243314191","html_url":"https://github.com/OrangeShark/guile-commonmark/issues/6#issuecomment-243314191","issue_url":"https://api.github.com/repos/OrangeShark/guile-commonmark/issues/6","id":243314191,"user":{"login":"OrangeShark","id":1200846,"avatar_url":"https://avatars.githubusercontent.com/u/1200846?v=3","gravatar_id":"","url":"https://api.github.com/users/OrangeShark","html_url":"https://github.com/OrangeShark","followers_url":"https://api.github.com/users/OrangeShark/followers","following_url":"https://api.github.com/users/OrangeShark/following{/other_user}","gists_url":"https://api.github.com/users/OrangeShark/gists{/gist_id}","starred_url":"https://api.github.com/users/OrangeShark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OrangeShark/subscriptions","organizations_url":"https://api.github.com/users/OrangeShark/orgs","repos_url":"https://api.github.com/users/OrangeShark/repos","events_url":"https://api.github.com/users/OrangeShark/events{/privacy}","received_events_url":"https://api.github.com/users/OrangeShark/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T02:19:43Z","updated_at":"2016-08-30T02:19:43Z","body":"HTML comments will be supported once I add HTML support in general.\r\n\r\nFor generating ids for headers, it not part of the CommonMark spec, but it does seem like a very useful feature. I could possibly add a sort of option to enable this in the `commonmark->sxml` procedure."}}
{"actor":{"display_login":"OrangeShark"}}