# julkue/mark.js

JavaScript keyword highlighting. Mark text with options that fit every application. Also available as jQuery plugin.

Repository: https://github.com/julkue/mark.js
Canonical: https://ross.abutalabs.com/products/markjs
Homepage: https://markjs.io/
Language: JavaScript
License: MIT
License Family: permissive
Topics: javascript, mark, highlight, highlighter, jquery, mark-text, highlighting, highlight-keywords
Last push: 2025-06-17T06:30:09+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 27, release rhythm 35, longevity 100
- inputs: {"age_days": 4240, "days_push": 442, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2588, forks 217 (observed 2026-08-28T04:07:02.812876+00:00)

## What it is
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
- artifact type: library
- maturity: stable
- function: search-engine, ui-components, parser
- domain: web-development, frontend
- platform: browser, cross-platform
- tags: keyword-highlighting, jquery-plugin, text-marking, search-term-highlight, dom-manipulation, search, nodejs

## Member repositories
- julkue/mark.js (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.812876+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:22:23.753070+00:00, confidence not recorded.
  - readme: https://github.com/julkue/mark.js (fetched 2026-08-28T04:07:02.812876+00:00, sha 02792b57f6ed)
  - homepage: https://markjs.io/ (fetched 2026-08-29T10:05:00.396201+00:00, sha abecc54398d8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
