Ask coding questions

← Back to all posts
Repl.it Treats EJS Files Like Plain Text Files instead Of Html Files
LloydUrey

I have a Nodejs project with express and I'm rendering a file index.ejs.

Other Cloud Code editors like glitch.com Treat Ejs Files like HTML files but repl.it provides no Debugging or Code Intelligence like autocomplete. Is there a way to enable this for Ejs files.

Voters
LloydUrey
Comments
hotnewtop
Highwayman

I’m pretty sure no. Just add .html to the end of the file name until your done editing?

LloydUrey

@Highwayman Thats What Im gonna do for now. Hopefully repl add ejs support and other engines like handlebars

Highwayman

@LloydUrey :/ yeah.. hm. I think there might be a way to fix this up a bit maybe....... one sec.

Highwayman

@LloydUrey dam. Nvm I can’t find it sorry.

LloydUrey

@Highwayman its fine thanks for replying

Highwayman
Highwayman

@LloydUrey I know it’s been nearly two weeks now, but I found it: https://repl.it/talk/learn/How-to-Make-a-Custom-Code-Theme-for-Replit/9500

Sorry I couldn’t help you in time :(