{"action":"created","issue":{"url":"https://api.github.com/repos/celsomiranda/hexo-renderer-markdown-it/issues/28","labels_url":"https://api.github.com/repos/celsomiranda/hexo-renderer-markdown-it/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/celsomiranda/hexo-renderer-markdown-it/issues/28/comments","events_url":"https://api.github.com/repos/celsomiranda/hexo-renderer-markdown-it/issues/28/events","html_url":"https://github.com/celsomiranda/hexo-renderer-markdown-it/pull/28","id":121359853,"number":28,"title":"support passing options to markdown-it plugins","user":{"login":"mshick","id":277401,"avatar_url":"https://avatars.githubusercontent.com/u/277401?v=3","gravatar_id":"","url":"https://api.github.com/users/mshick","html_url":"https://github.com/mshick","followers_url":"https://api.github.com/users/mshick/followers","following_url":"https://api.github.com/users/mshick/following{/other_user}","gists_url":"https://api.github.com/users/mshick/gists{/gist_id}","starred_url":"https://api.github.com/users/mshick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshick/subscriptions","organizations_url":"https://api.github.com/users/mshick/orgs","repos_url":"https://api.github.com/users/mshick/repos","events_url":"https://api.github.com/users/mshick/events{/privacy}","received_events_url":"https://api.github.com/users/mshick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-09T22:53:29Z","updated_at":"2015-12-13T16:18:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/celsomiranda/hexo-renderer-markdown-it/pulls/28","html_url":"https://github.com/celsomiranda/hexo-renderer-markdown-it/pull/28","diff_url":"https://github.com/celsomiranda/hexo-renderer-markdown-it/pull/28.diff","patch_url":"https://github.com/celsomiranda/hexo-renderer-markdown-it/pull/28.patch"},"body":"Small change here -- if the plugins array provides an object instead of a string options can be passed to the plugin.\r\n\r\n```yaml\r\nmarkdown:\r\n  plugins:\r\n    - name: markdown-it-foo\r\n      options:\r\n        param: value\r\n```"},"comment":{"url":"https://api.github.com/repos/celsomiranda/hexo-renderer-markdown-it/issues/comments/164272018","html_url":"https://github.com/celsomiranda/hexo-renderer-markdown-it/pull/28#issuecomment-164272018","issue_url":"https://api.github.com/repos/celsomiranda/hexo-renderer-markdown-it/issues/28","id":164272018,"user":{"login":"celsomiranda","id":769237,"avatar_url":"https://avatars.githubusercontent.com/u/769237?v=3","gravatar_id":"","url":"https://api.github.com/users/celsomiranda","html_url":"https://github.com/celsomiranda","followers_url":"https://api.github.com/users/celsomiranda/followers","following_url":"https://api.github.com/users/celsomiranda/following{/other_user}","gists_url":"https://api.github.com/users/celsomiranda/gists{/gist_id}","starred_url":"https://api.github.com/users/celsomiranda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/celsomiranda/subscriptions","organizations_url":"https://api.github.com/users/celsomiranda/orgs","repos_url":"https://api.github.com/users/celsomiranda/repos","events_url":"https://api.github.com/users/celsomiranda/events{/privacy}","received_events_url":"https://api.github.com/users/celsomiranda/received_events","type":"User","site_admin":false},"created_at":"2015-12-13T16:18:18Z","updated_at":"2015-12-13T16:18:18Z","body":"Looks good. I'll merge it and once tested I'll publish the new version to NPM."}}