-
I'd like to re-visit this. While having xo as part of boilerplate is nice, it causes issues when we have to upgrade it individually. Takes a lot of manual work to update it.
Making the code style c…
-
For each transformer, `render()` takes an input string, and outputs a string. There are cases, however, where we want to deal with straight objects, like TOML/INI/YAML/etc.
### Proposal
We should add…
-
After many try that failed, I try to reproduce your example, so I copied the directory structure the main template src/index.hbs and the partial src/about/components heading.hbs. I wrote an index.js l…
-
I am interested in making a (static) website where users can find out what JSTransformers are, search by `outputFormat` and `inputFormat` and get examples for each transformer.
Here is a sketch I m…
-
When I do the following with vanilla ECT, no problems
```
var renderer = ECT({ root : path.join(__dirname,'/layouts'), ext : '.ect' });
var html = renderer.render('body', { contents: 'The title' })…
-
Typical example:
``` js
exports.name = 'remarkable';
exports.inputFormats = ['remarkable', 'md', 'markdown'];
```
With this setup anyone could drop remarkable into place of marked without changing t…
-
When an empty file is referenced, this error is thrown.
```
error: bundling failed: Error: No input specified: provide a file name or a source string to process
at Object.module.exports.rende…
-
It's more natural and logical for me. Talking about `.fn` which is (in object) returned from `compile` method.
``` js
var handlebars = require('jstransformer')(require('jstransformer-handlebars'));
…
-
http://npm.im/jstransformer-es6-template
-
How do you pass in configuration, so that it compiles to es5?
This shows compilerOptions:
https://github.com/jstransformers/jstransformer-typescript
My ultimate goal would be to have a .pug pag…