This Repo has basic implementation of the codemirror and the Piston API usage.
You can get all the languages avaliable by making a get requrest to
https://emkc.org/api/v2/piston/runtimes
Take this code as reference to make the main home page and try to add language support for the following languages as well:
Here is how you can number items in Markdown:
- Javascript
- CPP
- python
- C
Hope this helps to get your work done faster.