{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/cmark/issues/96","labels_url":"https://api.github.com/repos/jgm/cmark/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/jgm/cmark/issues/96/comments","events_url":"https://api.github.com/repos/jgm/cmark/issues/96/events","html_url":"https://github.com/jgm/cmark/issues/96","id":124391717,"number":96,"title":"Custom blocks should allow any type of children","user":{"login":"nwellnhof","id":63962,"avatar_url":"https://avatars.githubusercontent.com/u/63962?v=3","gravatar_id":"","url":"https://api.github.com/users/nwellnhof","html_url":"https://github.com/nwellnhof","followers_url":"https://api.github.com/users/nwellnhof/followers","following_url":"https://api.github.com/users/nwellnhof/following{/other_user}","gists_url":"https://api.github.com/users/nwellnhof/gists{/gist_id}","starred_url":"https://api.github.com/users/nwellnhof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwellnhof/subscriptions","organizations_url":"https://api.github.com/users/nwellnhof/orgs","repos_url":"https://api.github.com/users/nwellnhof/repos","events_url":"https://api.github.com/users/nwellnhof/events{/privacy}","received_events_url":"https://api.github.com/users/nwellnhof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-30T19:44:03Z","updated_at":"2015-12-30T20:23:48Z","closed_at":null,"body":"Currently, custom blocks only allow block children. They should allow children of any type (especially inline), so that a custom block can replace any other block, for example a paragraph or a list.\r\n"},"comment":{"url":"https://api.github.com/repos/jgm/cmark/issues/comments/168068165","html_url":"https://github.com/jgm/cmark/issues/96#issuecomment-168068165","issue_url":"https://api.github.com/repos/jgm/cmark/issues/96","id":168068165,"user":{"login":"jgm","id":3044,"avatar_url":"https://avatars.githubusercontent.com/u/3044?v=3","gravatar_id":"","url":"https://api.github.com/users/jgm","html_url":"https://github.com/jgm","followers_url":"https://api.github.com/users/jgm/followers","following_url":"https://api.github.com/users/jgm/following{/other_user}","gists_url":"https://api.github.com/users/jgm/gists{/gist_id}","starred_url":"https://api.github.com/users/jgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgm/subscriptions","organizations_url":"https://api.github.com/users/jgm/orgs","repos_url":"https://api.github.com/users/jgm/repos","events_url":"https://api.github.com/users/jgm/events{/privacy}","received_events_url":"https://api.github.com/users/jgm/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T20:23:48Z","updated_at":"2015-12-30T20:23:48Z","body":"Agreed - I'd actually already changed this in the DTD, but\nforgot to change it in libcmark.\n\nOne question I had is whether it would make sense to allow\nCUSTOM_INLINE to contain block children, or whether that's\na bridge too far.  (I had trouble thinking of any real-world\ncase where this would make sense, although it might make\nsense for footnotes.)\n\n+++ Nick Wellnhofer [Dec 30 15 11:44 ]:\n>   Currently, custom blocks only allow block children. They should allow\n>   children of any type (especially inline), so that a custom block can\n>   replace any other block, for example a paragraph or a list.\n>\n>   —\n>   Reply to this email directly or [1]view it on GitHub.\n>\n>References\n>\n>   1. https://github.com/jgm/cmark/issues/96\n"}}