{"action":"created","issue":{"url":"https://api.github.com/repos/jstransformers/jstransformer/issues/17","labels_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/17/comments","events_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/17/events","html_url":"https://github.com/jstransformers/jstransformer/issues/17","id":68216816,"number":17,"title":"External JSTransformer Integration","user":{"login":"RobLoach","id":25086,"avatar_url":"https://avatars.githubusercontent.com/u/25086?v=3","gravatar_id":"","url":"https://api.github.com/users/RobLoach","html_url":"https://github.com/RobLoach","followers_url":"https://api.github.com/users/RobLoach/followers","following_url":"https://api.github.com/users/RobLoach/following{/other_user}","gists_url":"https://api.github.com/users/RobLoach/gists{/gist_id}","starred_url":"https://api.github.com/users/RobLoach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobLoach/subscriptions","organizations_url":"https://api.github.com/users/RobLoach/orgs","repos_url":"https://api.github.com/users/RobLoach/repos","events_url":"https://api.github.com/users/RobLoach/events{/privacy}","received_events_url":"https://api.github.com/users/RobLoach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-04-13T23:19:13Z","updated_at":"2015-04-14T01:31:55Z","closed_at":null,"body":"I put together a [Metalsmith plugin to use JSTransformer](http://github.com/robloach/metalsmith-jstransformer), and thought it would be a good idea to have a list of potential ideas for other integration points with external systems to help encourage collaboration. Feel free to edit this list and add any other ideas.\r\n\r\n- [ ] [Jade](http://jade-lang.com) - Put together a [Jade filter](http://jade-lang.com/reference/filters/)\r\n- [x] [Metalsmith](http://metalsmith.io) - [`metalsmith-jstransformer`](https://github.com/robloach/metalsmith-jstransformer)\r\n- [ ] [Grunt](http://gruntjs.com/) - Plugin to process files through JSTransformers\r\n- [ ] [Gulp](http://gulpjs.com) - Plugin to process streams through JSTransformers\r\n- [ ] [Duo](http://duojs.org/) - plugin for DuoJS\r\n- [ ] [DocPad](https://docpad.org/) - Plugin to process files with JSTransformers\r\n\r\nShould some of these live in the `jstransformers` org? I could move metalsmith in."},"comment":{"url":"https://api.github.com/repos/jstransformers/jstransformer/issues/comments/92554690","html_url":"https://github.com/jstransformers/jstransformer/issues/17#issuecomment-92554690","issue_url":"https://api.github.com/repos/jstransformers/jstransformer/issues/17","id":92554690,"user":{"login":"TimothyGu","id":1538624,"avatar_url":"https://avatars.githubusercontent.com/u/1538624?v=3","gravatar_id":"","url":"https://api.github.com/users/TimothyGu","html_url":"https://github.com/TimothyGu","followers_url":"https://api.github.com/users/TimothyGu/followers","following_url":"https://api.github.com/users/TimothyGu/following{/other_user}","gists_url":"https://api.github.com/users/TimothyGu/gists{/gist_id}","starred_url":"https://api.github.com/users/TimothyGu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimothyGu/subscriptions","organizations_url":"https://api.github.com/users/TimothyGu/orgs","repos_url":"https://api.github.com/users/TimothyGu/repos","events_url":"https://api.github.com/users/TimothyGu/events{/privacy}","received_events_url":"https://api.github.com/users/TimothyGu/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T01:31:55Z","updated_at":"2015-04-14T01:31:55Z","body":"@RobLoach said:\r\n\r\n> - [ ] [Jade](http://jade-lang.com) - Put together a [Jade filter](http://jade-lang.com/reference/filters/)\r\n\r\nWe are planning on completely switching to jstransformers in Jade, so:\r\n\r\n```jade\r\n:supermarked\r\n  ## Heading 2\r\n```\r\n\r\nwill be mapped to\r\n\r\n```js\r\nvar name = 'supermarked'\r\nrequire('jstransformers')(require(name)).render(text).body\r\n```\r\n\r\nor something like that.\r\n\r\n@ForbesLindesay should be able to tell you more about Jade integration."}}