Domain Rating by Ahrefs50
Description
CodeJar is a small, embeddable code editor for the web. It is a lightweight component of about 2 kB that turns an element into an editable code area with highlighting, so you can add a code editor to a page without a large framework. It is extendable: you can use any syntax highlighting library, such as PrismJS or highlight.js, or write your own highlighter. The site shows two examples, one with JavaScript and the Dracula style, and it says the editor works in Chrome, Safari, Firefox, iOS, iPadOS and Android. It is for web developers who need an in-page editor for a documentation site, a playground, a form or a small tool, and who want a light dependency. The project is open source on GitHub, under the antonmedv account, and the author's site includes a getting started guide. It is a building block for developers rather than a finished application for end users.…
Highlights
- About 2 kB embeddable editor
- Works with PrismJS or highlight.js
- Runs in Chrome, Safari, Firefox and mobile browsers
- Open-source project on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Codejar.
People also visit
Prism code editor
Lightweight, extensible code editor component for the web using Prism
Codejar FAQ
What is CodeJar?
An embeddable code editor for the browser that adds code editing with highlighting to a page of your own.
Is it free?
Yes. The source is public on GitHub and the listing shows no paid plan.
How big is it?
The site says it is only about 2 kB.
Can I change the highlighting?
Yes. You can use any highlighting library, such as PrismJS or highlight.js, or write your own.
Does it work on phones?
The site says it works on iOS, iPadOS and Android, as well as desktop Chrome, Safari and Firefox.
Who is it for?
Web developers who want a code editor inside a page, for playgrounds, docs or small tools.
What are the best Codejar alternatives?
Popular alternatives to Codejar include Prism code editor, Yace and Code Input. See all Codejar alternatives

