Python custom syntax highlighting

how can i make custom syntax highlighting using python?

i saw an example of this at a custom programming language by @JaxelTheAxel and want to know how to do it

thanks for any help you can provide!

That isn’t custom syntax highlighting. Replit is just treating it as a Java file and giving it Java syntax highlighting

Also, seems like that was made by @krab-cake, not @JaxelTheAxel. (Though, the esolang itself was made by BrickLikesCoding.


You can make replit think that? That would require lots of configuration?
Also, how come the file name would have the Java icon even if it’s not? Odd.

No, Replit just assumes .jav files are Java files.