简体   繁体   中英

Jade-like templating language for python and javascript

Is there a templating language like jade that is for both python and javascript and has the same syntax on each?

Pyjade does not have the same syntax for the engine-specific parts as jade, and therefore will not work for me.

I am willing to use something like jinja2js , but jinja2js doesn't work for pyjade.

I'm Syrus, author of pyjade . I have developed recently the package jsjinja which converts Jinja2 templates to javascript in a new and different way.

Check it out! ;)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM