Reputation: 307
Is it possible to format html code before I render it with flask? In my current project, I use many jinja templates and everything is working, but the source code in the browser, doesn't look so good. It's not so important but it would look much nicer with a prettified html code. Thanks
Upvotes: 3
Views: 1006
Reputation: 2155
Intellij Idea understand .html files with jinja2 templates. Just use CTRL + ALT + L for make formatting of whole file.
Upvotes: 0