Skip to content
Sign upLog in
← Back to Community

Template for monaco editor

Profile icon
HackermonDevHacker

What is the monaco editor

The monaco editor is the editor API that repl.it uses for the editor. Without the monaco editor repl.it probably would be using another editor but the monaco editor is really cool and I enjoyed working with it.

Does it run code

The monaco editor doesn't run code, it only allows you to create an editor. You have to create your own way to run code. Maybe a connection to a remote computer or something else.

What is the repl

The repl below is just an example of the monaco editor you can find more info on the official website.

Voters
Profile icon
HackermonDev
Comments
hotnewtop
Profile icon
HackermonDev

Lol, I am the 34040 post on repl talk.

Profile icon
user42069user

You should delete the
* {
font-family: Arial, Helvetica, sans-serif;
}
rule

Profile icon
Highwayman

require('./server.js');

Hum that’s some real pythonic syntax right there XD

Profile icon
[deleted]

ace > monaco

Profile icon
Highwayman

@sugarfi

SACRILEGE

Profile icon
[deleted]

@Highwayman
but monaco is microsoft, and microsoft is evil and hates your freedom...

Profile icon
HackermonDev

@sugarfi
not true, Microsoft is the god of tech

Profile icon
[deleted]

@PDanielY
no. Also, have you invented some sort of time machine or something?
image

Profile icon
HackermonDev

@sugarfi
no, that's repl.it problem but you just gave me an idea lol

Profile icon
[deleted]

@PDanielY
yeah

Profile icon
[deleted]

@PDanielY

image

Profile icon
HackermonDev

@sugarfi
wait are you someone from the future?

Profile icon
[deleted]

@PDanielY
idk apparently

Profile icon
HackermonDev

@sugarfi
lol

Profile icon
[deleted]

@PDanielY
it also says the comments here are from 6 or 7 years ago. Has repl.it even been around that long?

Profile icon
HackermonDev

@sugarfi
no, it could be something wrong with your computer's date

Profile icon
[deleted]

@PDanielY
my date is right.

Profile icon
HackermonDev

@sugarfi
hmm, I don't know then

Profile icon
[deleted]

@PDanielY
probably a repl.it problem

Profile icon
staticvoidliam7

Thanks! Im going to use this for my language this is so cool!

Profile icon
HackermonDev

@LiamDonohue
lol thx

Profile icon
staticvoidliam7

lol it sounded like you made it for me. how do you set up the output console?

@PDanielY

Profile icon
HackermonDev

@LiamDonohue
Well you can use something called xterm.js I am probably just gonna make a template for that too

Profile icon
staticvoidliam7

ok!

@PDanielY

Profile icon
HackermonDev

@LiamDonohue
https://repl.it/talk/templates/Template-for-XTermjs/34047