I am building a web app using flask. I am trying to utilize Algolia's instant search widgets, but they utilize html templating that is very similar to that used by flask. Is there any way i can tell flask to ignore the brackets within my javascript? Or possibly some other solution I haven't thought of?
const hits = instantsearch.widgets.hits({
container: '#hits',
templates: {
item: `
<h2>
{{#helpers.highlight}}{ "attribute": "name" }{{/helpers.highlight}}
</h2>
<p>{{ description }}</p>
`,
},
});