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.

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Prism

Prism Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Prism!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2024-11-07