
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
@lezer/highlight
Advanced tools
[ WEBSITE | ISSUES | FORUM | CHANGELOG ]
Lezer is an incremental parser system intended for use in an editor or similar system.
@lezer/highlight provides a syntax highlighting framework for Lezer parse trees.
Its programming interface is documented on the website.
This code is licensed under an MIT license.
highlight.js is a popular syntax highlighting library that supports a wide range of languages and is easy to integrate into web projects. Unlike @lezer/highlight, it does not require a separate parser and comes with built-in language definitions.
Prism is a lightweight, extensible syntax highlighter that supports a variety of languages and themes. It is similar to @lezer/highlight in that it allows for custom highlighting rules, but it is more focused on web integration and has a larger community and more plugins.
FAQs
Highlighting system for Lezer parse trees
The npm package @lezer/highlight receives a total of 5,408,010 weekly downloads. As such, @lezer/highlight popularity was classified as popular.
We found that @lezer/highlight demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.