# @codemirror/highlight

> Syntax highlighting for the CodeMirror code editor

Latest version **0.19.8** (published 2022-03-27) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @codemirror/highlight
pnpm add @codemirror/highlight
yarn add @codemirror/highlight
bun add @codemirror/highlight
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.19.8 |
| Published | 2022-03-27 |
| First published | 2020-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 108.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Marijn Haverbeke |
| Maintainers | adrianheine, marijn |
| Keywords | editor, code |

## Links

- npm: https://www.npmjs.com/package/@codemirror/highlight
- Repository: https://github.com/codemirror/highlight
- Homepage: https://github.com/codemirror/highlight#readme
- Issues: https://github.com/codemirror/highlight/issues
- npm.io page: https://npm.io/package/@codemirror/highlight

## Dependencies (6)

- [style-mod](https://npm.io/package/style-mod.md) ^4.0.0
- [@lezer/common](https://npm.io/package/@lezer/common.md) ^0.15.0
- [@codemirror/view](https://npm.io/package/@codemirror/view.md) ^0.19.39
- [@codemirror/state](https://npm.io/package/@codemirror/state.md) ^0.19.3
- [@codemirror/language](https://npm.io/package/@codemirror/language.md) ^0.19.0
- [@codemirror/rangeset](https://npm.io/package/@codemirror/rangeset.md) ^0.19.0

## Alternatives

- [flatbuffers](https://npm.io/package/flatbuffers.md) — 6.0M weekly downloads
- [jwt-simple](https://npm.io/package/jwt-simple.md) — 259.5K weekly downloads
- [@exodus/patch-broken-hermes-typed-arrays](https://npm.io/package/@exodus/patch-broken-hermes-typed-arrays.md) — 28.5K weekly downloads
- [@native-to-anchor/buffer-layout](https://npm.io/package/@native-to-anchor/buffer-layout.md) — 12.2K weekly downloads
- [binary-parser-encoder](https://npm.io/package/binary-parser-encoder.md) — 5.3K weekly downloads

## Recent versions

- 0.19.8 (latest) — 2022-03-27
- 0.19.7 — 2022-01-03
- 0.19.6 — 2021-09-23
- 0.19.5 — 2021-09-16
- 0.19.4 — 2021-09-03
- 0.19.3 — 2021-09-03
- 0.19.2 — 2021-08-19
- 0.19.1 — 2021-08-11
- 0.19.0 — 2021-08-11
- 0.18.4 — 2021-05-18
- 0.18.3 — 2021-03-04
- 0.18.2 — 2021-03-04
- 0.18.1 — 2021-03-04
- 0.18.0 — 2021-03-03
- 0.17.3 — 2021-02-25
- … 3 more at https://npm.io/package/@codemirror/highlight/versions

## README

# @codemirror/highlight [![NPM version](https://img.shields.io/npm/v/@codemirror/highlight.svg)](https://www.npmjs.org/package/@codemirror/highlight)

[ [**WEBSITE**](https://codemirror.net/6/) | [**DOCS**](https://codemirror.net/6/docs/ref/#highlight) | [**ISSUES**](https://github.com/codemirror/codemirror.next/issues) | [**FORUM**](https://discuss.codemirror.net/c/next/) | [**CHANGELOG**](https://github.com/codemirror/highlight/blob/main/CHANGELOG.md) ]

This package implements syntax highlighting for the
[CodeMirror](https://codemirror.net/6/) code editor.

The [project page](https://codemirror.net/6/) has more information, a
number of [examples](https://codemirror.net/6/examples/) and the
[documentation](https://codemirror.net/6/docs/).

This code is released under an
[MIT license](https://github.com/codemirror/highlight/tree/main/LICENSE).

We aim to be an inclusive, welcoming community. To make that explicit,
we have a [code of
conduct](http://contributor-covenant.org/version/1/1/0/) that applies
to communication around the project.

---
_Source: https://npm.io/package/@codemirror/highlight · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
