Skip to content
JS
Package

rehype-prism-plus

rehype plugin to highlight code blocks in HTML with Prism (via refractor) with line highlighting and line numbers

v2.0.2, 8 Feb 2026MITESM onlyTypes: BundledMarkdown
$ npm install rehype-prism-plus

Key numbers

As of 25 Sept 2026
Weekly downloads
1.1m
+160% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
7 months ago
v2.0.2
GitHub stars
201
18 forks
Open issues / PRs
7 / 0
Contributors
-
Commits, last 52 weeks
9

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.5m (25 Aug 2026)Low 365.8k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

1,091,655 downloads last week, 5,325,593 in the last month. The 12-month change of +160% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
131 in total
Latest version
2.0.2, 8 Feb 20267 months ago
First published
29 Jun 2021
Last push to GitHub
8 Feb 2026228 days before the snapshot
Repository archived
No
Open issues
7
Open pull requests
0
Commits, last 52 weeks
9
Dependents on npm
67

Major versions

  1. v2 first release 2.0.0, 8 Jan 2024
  2. v1 first release 1.0.0, 8 Sept 2021
  3. v0 first release 0.0.1, 29 Jun 2021

Recent releases

VersionPublished
2.0.28 Feb 2026
2.0.15 Apr 2025
2.0.08 Jan 2024
1.6.37 Aug 2023
1.6.26 Aug 2023
1.6.125 Jun 2023
1.6.024 Jun 2023
1.5.14 Feb 2023
1.5.021 Aug 2022
1.4.320 Aug 2022
1.4.25 Jul 2022
1.4.115 Jun 2022
1.4.013 May 2022
1.3.228 Feb 2022
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
101 kB
Dependencies (6)
refractorrehype-parseunist-util-visitunist-util-filterhast-util-to-stringparse-numeric-range
npm install rehype-prism-plus
  • jsDelivrhttps://cdn.jsdelivr.net/npm/rehype-prism-plus@2.0.2/
  • unpkghttps://unpkg.com/rehype-prism-plus@2.0.2/
  • esm.shhttps://esm.sh/rehype-prism-plus@2.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
rehype-mdx-import-media40.1k-6 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.