meta-template icon indicating copy to clipboard operation
meta-template copied to clipboard

:sparkles: Automagically convert Nunjucks templates into a variety of other formats!

Results 12 meta-template issues
Sort by recently updated
recently updated
newest added

I added custom tags to use in nunjucks templates, how can I add them to those recognized by the parser ?

Implemented the for-else formatting as well.

Hi Shawn, I fixed the "else if" behaviour and updated the tests for them. Not an elegant solution, but at least it works. Also worth to mention that handlebars 3.0+...

React support would be really interesting. I'm not sure what the JSX AST looks like, but with a little clever pattern matching I think this could be doable. Here are...

help wanted
idea

In [Nunjucks](http://mozilla.github.io/nunjucks/templating.html#macro) and [Jinja](http://jinja.pocoo.org/docs/2.9/templates/#macros), the `macro` tag is the closest we can get to functional programming with templates, and is a much clearer and succinct way of handling defaults than...

help wanted
idea

I think it'd be really cool if meta-template could batch-convert a collection or "suite" of templates into a supported format, and use knowledge of templates' inter-relationships to convert them in...

idea

The trick will be getting this to work with the new integration tests, since services like Travis and Circle can be tricky to get working with multiple language environments.

help wanted

The simplest thing here would probably be to have a script that runs a standard set of converted templates (the feature lower common denominator) through a reference implementation of the...

help wanted

It might be worth considering a one-time conversion from the Nunjucks AST to [unist](https://github.com/syntax-tree/unist) so that it would be easier to write [utilities](https://github.com/syntax-tree/unist#list-of-utilities) for modifying them.

idea

It should be possible to generate a matrix of support for specific features from a set of Nunjucks template snippets. For instance, these roughly map to the more common AST...

idea