{"action":"created","issue":{"url":"https://api.github.com/repos/cbou/markdox/issues/30","labels_url":"https://api.github.com/repos/cbou/markdox/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/cbou/markdox/issues/30/comments","events_url":"https://api.github.com/repos/cbou/markdox/issues/30/events","html_url":"https://github.com/cbou/markdox/issues/30","id":85879313,"number":30,"title":"Get the docs data in a variable","user":{"login":"IonicaBizau","id":2864371,"avatar_url":"https://avatars.githubusercontent.com/u/2864371?v=3","gravatar_id":"","url":"https://api.github.com/users/IonicaBizau","html_url":"https://github.com/IonicaBizau","followers_url":"https://api.github.com/users/IonicaBizau/followers","following_url":"https://api.github.com/users/IonicaBizau/following{/other_user}","gists_url":"https://api.github.com/users/IonicaBizau/gists{/gist_id}","starred_url":"https://api.github.com/users/IonicaBizau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IonicaBizau/subscriptions","organizations_url":"https://api.github.com/users/IonicaBizau/orgs","repos_url":"https://api.github.com/users/IonicaBizau/repos","events_url":"https://api.github.com/users/IonicaBizau/events{/privacy}","received_events_url":"https://api.github.com/users/IonicaBizau/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-07T09:08:29Z","updated_at":"2015-06-09T07:42:08Z","closed_at":"2015-06-09T07:42:08Z","body":"Is it possible not to write the docs in a file but get them in a variable/parameter?"},"comment":{"url":"https://api.github.com/repos/cbou/markdox/issues/comments/110262493","html_url":"https://github.com/cbou/markdox/issues/30#issuecomment-110262493","issue_url":"https://api.github.com/repos/cbou/markdox/issues/30","id":110262493,"user":{"login":"IonicaBizau","id":2864371,"avatar_url":"https://avatars.githubusercontent.com/u/2864371?v=3","gravatar_id":"","url":"https://api.github.com/users/IonicaBizau","html_url":"https://github.com/IonicaBizau","followers_url":"https://api.github.com/users/IonicaBizau/followers","following_url":"https://api.github.com/users/IonicaBizau/following{/other_user}","gists_url":"https://api.github.com/users/IonicaBizau/gists{/gist_id}","starred_url":"https://api.github.com/users/IonicaBizau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IonicaBizau/subscriptions","organizations_url":"https://api.github.com/users/IonicaBizau/orgs","repos_url":"https://api.github.com/users/IonicaBizau/repos","events_url":"https://api.github.com/users/IonicaBizau/events{/privacy}","received_events_url":"https://api.github.com/users/IonicaBizau/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T07:42:08Z","updated_at":"2015-06-09T07:42:08Z","body":"That's actually simple:\r\n\r\n```js\r\nMarkDox.process(\"path/to/some/file.js\", {\r\n    template: \"some/template.ejs\"\r\n}, function (err, content) {\r\n    // do something with content\r\n});\r\n```"}}