Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s used in millions of websites, including some of those you visit daily.
Features
- Include prism.css and prism.js, use proper HTML5 code tags (code.language-xxxx), done
- The core is 2KB minified & gzipped. Languages add 0.3-0.5KB each, themes are around 1KB.
- Define new languages or extend existing ones. Add new features thanks to Prism’s plugin architecture
- Language classes are inherited so you can only define the language once for multiple code snippets
- Supports parallelism with Web Workers, if available
- All styling is done through CSS, with sensible class names like .comment, .string, .property etc.
Categories
LibrariesLicense
MIT LicenseFollow Prism
Other Useful Business Software
Our Free Plans just got better! | Auth0
You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Prism!