Display python code being used in python extension with code formatting

When using the python extension, commands are passed as strings:

It would be nice if strings that come after py:set or py:run could be formated (colored) to look like python code would in a code editor like this (but still inside qoutes):
Screenshot 2025-06-11 at 9.08.45 AM