code blocks inside <pre> tags.

Hi - I’m looking to see if anyone could provide any guidance on the <pre> tag. I have some data that I need to insert in a <pre> tag to maintain its formatting. Within that data is some code that is in the format of bash. Is it possible to have this displayed as code in code blocks within the <pre> tag?

I’m hoping to do it where whatever parameters can be added at the <pre> tag level. Appreciate any help!

Please try to rephrase the question. It is not clear at the moment what you are asking.

I edited your post to make it readable

I am not sure I understand what you want to do, can you give a practical example?