Syntax highlight in text box

Hello All,

I want to add pages to my site later where I showcase pieces of python code.
Here’s an example of how I did last time:

Basically, I changed the color of each words I needed to which for longer codes will be very time consuming but it’s easier to read for those using any coding language.

Is there a chance we will have a text option that highlights different syntaxes?
If it’s possible it would be also great to have serial numbers for each lines?