Linux Mastering Development

How to register jinja file type (extension) in Linux Mint?

I would like to see jinja files (files with the "jinja" extension) the same way as html files, as the html syntax is highlighted when opening the file in the text editor xed. Is it possible to register the jinja file type so that they are treated the same way as html files?