Skip to content

A simple and powerful text editor inspired from Monaco editor from microsoft. This can be embedded in a webpage to create your own online text editor for programming competitions.

Notifications You must be signed in to change notification settings

Allwin12/Text-editor-with-syntax-highlighting-using-HTML-and-Javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Text-editor-with-syntax-highlighting-using-HTML-and-Javascript

A simple and powerful text editor inspired from Monaco editor from microsoft. This can be embedded in a webpage to create your own online text editor for programming competitions.

This project was inspired from Monaco editor by microsoft and this fiddle

Most of the css and js files required are included directly from the github repository thus reducing the size and complexity of the html file.

This project consists of only three files.

  • index.html
  • index.js
  • samples folder

The samples folder will have sample programs for all the languages that are supported by the editor. These sample programs will be loaded as soon as we select the language from the drop down box.

The following languages are supported by this editor.

  • abap
  • aes
  • apex
  • azcli
  • bat
  • c
  • clojure
  • coffeescript
  • csharp
  • cpp
  • csp
  • css
  • dockerfile
  • fsharp
  • go
  • graphql
  • handlebars
  • html
  • ini
  • java
  • javascript
  • json
  • kotlin
  • les
  • lua
  • markdown
  • mips
  • msdax
  • mysql
  • objective c
  • pascal
  • pascaligo
  • perl
  • pgsql
  • php
  • plaintext
  • postiats
  • powerquery
  • powershell
  • pug
  • python
  • r
  • razor
  • redshift
  • redis
  • ruby
  • rust
  • sb
  • scheme
  • scss
  • shell
  • sol
  • sql
  • st
  • swift
  • tcl
  • twig
  • typescript
  • vb
  • xml
  • yml

This editor also supports three themes

  • visual studio

  • visual studio dark

  • High contrast dark

👍

About

A simple and powerful text editor inspired from Monaco editor from microsoft. This can be embedded in a webpage to create your own online text editor for programming competitions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published