# @11ty/eleventy-plugin-syntaxhighlight

> Prism.js based syntax highlighting for Markdown, Liquid, Nunjucks, WebC, and 11ty.js templates.

Latest version **5.0.2** (published 2025-08-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @11ty/eleventy-plugin-syntaxhighlight
pnpm add @11ty/eleventy-plugin-syntaxhighlight
yarn add @11ty/eleventy-plugin-syntaxhighlight
bun add @11ty/eleventy-plugin-syntaxhighlight
```

## Health

**Score 40/100 (D)** — status: stable.

Positive: no vulnerabilities; has provenance.

Warnings: low downloads; no types; no esm support.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 5.0.2 |
| Published | 2025-08-01 |
| First published | 2018-01-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 55.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 137 |
| Author | Zach Leatherman |
| Maintainers | zachleat, fortawesome-admin |
| Keywords | eleventy, eleventy-plugin |

## Links

- npm: https://www.npmjs.com/package/@11ty/eleventy-plugin-syntaxhighlight
- Repository: https://github.com/11ty/eleventy-plugin-syntaxhighlight
- Homepage: https://www.11ty.dev/docs/plugins/syntaxhighlight/
- Issues: https://github.com/11ty/eleventy-plugin-syntaxhighlight/issues
- Funding: https://opencollective.com/11ty
- npm.io page: https://npm.io/package/@11ty/eleventy-plugin-syntaxhighlight

## Dependencies (1)

- [prismjs](https://npm.io/package/prismjs.md) ^1.30.0

## Alternatives

- [async-exit-hook](https://npm.io/package/async-exit-hook.md) — 3.7M weekly downloads
- [evnty](https://npm.io/package/evnty.md) — 7.2K weekly downloads
- [eleventy-plugin-asciidoc](https://npm.io/package/eleventy-plugin-asciidoc.md) — 3.5K weekly downloads
- [@jswork/next-get2get](https://npm.io/package/@jswork/next-get2get.md) — 945 weekly downloads
- [@dashersw/axon](https://npm.io/package/@dashersw/axon.md) — 934 weekly downloads

## Recent versions

- 5.0.2 (latest) — 2025-08-01
- 5.0.1 — 2025-05-08
- 5.0.0 — 2023-04-12
- 4.2.0 — 2022-11-01
- 4.1.0 — 2022-06-28
- 4.0.0 — 2022-01-27
- 3.2.2 — 2022-01-20
- 3.2.1 — 2022-01-20
- 3.2.0 — 2022-01-20
- 3.1.3 — 2021-10-07
- 3.1.2 — 2021-07-12
- 3.1.1 — 2021-05-23
- 3.1.0 — 2021-03-06
- 3.0.6 — 2021-01-10
- 3.0.5 — 2021-01-08
- … 14 more at https://npm.io/package/@11ty/eleventy-plugin-syntaxhighlight/versions

## README

<p align="center"><img src="https://www.11ty.dev/img/logo-github.svg" width="200" height="200" alt="eleventy Logo"></p>

# eleventy-plugin-syntaxhighlight 🕚⚡️🎈🐀

A pack of [Eleventy](https://github.com/11ty/eleventy) plugins for syntax highlighting. No browser/client JavaScript here, these highlight transformations are all done at build-time.

## Read the [Full Documentation on 11ty.dev](https://www.11ty.dev/docs/plugins/syntaxhighlight/)

---
_Source: https://npm.io/package/@11ty/eleventy-plugin-syntaxhighlight · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
