julkue/mark.js
JavaScript keyword highlighting. Mark text with options that fit every application. Also available as jQuery plugin. observed · 2026-08-28
Health v2 · maintenance only
44/100
- Activity 27
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 4240
- days_rel: n/a
- days_push: 442
- n_releases_24m: 0
Adoption not part of the score
2588 stars · 217 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mark.js is a JavaScript library for highlighting keywords or custom regular expressions in text, usable with plain JavaScript or as a jQuery plugin. It offers options like diacritics support, separate word search, synonyms, iframes support, custom filters, and custom element/class names.
Use cases
- highlight search terms in search results
- mark keywords in a page dynamically
- highlight text matching a custom regular expression
- filter a list and highlight matching entries
- build a search bar that jumps to matches
- highlight matches inside table columns
When to choose
- you need client-side keyword or regex highlighting in the browser
- you want configurable matching (diacritics, synonyms, word boundaries, accuracy)
- you need both vanilla JS and jQuery integration options
When to avoid
- you need server-side or non-DOM text highlighting
- you want syntax highlighting for source code rather than keyword marking
- your project no longer uses jQuery and you need a framework-specific solution
Facets
library · maturity stable
search-engine ui-components parser web-development frontend browser cross-platform keyword-highlighting jquery-plugin text-marking search-term-highlight dom-manipulation search nodejs
2 sources
- readme: https://github.com/julkue/mark.js · fetched 2026-08-28 · 02792b57f6ed
- homepage: https://markjs.io/ · fetched 2026-08-29 · abecc54398d8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| julkue/mark.js | main | 44 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem