News for hackers. Stuff that matters.
Re:My Own Python Web Framework by geenat on Wednesday February 22, 2023 @02:52PM (#34901634)
How is HTML syntax highlighting in strings?
Re:My Own Python Web Framework by burky on Wednesday February 22, 2023 @03:23PM (#34902071)
It's python syntax highlighting for formatted string literals. PEP 498.

https://peps.python.org/pep-0498/

Re:My Own Python Web Framework by geenat on Wednesday February 22, 2023 @03:38PM (#34902303)
Of course. I'm referring to HTML syntax in python string highlighting in your editor. How is support for that? Recommended plugins?
Re:My Own Python Web Framework by m000 on Wednesday February 22, 2023 @05:48PM (#34904160)
Good question. Just goes to show the value of a DIY Web Framework to anyone else except its author.
Re:My Own Python Web Framework by geenat on Thursday February 23, 2023 @02:07AM (#34907702)
I'm the author of https://github.com/gnat/sublime-python-html-sql

Just was curious if anyone solved this DX issue in a more elegant way.