EnlighterJS/EnlighterJS
:high_brightness: an open source syntax highlighter written in pure javascript observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4894
- days_rel: n/a
- days_push: 855
- n_releases_24m: 0
Adoption not part of the score
1052 stars · 212 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
EnlighterJS is an open-source syntax highlighter written in pure JavaScript with zero dependencies, supporting 40 languages and 12 themes. It highlights code blocks on web pages with a single command and offers official plugins for WordPress, TinyMCE, and Gutenberg.
Use cases
- highlight code blocks on a website
- syntax highlighting for blog posts
- display code snippets with themes
- add codegroups with tabs to a page
- highlight inline code in HTML
- syntax highlighting for WordPress
When to choose
- you need a dependency-free, lightweight browser-side highlighter
- you want many built-in language grammars and customizable themes
- you run WordPress or a TinyMCE/Gutenberg editor and want an official plugin
When to avoid
- you need server-side rendering or Node.js highlighting
- you want a highlighter with active frequent development
- you need IDE-grade parsing of complex languages
Facets
library · maturity maintenance
ui-components frontend-framework web-development frontend developer-tools documentation browser syntax-highlighting code-highlighter zero-dependencies themes tokenizer wordpress-plugin javascript
3 sources
- readme: https://github.com/EnlighterJS/EnlighterJS · fetched 2026-08-28 · 34b9390b8acd
- homepage: https://enlighterjs.org/ · fetched 2026-08-29 · 6c71a3004c31
- registry_npm: https://registry.npmjs.org/enlighterjs · fetched 2026-08-29 · ba108eceea56
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| EnlighterJS/EnlighterJS | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="EnlighterJS/EnlighterJS")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem