{"action":"created","issue":{"url":"https://api.github.com/repos/tscanlin/tocbot/issues/12","repository_url":"https://api.github.com/repos/tscanlin/tocbot","labels_url":"https://api.github.com/repos/tscanlin/tocbot/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/tscanlin/tocbot/issues/12/comments","events_url":"https://api.github.com/repos/tscanlin/tocbot/issues/12/events","html_url":"https://github.com/tscanlin/tocbot/issues/12","id":166975570,"number":12,"title":"Set classes on list item","user":{"login":"spdawson","id":132732,"avatar_url":"https://avatars.githubusercontent.com/u/132732?v=3","gravatar_id":"","url":"https://api.github.com/users/spdawson","html_url":"https://github.com/spdawson","followers_url":"https://api.github.com/users/spdawson/followers","following_url":"https://api.github.com/users/spdawson/following{/other_user}","gists_url":"https://api.github.com/users/spdawson/gists{/gist_id}","starred_url":"https://api.github.com/users/spdawson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spdawson/subscriptions","organizations_url":"https://api.github.com/users/spdawson/orgs","repos_url":"https://api.github.com/users/spdawson/repos","events_url":"https://api.github.com/users/spdawson/events{/privacy}","received_events_url":"https://api.github.com/users/spdawson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-22T05:59:23Z","updated_at":"2016-07-22T21:58:55Z","closed_at":null,"body":"Alongside the\r\n```\r\n  listClass: 'toc-list'\r\n```\r\nconfiguration option for the `ul` list elements, it would be very useful to also have an option for applying class(es) to the `li` list item elements. Something like\r\n```\r\nlistItemClass: 'toc-list-item'\r\n```\r\nFor example, this would make it possible to use a Bootstrap list group for the TOC, by applying the `list-group` class at `ul` level, and the `list-group-item` class at `li` level."},"comment":{"url":"https://api.github.com/repos/tscanlin/tocbot/issues/comments/234667366","html_url":"https://github.com/tscanlin/tocbot/issues/12#issuecomment-234667366","issue_url":"https://api.github.com/repos/tscanlin/tocbot/issues/12","id":234667366,"user":{"login":"tscanlin","id":5033032,"avatar_url":"https://avatars.githubusercontent.com/u/5033032?v=3","gravatar_id":"","url":"https://api.github.com/users/tscanlin","html_url":"https://github.com/tscanlin","followers_url":"https://api.github.com/users/tscanlin/followers","following_url":"https://api.github.com/users/tscanlin/following{/other_user}","gists_url":"https://api.github.com/users/tscanlin/gists{/gist_id}","starred_url":"https://api.github.com/users/tscanlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tscanlin/subscriptions","organizations_url":"https://api.github.com/users/tscanlin/orgs","repos_url":"https://api.github.com/users/tscanlin/repos","events_url":"https://api.github.com/users/tscanlin/events{/privacy}","received_events_url":"https://api.github.com/users/tscanlin/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T21:58:55Z","updated_at":"2016-07-22T21:58:55Z","body":"Couldn't you use the 'extraLinkClasses' option and just style the links rather than the list items? If that doesn't work for you then I'd be open to adding this option. Would you be interested in implementing this and opening a pull request? If not let me know and I can try to get to it later this weekend.\r\n\r\nThanks for checking this project out and making the suggestion!"}}
{"actor":{"display_login":"tscanlin"}}