/oncode

A very, very lightweight (~20kb) code editor.

Primary LanguageTypeScriptGNU Lesser General Public License v3.0LGPL-3.0

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! :)