πŸ’­ Template Designer Documentation β€” Jinja Documentation ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ !https://jinja.palletsprojects.com/en/3.0.x/templates/#whitespace-control Date: December 26, 2023 Template Designer Documentation β€” Jinja Documentation (3.1.x) jinja.palletsprojects.com html </html/> code generated by my jinja templates generally look half garbage because of indents and whitespace all over the place. I just learned about these pesky Whitespace Control characters that can get rid of the whitespace added from templating. β”‚ You can also strip whitespace in templates by hand. If you add a minus sign (-) to the start or end of a block (e.g. a For tag), a comment, or a variable expression, the whitespaces before or after that block will be removed: [code] {% for item in seq -%} {{ item }} {%- endfor %} NOTE β”‚ This post is a thought </thoughts/>. It’s a short note that I make about someone else’s content online #thoughts </tags/thoughts/>