Install elpa-jinja2-mode by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-jinja2-mode
Description:
Emacs major mode for editing jinja2 code
The package provides an Emacs major mode for jinja2 with: . - syntax highlighting - sgml/html integration - indentation (working with sgml)
Homepage: https://github.com/paradoxxxzero/jinja2-mode
Version: 0.2-1
Section: universe/lisp