{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/bookdown/issues/152","repository_url":"https://api.github.com/repos/rstudio/bookdown","labels_url":"https://api.github.com/repos/rstudio/bookdown/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/bookdown/issues/152/comments","events_url":"https://api.github.com/repos/rstudio/bookdown/issues/152/events","html_url":"https://github.com/rstudio/bookdown/issues/152","id":164996418,"number":152,"title":"Theorem/Lemma/Definition Custom Blocks","user":{"login":"coatless","id":833642,"avatar_url":"https://avatars.githubusercontent.com/u/833642?v=3","gravatar_id":"","url":"https://api.github.com/users/coatless","html_url":"https://github.com/coatless","followers_url":"https://api.github.com/users/coatless/followers","following_url":"https://api.github.com/users/coatless/following{/other_user}","gists_url":"https://api.github.com/users/coatless/gists{/gist_id}","starred_url":"https://api.github.com/users/coatless/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coatless/subscriptions","organizations_url":"https://api.github.com/users/coatless/orgs","repos_url":"https://api.github.com/users/coatless/repos","events_url":"https://api.github.com/users/coatless/events{/privacy}","received_events_url":"https://api.github.com/users/coatless/received_events","type":"User","site_admin":false},"labels":[{"id":278933544,"url":"https://api.github.com/repos/rstudio/bookdown/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rstudio/bookdown/milestones/2","html_url":"https://github.com/rstudio/bookdown/milestones/v0.2","labels_url":"https://api.github.com/repos/rstudio/bookdown/milestones/2/labels","id":1878217,"number":2,"title":"v0.2","description":"","creator":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":83,"state":"closed","created_at":"2016-07-12T11:22:25Z","updated_at":"2016-11-16T21:02:36Z","due_on":null,"closed_at":"2016-11-16T21:02:36Z"},"comments":16,"created_at":"2016-07-12T05:22:13Z","updated_at":"2016-11-24T06:21:00Z","closed_at":"2016-10-04T04:29:14Z","body":"I'm trying to provide a way to use theorems/lemmas/definitions.\n\nThe main way I see about going about this is via the [custom block declaration](https://bookdown.org/yihui/bookdown/custom-blocks.html):\n\nTo enable this feature I'm running into a roadblock of not being able to:\n1. supply non-body content like a header (e.g. theorem name)\n2. autoincrement/number \n\nFor 1. it seems as if `caption = \"Fermat's Last Theorem\"` could be passed through to the block more options would be possible.\n\nFor 2., I'm pretty sure this isn't possible due to the restriction on the `\\ref` tag. \n"},"comment":{"url":"https://api.github.com/repos/rstudio/bookdown/issues/comments/262699143","html_url":"https://github.com/rstudio/bookdown/issues/152#issuecomment-262699143","issue_url":"https://api.github.com/repos/rstudio/bookdown/issues/152","id":262699143,"user":{"login":"yihui","id":163582,"avatar_url":"https://avatars.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"created_at":"2016-11-24T06:21:00Z","updated_at":"2016-11-24T06:21:00Z","body":"@stevepowell99 FYI: finally found some time to type an answer on SO http://stackoverflow.com/q/40735727/559676"}}
{"actor":{"display_login":"yihui"}}