Change language of repl
ruiwenge2 (1838)

If I had a Python repl, how can I change the language to HTML without deleting it?

You are viewing a single comment. View All
JBloves27 (1902)

You could make a .replit file, add the following code: run = "html {filename}.html". Just replace the {filename} with the html file name and you should be good to go.

Hope this helps!

ruiwenge2 (1838)

@JBloves27 it just says the command isn’t found

Bluelight4251 (11)

@ruiwenge2 I'm not sure if you can do that but view this replit here. It's called 'Python but it's JavaScript' Here's the link: https://replit.com/@RayhanADev/Python-but-its-Javascript?c=79349

Hope this helps.