{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/commonmark/issues/106","labels_url":"https://api.github.com/repos/thephpleague/commonmark/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/commonmark/issues/106/comments","events_url":"https://api.github.com/repos/thephpleague/commonmark/issues/106/events","html_url":"https://github.com/thephpleague/commonmark/pull/106","id":84753053,"number":106,"title":"Added support for element visitors","user":{"login":"hason","id":288535,"avatar_url":"https://avatars.githubusercontent.com/u/288535?v=3","gravatar_id":"","url":"https://api.github.com/users/hason","html_url":"https://github.com/hason","followers_url":"https://api.github.com/users/hason/followers","following_url":"https://api.github.com/users/hason/following{/other_user}","gists_url":"https://api.github.com/users/hason/gists{/gist_id}","starred_url":"https://api.github.com/users/hason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hason/subscriptions","organizations_url":"https://api.github.com/users/hason/orgs","repos_url":"https://api.github.com/users/hason/repos","events_url":"https://api.github.com/users/hason/events{/privacy}","received_events_url":"https://api.github.com/users/hason/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thephpleague/commonmark/labels/feedback%20wanted","name":"feedback wanted","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-03T20:17:11Z","updated_at":"2015-07-03T13:11:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thephpleague/commonmark/pulls/106","html_url":"https://github.com/thephpleague/commonmark/pull/106","diff_url":"https://github.com/thephpleague/commonmark/pull/106.diff","patch_url":"https://github.com/thephpleague/commonmark/pull/106.patch"},"body":"Todo:\r\n- [x] Finish implementation\r\n- [x] Add tests"},"comment":{"url":"https://api.github.com/repos/thephpleague/commonmark/issues/comments/118346004","html_url":"https://github.com/thephpleague/commonmark/pull/106#issuecomment-118346004","issue_url":"https://api.github.com/repos/thephpleague/commonmark/issues/106","id":118346004,"user":{"login":"hason","id":288535,"avatar_url":"https://avatars.githubusercontent.com/u/288535?v=3","gravatar_id":"","url":"https://api.github.com/users/hason","html_url":"https://github.com/hason","followers_url":"https://api.github.com/users/hason/followers","following_url":"https://api.github.com/users/hason/following{/other_user}","gists_url":"https://api.github.com/users/hason/gists{/gist_id}","starred_url":"https://api.github.com/users/hason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hason/subscriptions","organizations_url":"https://api.github.com/users/hason/orgs","repos_url":"https://api.github.com/users/hason/repos","events_url":"https://api.github.com/users/hason/events{/privacy}","received_events_url":"https://api.github.com/users/hason/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T13:11:38Z","updated_at":"2015-07-03T13:11:38Z","body":"I want to create an extension for parsing block and inline attributes - https://pythonhosted.org/Markdown/extensions/attr_list.html The problem is with atttributes for block:\r\n```\r\n### A hash style header ### {: #hash }\r\n```\r\nThe reference to the parent block is is assigned too late https://github.com/thephpleague/commonmark/blob/master/src/DocParser.php#L140 and inline processor is not the best place for addressing this task.\r\n\r\nI want to change AST for different renderers (html page and revealjs presentation, in html page delete ``<hr>`` tags).\r\n\r\nThe node visitor can be used for optimization of AST or for completed complicated structures, as is mentioned above or in #123.\r\n\r\nThe visitor is widely accepted design pattern - twig, mthaml, rst, etc."}}