🎨 template
Template Engine - Jinja2/Mustache Inspired
~300 satır
~20 fonksiyon
Variables & Filters
📖 Genel Bakış
Template engine modülü, Jinja2 ve Mustache'den esinlenerek geliştirilmiş template rendering sağlar. HTML, email ve text generation için idealdir.
🚀 Kullanım
içe_aktar template
değişken ctx = template.context()
ctx.set("name", "Alice")
ctx.set("age", 30)
değişken result = template.render("Hello, {{name}}! Age: {{age}}", ctx)
// Output: Hello, Alice! Age: 30
🔗 İlgili Modüller
markdown- Markdown renderingemail- Email templates