Is there a way to "convert" an ejs file to jade?

I have an ejs file that I would like to include in my jade based application, but I do not know how to do it.

+3


source to share


1 answer


I am a bit late, but for anyone looking for this like me:

There is a tool called html to jade: http://html2jade.org



It doesn't convert the inline javascript part to pug / jade, but it does take care of the html part and you can embed the js yourself.

0


source







All Articles