zt converts template files into Zig code so that variable and call type errors are caught at build time. It outputs through the standard Writer and provides default HTML escaping and URL-scheme checks. The directly inspected repository documents Zig 0.16 and 0.17 support and usage examples, but the project is early and its syntax and control flow are still evolving. Explicit raw HTML bypasses automatic protection, so type safety and content safety should not be treated as the same guarantee.
Back to Tech
zt checks HTML templates during Zig compilation
The design reduces interpolation errors, but explicit raw HTML and early-tool limitations need separate management.