Skip to content
C

Code Input

code-input.js: An editable <textarea>

by WebCoder49Free

#3868in Developer Tools
0In stores

Description

code-input.js is a JavaScript library that turns a plain textarea into an editor with syntax highlighting. It works with any highlighting al…

Highlights

  • Editable textarea with any syntax highlighter
  • Works with HTML forms and the textarea API
  • Plugins and Prism.js demos
  • Static highlighter that can be used on its own
  • MIT license, on npm, GitHub and Codeberg

Ratings & Reviews

No ratings yet

Be the first to rate Code Input.

People also visit

R

React Textarea Code Editor

A simple code editor with syntax highlighting

Developer Tools
Launch
Y

Yace

under 2KB code editor for browser with plugins

Developer Tools
Launch
C

Codejar

An embeddable code editor for the browser

Developer Tools
Launch
P

Prism code editor

Lightweight, extensible code editor component for the web using Prism

Developer Tools
Launch
J

JSitor

Test your NodeJS, JavaScript, CSS, HTML online with JSitor code editor

Developer Tools
Launch
R

Rustpad

Efficient and minimal collaborative code editor, self-hosted

Developer Tools
Launch

Code Input FAQ

What is code-input.js?

A JavaScript component that makes an editable textarea with syntax highlighting, for code or any other text.

How do I install it?

Install @webcoder49/code-input from npm or Yarn, or download the ZIP or tarball from GitHub or Codeberg. The site has a Prism.js demo to start from.

What license is it under?

The MIT license, also called the Expat license. It is free, libre and open source software.

Does it work with forms?

Yes. It supports HTML forms and the textarea JavaScript interface.

Can I use any highlighter?

Yes. The site says it supports any syntax highlighting algorithm, and it shows a Prism.js demo.

What are the best Code Input alternatives?

Popular alternatives to Code Input include React Textarea Code Editor, Yace and Codejar. See all Code Input alternatives

Developer Stuff

Badges