Syntax highlighting

I Have just started the Udemy 100 days bootcamp ( I have zero experience of Python or Replit). In the course videos syntax highlighting is referred to and demonstrated, this looks really useful but on my setup all the code is in the same colour, how do I change it?

Replit Profile: https://replit.com/@cwinearls

Hi @cwinearls , welcome to the forums!
Is the file in the repl a .py file? Or another file extension?

1 Like

Hi thanks for the response, its a .py extension

Could you send a screenshot of what you are seeing?
Thanks!

1 Like


in the course video the backslash and n are in pink

Hey @cwinearls!

I believe Replit changed their highlighting so anything in quotes is considered a String and kept the same color. There isn’t an easy way to change it and a template is needed, I don’t know how to do this though.

1 Like

This seems similar to this:

And the Replit staff has responded as:

2 Likes

I’ve spent ages trying to find out what I was doing wrong, nice to know it isn’t me, I really appreciate you taking the time to help me, thank you

2 Likes

Hi @cwinearls !
Please mark the post that helped you most as the Solution if your problem is solved.
Thanks!

1 Like

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