Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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://codeberg.org/code-input-js/code-input-js]

License

Notifications You must be signed in to change notification settings

WebCoder49/code-input

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!


A lightweight setup like the animation below is still the default for code-input.js, but a wide range of plugins are available to modularly and progressively enhance the experience - see the website for interactive demos!

Using code-input with many different themes This demonstration uses themes from Prism.js and highlight.js, two syntax-highlighting programs which work well with and have compatibility built-in with code-input.

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
...have contributed pull requests so far.
(source: contrib.rocks)

About

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://codeberg.org/code-input-js/code-input-js]

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 10

AltStyle によって変換されたページ (->オリジナル) /