{"action":"created","issue":{"url":"https://api.github.com/repos/markdown-it/markdown-it/issues/172","labels_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/172/labels{/name}","comments_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/172/comments","events_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/172/events","html_url":"https://github.com/markdown-it/markdown-it/issues/172","id":118725793,"number":172,"title":"Modularity of core","user":{"login":"Martii","id":114709,"avatar_url":"https://avatars.githubusercontent.com/u/114709?v=3","gravatar_id":"","url":"https://api.github.com/users/Martii","html_url":"https://github.com/Martii","followers_url":"https://api.github.com/users/Martii/followers","following_url":"https://api.github.com/users/Martii/following{/other_user}","gists_url":"https://api.github.com/users/Martii/gists{/gist_id}","starred_url":"https://api.github.com/users/Martii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martii/subscriptions","organizations_url":"https://api.github.com/users/Martii/orgs","repos_url":"https://api.github.com/users/Martii/repos","events_url":"https://api.github.com/users/Martii/events{/privacy}","received_events_url":"https://api.github.com/users/Martii/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/markdown-it/markdown-it/labels/question","name":"question","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-24T23:27:14Z","updated_at":"2015-11-25T19:50:50Z","closed_at":null,"body":"So I was investigating flowdock/markdown-it-flowdock#3 and it would appear that *markdown-it* *(and so is marked package with a false \"hit\")* is handling `_emphasis_ markdown syntax` first then that package is failing with a \"miss\" since it is a post operation.\r\n\r\nHopefully not presuming too much... I can possibly see some logic alternatives to fix this:\r\n\r\n1. Add a priority parameter somewhere that says \"do this plugin before the core\" ... I'm only a few days into in-depth checking this project out so thanks for your patience if this already exists. Still may present as an issue with `a`nchor tags with `textContent`.\r\n2. Refactor with a breaking change the core of this project to have all core markdown parsing handled as individual plugins... so that we can `use` them in whatever priority we choose. Still may present as an issue with `a`nchor tags with `textContent`.\r\n3. As a last resort we can blacklist `_` and we already blacklist `*` ... this may break other sites if adopted and definitely going to confuse all users including ours when I go around and renaming their account with an announcement.\r\n\r\nAny thoughts on this from this upstream here and downstream there?"},"comment":{"url":"https://api.github.com/repos/markdown-it/markdown-it/issues/comments/159714652","html_url":"https://github.com/markdown-it/markdown-it/issues/172#issuecomment-159714652","issue_url":"https://api.github.com/repos/markdown-it/markdown-it/issues/172","id":159714652,"user":{"login":"Martii","id":114709,"avatar_url":"https://avatars.githubusercontent.com/u/114709?v=3","gravatar_id":"","url":"https://api.github.com/users/Martii","html_url":"https://github.com/Martii","followers_url":"https://api.github.com/users/Martii/followers","following_url":"https://api.github.com/users/Martii/following{/other_user}","gists_url":"https://api.github.com/users/Martii/gists{/gist_id}","starred_url":"https://api.github.com/users/Martii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martii/subscriptions","organizations_url":"https://api.github.com/users/Martii/orgs","repos_url":"https://api.github.com/users/Martii/repos","events_url":"https://api.github.com/users/Martii/events{/privacy}","received_events_url":"https://api.github.com/users/Martii/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T19:50:50Z","updated_at":"2015-11-25T19:50:50Z","body":"One trick of the trade is to use HTML entities too... so the flowdock plugin might be able to set the `href` `textContent` to an entity."}}