Syntax highlighting for the new .hbr extension

Discourse codebase now uses .hbr for raw templates which causes us to lose syntax highlighting for raw templates inspite of them being handlebars.

If you’re using VSCode, add this piece of code to your settings.json to get back the syntax highlighting

"files.associations": {
        "*.hbr":"handlebars"
 },

1 Like