pyjade
pyjade copied to clipboard
Is any way to use pyjade to complier jade string to html directly inside python script?
Can I just pass a pure 'jade' format string (unicode), then convert and return to a 'html' string. Is possible to do that?
- No any other template engine required
- No any args need to be pass-in by python while convert to html.
I find 'pyjade.ext.html.process_jade' from test case, but I am not sure this is right way to do it. is it?
The way you point out is correct. I added a convenience function to call this directly and updated the README. https://github.com/syrusakbary/pyjade/pull/193