Skip to content
JS
Package

@cartamd/plugin-code

This plugin adds support for code blocks **syntax highlighting**. It uses the same highlighter from the core package(Shiki).

v4.2.0, 9 May 2025MITESM onlyTypes: BundledMarkdownParsers and serialisers
$ npm install @cartamd/plugin-code

Key numbers

As of 25 Sept 2026
Weekly downloads
2.4k
- over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
1 year ago
v4.2.0
GitHub stars
773
31 forks
Open issues / PRs
15 / 2
Contributors
-
Commits, last 52 weeks
13

No weekly download data in the snapshot.

2,449 downloads last week, 11,726 in the last month. No 52-week series has been fetched yet.

Releases, last 12 months
-
Latest version
4.2.0, 9 May 20251 year ago
First published
-
Last push to GitHub
19 Sept 20265 days before the snapshot
Repository archived
No
Open issues
15
Open pull requests
2
Commits, last 52 weeks
13
Dependents on npm
3

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
5.4 kB
Dependencies (2)
unified@shikijs/rehype
Peer dependencies (1)
carta-md
npm install @cartamd/plugin-code
  • jsDelivrhttps://cdn.jsdelivr.net/npm/@cartamd/plugin-code@4.2.0/
  • unpkghttps://unpkg.com/@cartamd/plugin-code@4.2.0/
  • esm.shhttps://esm.sh/@cartamd/plugin-code@4.2.0
PackageWeekly downloadsGzipLast releaseModuleComparison
remark-slate-transformer36.8k-2 years agoESM + CommonJS-
vditor36.7k-25 days agoCommonJS-
@uiw/react-md-editor569.5k-1 month agoESM + CommonJS-
react-mde71.8k-5 years agoCommonJS-
@kangc/v-md-editor5.2k-2 years agoCommonJS-
md-editor-v334.4k-8 days agoESM + CommonJS-
md-editor-rt6.5k-8 days agoESM + CommonJS-
@mdxeditor/editor840.3k-11 days agoESM only-
Sources: npm registry, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 2449 < 10000.