Edit.js is a lightweight and minimalist implementation code editor. It features flexible syntax highlighting, bracket matching, and 500 undo levels.
Online in-browser test can be conducted here.
Just include edit.js from this folder to your html, that's all of the dependency you need. Refer to index.html in this folder as an example template. Change keywords and colors as you like.
Code in this repository is licensed under MIT license.