setting Jinja to use variable_start_string, variable_end_string
I have the following settings for Jinja in my flask project (since I am using Vue.js {{}} is already in use)
jinja_options = Flask.jinja_options.copy()
jinja_options['variable_start_string'] = '[['
jinja_options['variable_end_string'] = ']]'
Now the problem is that my css templates are showing errors because it does not recognizes the brackets for example
<style>
.widget_container_[[prefix]] {
display: flex;
max-height: 40px;
}
Is there a way to configure my IDE from {{}} to [[]]
Please sign in to leave a comment.
Hi, unfortunately there's no option for this, I created a feature request - https://youtrack.jetbrains.com/issue/PY-48998