I just installed wordpress. I have created a post and I am trying to display a bit of text in a hightlighted textbox. Similar to the screenshot below. I can’t for the life of me figure it out.
Do I need a specific plugin to do this ? or can I do it out of the box. I tried installing a plugin called “SyntaxHighlighter Evolved” which seems to work fine for PHP etc… but the below is plain XML and it just seems to bugger it up. Besides I only want to text to be highlighted I dont really care if its displayed as code or not.
Please help, I wil be so greafull.

found a way to get this done.
Wrap your code in the following