satya164 / monaco-editor-boilerplate

A simple boilerplate for Monaco editor with React.
MIT License
207 stars 47 forks source link

Running the code #14

Open Jaytimbadia7 opened 1 year ago

Jaytimbadia7 commented 1 year ago

Hi,

I have a requirement in which we need python code editor.

Now once someone has written the code, they want to compile and execute it. How can I achieve this? Is it like, when they press a button to execute, I will take the code backend and execute it and give result back to user? but this sounds painful and difficult. Is there any other way?

Hackerearth uses this seamlessly. Don't know how they do it?

ajh123 commented 4 months ago

This feels like a question for the official Monaco editor repo (https://github.com/microsoft/monaco-editor). This repo is just a template showing how the Monaco editor can be used.