A very, very lightweight code editor.
-
Highlighting
-
Suggestions
-
Auto intending
-
Javascript
-
HTML
-
CSS
const editor = new OnCode(
document.querySelector("#myEditor"), // Targeted element
"js" // Programming language; Supported values: "js", "html", "css"
);
Please feel free to contribute! :)