{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/markdown/issues/44","labels_url":"https://api.github.com/repos/dart-lang/markdown/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/markdown/issues/44/comments","events_url":"https://api.github.com/repos/dart-lang/markdown/issues/44/events","html_url":"https://github.com/dart-lang/markdown/pull/44","id":105128664,"number":44,"title":"Formalize extensions support; add inline HTML support","user":{"login":"srawlins","id":103167,"avatar_url":"https://avatars.githubusercontent.com/u/103167?v=3","gravatar_id":"","url":"https://api.github.com/users/srawlins","html_url":"https://github.com/srawlins","followers_url":"https://api.github.com/users/srawlins/followers","following_url":"https://api.github.com/users/srawlins/following{/other_user}","gists_url":"https://api.github.com/users/srawlins/gists{/gist_id}","starred_url":"https://api.github.com/users/srawlins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srawlins/subscriptions","organizations_url":"https://api.github.com/users/srawlins/orgs","repos_url":"https://api.github.com/users/srawlins/repos","events_url":"https://api.github.com/users/srawlins/events{/privacy}","received_events_url":"https://api.github.com/users/srawlins/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-07T01:17:49Z","updated_at":"2015-09-21T20:15:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dart-lang/markdown/pulls/44","html_url":"https://github.com/dart-lang/markdown/pull/44","diff_url":"https://github.com/dart-lang/markdown/pull/44.diff","patch_url":"https://github.com/dart-lang/markdown/pull/44.patch"},"body":"Fixes #18 and #43 \r\n\r\nI formalized support for Markdown extensions with an `extensions` optional parameter on `markdownToHtml()` and `new Document()`.\r\n\r\nI then marked `fenced-code-blocks` as an extension (as they are), which serves as the block extension example, and added support for inline HTML (part of [CommonMark 0.22](http://spec.commonmark.org/0.22/#raw-html)), which serves as the inline extension example (and fixes #18).\r\n\r\nThe support for inline HTML is not fantastic. There seems to be a big desire for this package to be performant. Until benchmarking is more mature, I used a very very cheap (presumably), very very liberal HTML pattern. This extension is called `inline-html`."},"comment":{"url":"https://api.github.com/repos/dart-lang/markdown/issues/comments/142096637","html_url":"https://github.com/dart-lang/markdown/pull/44#issuecomment-142096637","issue_url":"https://api.github.com/repos/dart-lang/markdown/issues/44","id":142096637,"user":{"login":"munificent","id":46275,"avatar_url":"https://avatars.githubusercontent.com/u/46275?v=3","gravatar_id":"","url":"https://api.github.com/users/munificent","html_url":"https://github.com/munificent","followers_url":"https://api.github.com/users/munificent/followers","following_url":"https://api.github.com/users/munificent/following{/other_user}","gists_url":"https://api.github.com/users/munificent/gists{/gist_id}","starred_url":"https://api.github.com/users/munificent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munificent/subscriptions","organizations_url":"https://api.github.com/users/munificent/orgs","repos_url":"https://api.github.com/users/munificent/repos","events_url":"https://api.github.com/users/munificent/events{/privacy}","received_events_url":"https://api.github.com/users/munificent/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T20:15:39Z","updated_at":"2015-09-21T20:15:39Z","body":"Oh, and don't forget to update the CHANGELOG, adjust the version in the pubspec if needed, etc."}}