Skip to content
← Back to Community
Setting for embedded repl
Profile icon
BeeJay

Hi all,

I'd like to customize the repl that I embed into a web page. Here are some settings or configurations that I need.

  1. To hide the side bar (files, version control, etc) because I don't want my web visitors messing around with other files.

  2. To arrange the code panel and output panel vertically or horizontally because sometimes a vertical alignment is more suitable rather than a horizontal alignment, or vice versa.

  3. I don't mind the repl.it logo –it's nice actually– but I want my web visitors to keep their focus on my web page instead of leaving it and then playing around with the repl by themselves.

Are those even possible?

I don't mean to hide the source code. But I need my web visitor to focus on the code that I'm presenting at the moment. It's important for step by step tutorial article. Eventually, I'll show them the whole thing anyway.

Thank you.

~Bee Jay

Voters
Profile icon
Mr9FPS
Profile icon
BeeJay
Comments
hotnewtop
Profile icon
RayhanADev

Well, what kind of code are you using. What language. I would like to help, but I feel that the information isn’t there!

Profile icon
BeeJay

@RayhanADev: Does it matter? I was asking about how to configure the repl panels, not the code.

Profile icon
RayhanADev

@BeeJay Well depending on what code you are adding and what you are adding it to you may be able to embed just the code, not the Repl.

Profile icon
BeeJay

@RayhanADev: If I only embed the code, how the visitor run the code? I still the repl's interactive output.

Profile icon
RayhanADev

@BeeJay Ohhh I though you wanted to run just the code. Yeah I don’t believe you can embed the Repl.it window. Sorry :(.

Profile icon
BeeJay

@RayhanADev: Of course we can just run the code, it's what repl.run for. But I need the repl.it window to be embedded into my web page, just with some additional settings.

Profile icon
RayhanADev

Yeah, you cannot do that m8. I don’t believe it’s possible.