It is common to have SQL in string literals (e.g. in Python strings) which are then passed to a library to query a database.
Currently SQL within string literals are treated the same as other strings. It would be great if they would be recognized and receive special treatment.
There are existing VS Code extensions that highlight the SQL in string literals but afaiu they only work with files set to Python mode whereas Quarto has its own "Quarto" mode.
It is common to have SQL in string literals (e.g. in Python strings) which are then passed to a library to query a database.
Currently SQL within string literals are treated the same as other strings. It would be great if they would be recognized and receive special treatment.
There are existing VS Code extensions that highlight the SQL in string literals but afaiu they only work with files set to Python mode whereas Quarto has its own "Quarto" mode.