Block code display settings

I'm creating some lecture notes for a basic cryptography course. I developed some basic python modules explaining how some of the basic protocols work and I want to use Quarto to create a pdf file where this code is explained. Was wondering if there are options for controlling how the python code blocks look like, in particular, I would like to say that some part of the code should belong to a specific module etc. Can I add this extra information in a header-like section inside the block?

Sorry for asking such a basic question, I went over the guide but it doesn't give that many formatting options for PDF output

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.