Neiki's Code Editor is a lightweight embeddable code editor built as a native Web Component using vanilla JavaScript. It runs without dependencies or build tools and can be dropped into any website via a single script tag. The editor provides a modern development experience with syntax highlighting, themes, line numbers, search, auto-indentation, and fullscreen support.
Designed for flexibility and performance, it uses Shadow DOM for style isolation and supports multiple languages including JavaScript, HTML, CSS, JSON, and Markdown. It is fully customizable through attributes, CSS variables, and a simple JavaScript API, making it suitable for documentation, demos, and embedded development tools.
Features
- π§© Vanilla Web Component (no frameworks) β built with native browser APIs
- β‘ Lightweight & embeddable β zero dependencies, works via single script tag
- π‘οΈ Shadow DOM isolation β no CSS conflicts with parent page
- π¨ Syntax highlighting β JavaScript, HTML, CSS, JSON, Markdown support
- π Editable code area β smooth typing experience with native behavior
- #οΈβ£ Line numbers support β optional numbering with active line highlight
- π Dark & light themes β modern developer-style UI themes
- β¨οΈ Keyboard friendly editing β tab handling, shortcuts, auto-indentation
- π§ Auto bracket closing β supports (), {}, [], "", ''
- π In-editor search β basic find functionality with navigation
- π One-click copy β instantly copy editor content
- π Readonly mode β perfect for code snippets and documentation
- π± Responsive design β works on desktop and mobile devices
- πΊοΈ Minimap support β optional overview for long code blocks
- π₯οΈ Fullscreen mode β distraction-free editing experience
License
MIT LicenseFollow Neiki's Code Editor
Other Useful Business Software
Build Agents and Models on One Platform
Gemini Enterprise Agent Platform is Google Cloud's comprehensive platform for developers to build, scale, govern, and optimize agents and models. Choose from Google's most advanced models and third-party models like Anthropic's Claude Model Family.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Neiki's Code Editor!