Adding Comments

I use jinja2 (flask) in my workflow, and it would be great to add a comment inside the HTML editor that my regular IDE could catch, and replace the comment with the proper jinja2 code.

Thanks for the suggestion, George!

We could add a “HTML Comment” component which allows you to drop it in any element and edit it, but this would provide a poor experience for creating templates. It would be nearly impossible to debug problems in your tags, and when you move elements around, so will these comments, breaking your templates in the process.

Maybe in cases like yours it is unavoidable to write HTML. See the Custom Code idea in the other thread, I think it would be a better solution.

A good idea! +1