# @expressive-code/plugin-text-markers

> Text marker plugin for Expressive Code, a text marking & annotation engine for presenting source code on the web.

Latest version **0.44.2** (published 2026-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install @expressive-code/plugin-text-markers
pnpm add @expressive-code/plugin-text-markers
yarn add @expressive-code/plugin-text-markers
bun add @expressive-code/plugin-text-markers
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.44.2 |
| Published | 2026-08-31 |
| First published | 2023-05-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 80.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 965 |
| Author | Tibor Schiemann |
| Maintainers | hippotastic, delucis |

## Links

- npm: https://www.npmjs.com/package/@expressive-code/plugin-text-markers
- Repository: https://github.com/expressive-code/expressive-code
- Homepage: https://github.com/expressive-code/expressive-code#readme
- Issues: https://github.com/expressive-code/expressive-code/issues
- npm.io page: https://npm.io/package/@expressive-code/plugin-text-markers

## Dependencies (1)

- [@expressive-code/core](https://npm.io/package/@expressive-code/core.md) ^0.44.2

## Recent versions

- 0.44.2 (latest) — 2026-08-31
- 0.44.1 — 2026-07-20
- 0.44.0 — 2026-06-25
- 0.43.1 — 2026-06-09
- 0.43.0 — 2026-06-08
- 0.42.0 — 2026-05-04
- 0.41.7 — 2026-02-23
- 0.41.6 — 2026-01-15
- 0.41.5 — 2025-12-16
- 0.41.4 — 2025-12-11
- 0.41.3 — 2025-07-05
- 0.41.2 — 2025-04-22
- 0.41.1 — 2025-04-13
- 0.41.0 — 2025-04-12
- 0.40.2 — 2025-02-11
- … 77 more at https://npm.io/package/@expressive-code/plugin-text-markers/versions

## README

# @expressive-code/plugin-text-markers

A default plugin of Expressive Code, an engine for presenting source code on the web.

It allows you to mark entire lines & line ranges, as well as individual text inside your lines using a selection of marker styles (marked, inserted, deleted).

It also ensures accessible color contrast of the marked code, automatically tweaking the text colors if necessary while keeping syntax highlighting intact.

## Documentation

[Read this plugin's documentation](https://expressive-code.com/key-features/text-markers/) on the Expressive Code website to learn more about its features.

## Installation (not required)

No installation is required. This package is **installed by default** by our higher-level packages.

---
_Source: https://npm.io/package/@expressive-code/plugin-text-markers · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
