code-input.js: An editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins. [contribute here or on https://github.com/WebCoder49/code-input] https://code-input-js.org
  • JavaScript 83.1%
  • CSS 9.3%
  • HTML 5.2%
  • Shell 2.4%
Find a file
2026-01-21 23:06:11 +00:00
.github/workflows Update minify action to revert wrongly-minified CSS so Prism line-numbers aligned correctly 2025-09-21 12:24:42 +01:00
docs Release v2.8.1 2026-01-21 23:05:51 +00:00
esm Fix (hopefully) NPM build 2025-08-10 18:10:14 +01:00
plugins Auto Minify JS and CSS files 2026-01-21 22:46:10 +00:00
tests Auto Minify JS and CSS files 2025-12-11 12:45:35 +00:00
.gitignore Finish TypeScript bindings; Get ready for release 2.0 2023-06-29 18:50:48 +01:00
.npmignore Export minified files for backwards compatibility; Ignore irrelevant files from NPM build; move ESM generation to prepack 2025-07-19 12:08:00 +01:00
code-input.css Add almost-perfect (#211) cross-browser Autogrow plugin (fixes #206); make Autogrow fit dialogs by default; make dialogs fully disappear when closed (#210) 2025-12-10 00:06:31 +00:00
code-input.d.ts Fix typos and wording, refer to Codeberg as well as GitHub, don't be partial to CodePen, all in docs and comments 2025-12-07 18:56:37 +00:00
code-input.js Merge branch 'main' into autogrow 2025-12-11 12:44:45 +00:00
code-input.min.css Auto Minify JS and CSS files 2025-12-11 12:45:35 +00:00
code-input.min.js Auto Minify JS and CSS files 2025-12-11 12:45:35 +00:00
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2023-10-07 10:47:35 +01:00
CONTRIBUTING.md Fix typos and omissions in referring to Codeberg as well as GitHub, and 'code-input.js' instead of 'code-input' 2025-12-08 21:09:42 +00:00
LICENSE Document pluginData in d.ts 2025-08-10 13:04:46 +01:00
package.json Release v2.8.1 2026-01-21 23:05:51 +00:00
README.md Remove README external resources for Codeberg 2026-01-21 23:06:11 +00:00
SECURITY.md Make security advice clearer, more consistent, and add it to the README 2025-11-15 16:14:06 +00:00

code-input

Click to Switch: Website and Demos | GitHub | Codeberg | Yarn | NPM

View License | View Releases

An editable <textarea> that supports any syntax highlighting algorithm, for code or something else. Also, added plugins.

Aiming to be more flexible, lightweight, modular, progressively enhanced and standards-based than the alternatives, we support HTML forms, the <textarea> JavaScript interface, more languages and more use cases.


Demos and usage instructions are available at https://code-input-js.org and the docs directory, to let you get started quickly!


Contributing

If you have any features you would like to add to code-input as plugins or core functionality, or have found any bugs, please open an issue or fork and submit a pull request! All contributions to this open-source project will be greatly appreciated. You can see more info in our CONTRIBUTING.md file.

If you find a sensitive security vulnerability in the code-input.js library, please email the maintainer Oliver Geer at security@webcoder49.dev, optionally using this encryption key. GitHub security advisories (different to the more general "issues") are also accepted.

[Contributors](https://codeberg.org/code-input-js/code-input-js/activity/contributors)