#tera-templates #template #jinja2 #markup #django #html

tera-introspection

Utilities for introspecting Tera templates

1 unstable release

0.1.0 Nov 23, 2022

#641 in Template engine

MIT license

155KB
4.5K SLoC

Tera Introspection

This crate provides a way to introspect a Tera template. The major code src/parser is directly copied from Tera. The only new code is in src/introspection. As this is something just for me to learn how the AST of the Tera template works, and the introspection is pretty hacky, I don't think it is good to contribute the code back to the Tera project.

License: MIT (same as Tera)

Dependencies

~4.5MB
~96K SLoC