oh look... I finally figured out how to do #python inline variable substitution in #Quarto. Threw me for a bit, tbh. Instead of calling py from the text we render the text in py:
There are a wide variety of options available for customizing output from executed code. All of these options can be specified either globally (in the document front-matter) or per code-block.