pyline
pyline copied to clipboard
ENH: Add jinja support
- [ ] DOC: README.rst:
-O jinja:template=path/to/template.jinja,+autoescapeautoescape=Trueis the default- This does not add a trailing newline for you.
- The jinja template (e.g.
.jinja,.jinja2,.j2) must end with a trailing newline to prevent everything being concatenated to the same line.
- The jinja template (e.g.
- [ ] build context from result_objs:List
- [ ] print_template_variables(context)
- [ ] fsloader(template_path).template.render(context)