-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for templating engine Nunjucks #232
Comments
Without digging too deep, it looks like it has some kind of a node API. That would be the question, does it expose an API with which I can precompile templates. Maybe @jlongster can chime in? |
Just took a quick check and actually this should be pretty simple for the express-installation-method (http://nunjucks.jlongster.com/#Express). About local mimosa server, I have no idea. |
mimosa's server depends on consolidate, which, unfortunately, isn't a super well maintained project since its creator and maintainer is a pretty busy guy. Implementing it yourself within your own server is a piece of cake as those docs indicate. I think the issue is requesting client support though. Client support for any templating language is a 1 hour task if there is an established node api for precompilation, or if precompilation isn't necessary for some reason. My plan was to whip through all the new compiler requests over the next few weeks after I've got 1.0 out the door. Most of them should be fairly simple. |
Since the consolidate author is pretty "busy", why not As for the list of template languages, I would like to throw this into: Edit: Added option 3. |
Another case of better late than never! I've created https://github.com/dbashford/mimosa-nunjucks Will soon release and update for mimosa that'll include scaffolding for |
Any chance of adding support for Nunjucks, a direct port of Python's fantastic Jinja2 templating engine?
Truth is this isn't high priority as I'm primarily using it on the server side, however I am also considering using it on the client side and wanted to get an idea of how difficult it would be to add support into Mimosa.
The text was updated successfully, but these errors were encountered: