Skip to content
JS
Package

@portabletext/markdown

Convert Portable Text to and from Markdown

v2.4.0, 24 Sept 2026MITESM onlyTypes: BundledMarkdown
$ npm install @portabletext/markdown

Key numbers

As of 25 Sept 2026
Weekly downloads
387.8k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
6
Direct, from package.json
Last release
today
v2.4.0
GitHub stars
280
21 forks
Open issues / PRs
6 / 8
Contributors
-
Commits, last 52 weeks
2,002

No weekly download data in the snapshot.

387,789 downloads last week, 2,134,441 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
3434 in total
Latest version
2.4.0, 24 Sept 2026today
First published
3 Dec 2025
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
6
Open pull requests
8
Commits, last 52 weeks
2,002
Dependents on npm
7

Major versions

  1. v2 first release 2.0.0, 25 Aug 2026
  2. v1 first release 1.0.0, 3 Dec 2025

Recent releases

VersionPublished
2.4.024 Sept 2026
2.3.022 Sept 2026
2.2.221 Sept 2026
2.2.117 Sept 2026
2.2.014 Sept 2026
2.1.09 Sept 2026
2.0.025 Aug 2026
1.5.017 Aug 2026
1.4.714 Aug 2026
1.4.610 Aug 2026
1.4.510 Aug 2026
1.4.410 Jul 2026
1.4.36 Jul 2026
1.4.224 Jun 2026
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22.12
Runtimes
-
Unpacked size (npm)
602 kB
Dependencies (6)
linkify-itmarkdown-it@mdit/plugin-alert@portabletext/schema@portabletext/toolkit@sanity/diff-match-patch
npm install @portabletext/markdown
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@portabletext/markdown@2.4.0/
  • unpkghttps://unpkg.com/@portabletext/markdown@2.4.0/
  • esm.shhttps://esm.sh/@portabletext/markdown@2.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
remove-markdown805k-24 days agoESM + CommonJS-
ts-markdown-builder87.6k-7 months agoESM + CommonJS-
@khanacademy/simple-markdown26.2k-1 month agoESM + CommonJS-
md-utils-ts21.7k-3 years agoESM + CommonJS-
fenceparser11.5k-4 years agoESM + CommonJS-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.