{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/gulp-markdown/issues/8","labels_url":"https://api.github.com/repos/sindresorhus/gulp-markdown/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/gulp-markdown/issues/8/comments","events_url":"https://api.github.com/repos/sindresorhus/gulp-markdown/issues/8/events","html_url":"https://github.com/sindresorhus/gulp-markdown/issues/8","id":109641759,"number":8,"title":"callback passing to marked seems unsupported","user":{"login":"anaran","id":621600,"avatar_url":"https://avatars.githubusercontent.com/u/621600?v=3","gravatar_id":"","url":"https://api.github.com/users/anaran","html_url":"https://github.com/anaran","followers_url":"https://api.github.com/users/anaran/followers","following_url":"https://api.github.com/users/anaran/following{/other_user}","gists_url":"https://api.github.com/users/anaran/gists{/gist_id}","starred_url":"https://api.github.com/users/anaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anaran/subscriptions","organizations_url":"https://api.github.com/users/anaran/orgs","repos_url":"https://api.github.com/users/anaran/repos","events_url":"https://api.github.com/users/anaran/events{/privacy}","received_events_url":"https://api.github.com/users/anaran/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-03T19:53:54Z","updated_at":"2015-10-03T20:28:19Z","closed_at":"2015-10-03T20:18:13Z","body":"Perhaps I don't grok it, but it seems that cb should be passed in after options at [module.exports = function \\(options\\)](https://github.com/sindresorhus/gulp-markdown/search?utf8=%E2%9C%93&q=%22module.exports+%3D+function+\\%28options\\%29%22&type=Code)\r\n\r\ngulp-marked had the problem it never actually called the `cb` and [my pull request](https://github.com/lmtm/gulp-marked/commit/dddf0e8dc55055c0aebb52e15d0019517fc2ab23) fixed it there.\r\n\r\nWould be great to learn how I can pass the callback already, for what I try to do [here](https://github.com/anaran/IssuePigeonFirefox/search?utf8=%E2%9C%93&q=%22addTableOfContents%22&type=Code) or if this feature could be implemented if indeed missing.\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/sindresorhus/gulp-markdown/issues/comments/145286159","html_url":"https://github.com/sindresorhus/gulp-markdown/issues/8#issuecomment-145286159","issue_url":"https://api.github.com/repos/sindresorhus/gulp-markdown/issues/8","id":145286159,"user":{"login":"anaran","id":621600,"avatar_url":"https://avatars.githubusercontent.com/u/621600?v=3","gravatar_id":"","url":"https://api.github.com/users/anaran","html_url":"https://github.com/anaran","followers_url":"https://api.github.com/users/anaran/followers","following_url":"https://api.github.com/users/anaran/following{/other_user}","gists_url":"https://api.github.com/users/anaran/gists{/gist_id}","starred_url":"https://api.github.com/users/anaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anaran/subscriptions","organizations_url":"https://api.github.com/users/anaran/orgs","repos_url":"https://api.github.com/users/anaran/repos","events_url":"https://api.github.com/users/anaran/events{/privacy}","received_events_url":"https://api.github.com/users/anaran/received_events","type":"User","site_admin":false},"created_at":"2015-10-03T20:28:19Z","updated_at":"2015-10-03T20:28:19Z","body":"Thanks for the quick reply.\r\n\r\nAdding yet another node package for working around a lacking feature of a marked wrapper seems wrong to me.\r\n\r\nI'll just stay with [gulp-marked](https://github.com/lmtm/gulp-marked) instead.\r\n"}}