Strong -1
As others noted in prior discussion, even if this existed, it works be an anti-pattern for SQL. So basically, it's just baking in an HTML-only template language into the language syntax.
Python already had excellent HTML templating in libraries. The fact Django has a function with a long name just suggests importing it with a shorter name.
Python has many uses having nothing to do with web pages. This could make sense for PHP (does anyone use that still?). It's a poor for for Python.
PHP is very productive. The majority of sites are written in PHP.
The only thing which PHP has not: Respect.
It does not get respect since it is too easy.
Python is getting pushed into the backend during the last years, while web frontend is mostly done in Javascript.
I think this is the wrong direction.
Together with tools like htmx (fragments over the wire), I would rather choose PHP than Javascript.
PHP is great for creating HTML. I know that the easy solution does not get much respect,
but maybe you understand that making it easy to create HTML would be a major benefit for Python.
Regards,
Thomas