remark
A strong pick. 5th of 9 markdown libraries.
remark is the Markdown processor of the unified collective. It parses Markdown into a syntax tree (mdast), changes it with plugins, and writes it back out as Markdown or, through rehype, as HTML. For tree-based work like linting, rewriting and content pipelines it is the strongest choice today. Development is slow, though: the last release was in September 2023, and plain Markdown-to-HTML takes more setup than with Marked or markdown-it.
Best for: Teams that need to inspect, lint or rewrite Markdown as a syntax tree, or that build content pipelines with plugins, such as docs sites, blogs and MDX.
Scores
Overall7.6
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It is the clear pick when you need to work on Markdown as a tree or build plugin pipelines, and many leading frameworks build on it. For plain Markdown-to-HTML, Marked or markdown-it are simpler and faster. Slow releases and growth below the median keep it from the top of the category.
- pkgpulse.com/guides/marked-vs-remark-vs-markdown-it-parsers-2026: Recommends remark for AST pipelines and Marked for simple conversion.
- github latestRelease: Last release in September 2023.
- dependents repos: 221k dependent repos show wide real use.
GPT-6.2 Sol: 7.7, likely 6.6 to 8.7
Choose remark when editing, linting, or extending the Markdown tree is central to the project. For direct HTML rendering, markdown-it and Marked offer simpler setup and better throughput in the benchmarks reviewed. The long gap between core releases, below-median download growth, and Astro's move to a new default limit confidence in its momentum, even with continued framework use.
- github.com/remarkjs/remark/blob/main/readme.md: Shows tree transforms, linting, serialization, and HTML integration.
- github.com/quadratz/markdown-parser-benchmark: Marked and markdown-it render faster in the tested configurations.
- npm latestPublishedAt and medianDownloadsRatio: Last core release was in 2023 and install growth trailed the catalog median.
- docs.astro.build/en/guides/markdown-content/#markdown-processors: Astro 7 moved the Unified pipeline to opt-in.
- docusaurus.io/docs/markdown-features/plugins: Current documentation features still depend on remark plugins.
Needed by many5.8
How many developers need a tool for this job?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
Many web projects handle Markdown, but remark's take on the job is the syntax tree and plugin pipeline. That serves content sites, docs tools and linters more than simple rendering. It runs on any runtime and with any framework.
- tanstack.com/markdown/latest/docs/comparison: Describes unified/remark as the choice for rich syntax-tree transformations.
- pkgpulse.com/guides/marked-vs-remark-vs-markdown-it-parsers-2026: Recommends remark when a pipeline needs an AST for linting or rewriting.
GPT-6.2 Sol: 5.5, likely 4.2 to 6.7
Markdown processing serves documentation sites, blogs, editors, and build tools. remark works across frameworks and runtimes, with the most value for teams that need to change content before publishing. Framework adoption gives some indication of demand, but surveys offer little direct measurement of how many teams need tree editing.
- github.com/remarkjs/remark/blob/main/readme.md: Documents server, browser, CLI, and Deno use.
- 2025.stateofjs.com/en-US/libraries/meta-frameworks: Measures use of frameworks such as Next.js, Astro, and Docusaurus.
- docusaurus.io/docs/markdown-features/plugins: Shows how documentation sites use Markdown tree transforms.
Helps a lot8.3
How well does it do the job for those who need it?
Claude Opus 5.5: 8.0, likely 7.0 to 9.0
For reading and changing Markdown as a tree it is the best tool available. It is spec-compliant through micromark, fully typed and has a large plugin ecosystem. It loses points for plain rendering, where it needs several packages and more setup and runs slower than Marked. Raw HTML also needs rehype-raw and rehype-sanitize.
- tanstack.com/markdown/latest/docs/comparison: Lists more packages, configuration and runtime surface as the tradeoff.
- pkgpulse.com/guides/marked-vs-remark-vs-markdown-it-parsers-2026: Shows the multi-package pipeline and that plugin order matters.
- npm hasTypes: Ships its own TypeScript types.
GPT-6.2 Sol: 8.5, likely 7.3 to 9.4
Version 15.0.1 combines CommonMark parsing and serialization with a typed tree and an extensive plugin ecosystem. The documentation gives developers and coding agents concrete examples for common tasks. HTML rendering adds setup, and two benchmarks put the remark and rehype pipeline behind markdown-it and Marked. The gap varies by workload, and coding-agent accuracy has little direct measurement.
- npm latestVersion and hasTypes: Version 15.0.1 ships TypeScript declarations.
- github.com/remarkjs/remark/blob/main/readme.md: Documents CommonMark, mdast, and typed plugin examples.
- github.com/remarkjs/remark/blob/main/doc/plugins.md: Lists available plugins and flags older ones broken by parser changes.
- github.com/quadratz/markdown-parser-benchmark: Independent 2026 Deno benchmark compares HTML pipelines with and without plugins.
- github.com/TanStack/markdown/blob/main/reports/benchmarks.md: A second benchmark finds slower rendering across several fixtures.
Holds up over time6.4
Will it still be a good choice in two years?
Claude Opus 5.5: 6.5, likely 5.0 to 8.0
The core is mature and stable, but it has had no release since September 2023 and only 7 commits last year. Work in the wider collective goes on: micromark was published in September 2026. The collective has several maintainers and funds itself through Open Collective and GitHub Sponsors, but much of the work rests on one lead maintainer. The last major version broke defaults and moved to ESM-only, which annoyed some users.
- github commitsLastYear / releasesLastYear: 7 commits and 0 releases in the last year.
- github openIssues: 1 open issue against 445 closed, so the issue queue is kept clear.
- github.com/remarkjs/remark/releases: 15.0.0 in September 2023 changed defaults and required Node 16 with exports.
- GitHub.com/sponsors/unifiedjs: The collective is funded through sponsorship.
GPT-6.2 Sol: 6.3, likely 4.9 to 7.7
The core package last shipped in September 2023, and the repository logged seven commits in the past year, well behind Marked and markdown-it. The unified collective still receives funding, and a maintainer answered the open serialization report the day it was filed. Several plugin-list pull requests have waited months, and Astro 7 switched its default to Sätteri while keeping Unified available. The timing of the next core release is unclear.
- github commitsLastYear and npm latestPublishedAt: Seven commits in a year and no core npm release since September 2023.
- peers Marked and markdown-it: Both published in 2026 and each logged more than 100 commits.
- github.com/remarkjs/remark/releases: The later CLI patch is separate from the core package.
- opencollective.com/unified: Shows collective funding and recent contributions.
- github.com/remarkjs/remark/issues/1477: A maintainer responded to a serialization edge case the same day.
- github.com/remarkjs/remark/pulls: Several older open pull requests add entries to the plugin list.
- docs.astro.build/en/guides/markdown-content/#markdown-processors: Astro 7 defaults to Sätteri and retains Unified as an option.
Used widely7.1
How many use it, and is that growing?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
About 39M downloads in 4 weeks and 221k dependent repos are large numbers, and the wider ecosystem (remark-parse, micromark, react-markdown) is far bigger than the remark package alone. Its growth ratio of about 3.7 is a little below the 4.1 median, so it is slowly losing share. Much of its use comes indirectly through frameworks.
- npm downloadsLast4Weeks / downloadsSame4WeeksYearAgo: 39.5M against 10.6M, a ratio of about 3.7, below the 4.1 median.
- dependents repos: 221,029 repos, more than markdown-it's 205k and less than Marked's 469k.
- github stars: 9k stars, fewer than Marked and markdown-it.
GPT-6.2 Sol: 6.7, likely 5.6 to 7.8
ecosyste.ms found about 221,000 dependent repositories, ahead of markdown-it and behind Marked in the same sample. Four-week installs rose from 10.6 million to 39.5 million, about 3.73 times, below the 4.1 times catalog median and well behind Marked's growth. Repeat installs and indirect use through tools such as remark-cli inflate the download count, while projects that use remark-parse alone fall outside it. Those effects leave the number of new projects choosing remark directly uncertain.
- dependents: ecosyste.ms found 221,029 repositories and 2,187 npm packages.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: Downloads grew 3.73 times against a 4.1 times median.
- peers Marked and markdown-it: Marked leads on repository dependents and grew about sevenfold.
- github stars and bluesky posts: About 9,000 stars across the monorepo and three recent Bluesky posts.
- github.com/remarkjs/remark/blob/main/packages/remark-cli/package.json: Installing remark-cli also installs remark.
- github.com/mistralai/platform-docs-public/blob/main/package.json: Mistral lists remark-parse in runtime dependencies and remark in development dependencies.
Vouched for8.3
Who stands behind it being good?
Claude Opus 5.5: 8.5, likely 7.5 to 9.0
Major tools build on it: Astro's Markdown pipeline, MDX, react-markdown, Docusaurus and Gatsby, and Prettier uses remark-parse. Independent 2026 comparisons name it the pick for AST work. Survey data on it is thin.
- Astro, MDX, Docusaurus, react-markdown: Widely used frameworks build on remark.
- pistack.xyz/posts/2026-08-18-marked-vs-markdown-it-vs-remark-markdown-parser-comparison: Independent 2026 comparison frames remark as the AST and plugin choice.
- tanstack.com/markdown/latest/docs/comparison: Third-party comparison credits its transformation ecosystem.
GPT-6.2 Sol: 8.1, likely 7.0 to 9.1
Docusaurus uses remark plugins for core documentation features, Next.js uses the remark ecosystem in its MDX integration, and Mistral lists remark-parse as a dependency of its public docs. These uses support confidence in the tree and plugin APIs across different projects. The evidence is strongest for the ecosystem as a whole, and Astro's switch reduces the weight of one major adoption signal.
- docusaurus.io/docs/markdown-features/plugins: Uses remark plugins for tables of contents, heading anchors, and links.
- nextjs.org/docs/app/guides/mdx: Documents how @next/mdx uses remark and rehype.
- github.com/mistralai/platform-docs-public/blob/main/package.json: Public documentation site declares remark-parse and several plugins.
- astro.build/blog/astro-7: Astro adopted a new default Markdown and MDX pipeline in 2026.
Safe7.0
How safe is it to depend on?
Claude Opus 5.5: 7.5, likely 6.5 to 8.5
It has no advisories ever, few direct dependencies, the MIT licence and raw HTML is not passed through by default. The OpenSSF Scorecard is low at 4.3, with branch protection, token permissions and pinned dependencies all scoring 0. The many small transitive packages of the unified ecosystem widen the surface somewhat.
- advisories total: 0 advisories.
- scorecard score: 4.3 overall, with weak branch protection, token permissions and pinning.
- npm dependencies: 4 direct dependencies.
GPT-6.2 Sol: 6.4, likely 5.1 to 7.8
The MIT-licensed package has four direct dependencies, a public security policy, and zero advisories recorded for the core package. OpenSSF scores it 4.3, with zeroes for branch protection, workflow token permissions, dependency pinning, and fuzzing. GitHub verifies the commit behind 15.0.1, while npm artifact provenance and the current publisher count remain unclear. Rendering untrusted Markdown with raw HTML enabled depends on how the downstream pipeline sanitizes it.
- npm license and dependencies: MIT with four direct dependencies, including a type package.
- advisories total and last24Months: Zero recorded advisories for the core package.
- scorecard score and checks: 4.3 overall with several zeroes and unavailable packaging and signing scores.
- github.com/remarkjs/remark/releases/tag/15.0.1: GitHub shows a verified signature on the release commit.
- github.com/remarkjs/remark/security: Documents private reporting to the unified core team.
- github.com/remarkjs/remark-rehype#security: Explains the security implications of passing raw HTML through to output.
Good
- It has a typed, serializable syntax tree (mdast) and hundreds of plugins for remark and rehype.
- It follows CommonMark through micromark, and GFM, frontmatter and directives are available as plugins.
- Astro, MDX, react-markdown, Docusaurus and many docs tools build on it.
- It pulls in only 4 direct dependencies, uses the MIT licence and has no known advisories.
Bad
- Simple Markdown-to-HTML takes several packages (remark-parse, remark-rehype, rehype-stringify, remark-gfm) and correct plugin order.
- It is ESM-only and has had no release since September 2023, with only 7 commits in the last year.
- For plain rendering it is slower and heavier than Marked or markdown-it.
- Its OpenSSF Scorecard is a low 4.3: no branch protection, unpinned dependencies and broad token permissions.
The numbers
- npm downloads, 4 weeks
- 39M ×3.7 in a year
- GitHub stars
- 9k
- Commits, 12 months
- 7
- npm version
- 15.0.1 Sept 2023
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 0 ever
- OpenSSF Scorecard
- 4.3 out of 10, Nov 2026
- Licence
- MIT
Read on 21 November 2026 from GitHub (remarkjs/remark), npm (remark), OSV and the OpenSSF Scorecard.
Markdown libraries
- 8.3Marked
- 7.9markdown-it
- 7.7react-markdown
- 7.7Streamdown
- 7.6remark
- 7.4MDX
- 7.1micromark
- 7.0Markdoc
- 4.1Showdown