spenserblack/gengo

Language: Jinja-like(?)

spenserblack opened this issue · 0 comments

Django, Jinja, and Tera are all very similar, and can probably be combined under one language.

Extensions that I currently know of:

  • html (Django and Jinja)
  • tera

Heuristics:

  • ^{% extends (this must be the first line in Django if it will be used IIRC)

Would a new category, template, be useful, or too confusing? Jinja/Django/Tera is often HTML, but it can really be any language. .txt templates are common for plain-text email templates in Django. Onefetch and tokei use Tera to generate Rust code.