Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 389 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 389 Bytes

OnCode

A very, very lightweight code editor.

Features

  • Highlighting

  • Suggestions

  • Auto intending

Supported languages

  • Javascript

  • HTML

  • CSS

Usage

const editor = new OnCode(
  document.querySelector("#myEditor"), // Targeted element
  "js" // Programming language; Supported values: "js", "html", "css"
);

Please feel free to contribute! :)