Vite Plugin Prismjs
JSON →A Vite plugin that integrates Prism.js syntax highlighting by processing JavaScript imports to include only specified languages, plugins, and themes. Version 0.0.11 (latest as of 2023) targets Node >=12 and ships TypeScript definitions. It works at transform time to reduce bundle size. Compared to manual Prism.js setup, it automates language registration and avoids unnecessary imports. The plugin mirrors the configuration of babel-plugin-prismjs, making migration straightforward for projects switching from Babel to Vite.
Traffic · last 30 days ↓40% vs prev 7d
total hits 14
actors 4 distinct systems
last hit 1d ago AhrefsBot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇸🇬 Singapore · AR · 🇫🇷 France
Resources
API endpoints
full doc /v1/registry/vite-plugin-prismjs