Shiki
highlight.js
Inkjet (Syntax Highlighting)
Bright
Torchlight.dev
starry-night
Re-Highlight
Rainbow (Syntax Highlighting)
prism.js
highlight.js
Pygments
Inkjet (Syntax Highlighting)
Bright
Torchlight.dev
starry-night
Re-Highlight
Shiki
prism.jsBased on our record, prism.js seems to be a lot more popular than Shiki. While we know about 22 links to prism.js, we've tracked only 1 mention of Shiki. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
The site uses Astro (https://astro.build/) and the code blocks are generated using Shiki (https://shiki.style/). As Shiki generates the HTML and CSS at build-time instead of requiring runtime JS like alternatives like Prism (https://prismjs.com/#basic-usage), it's actually quite performant. I think it's unlikely that a couple of hundred lines with some empty spans in is going to cause performance issues โ imo it's... - Source: Hacker News / 9 months ago
It reminded me of the code highlighter[0], and the ORM Prisma[1]. [0] https://prismjs.com/. - Source: Hacker News / 3 months ago
Starting sometime in early December of 2025, a change was rolled out to the 1Password browser extension that began injecting prism.js onto every site and targeting every block it encountered. - Source: dev.to / 4 months ago
The site uses Astro (https://astro.build/) and the code blocks are generated using Shiki (https://shiki.style/). As Shiki generates the HTML and CSS at build-time instead of requiring runtime JS like alternatives like Prism (https://prismjs.com/#basic-usage), it's actually quite performant. I think it's unlikely that a couple of hundred lines with some empty spans in is going to cause performance issues โ imo it's... - Source: Hacker News / 9 months ago
First step it to open src/app/app.config.ts, enable markdown file support, and add a syntax highlighter. You can pick between Prism or Shiki, both are great, but for this example, weโre rolling with Prism. - Source: dev.to / 12 months ago
โจ Explore Prism.js for more themes and plugins! - Source: dev.to / about 1 year ago
highlight.js - Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server.
Inkjet (Syntax Highlighting) - A batteries-included syntax highlighting library for Rust, based on tree-sitter.
Pygments - Generic syntax highlighter suitable for use in code hosting, forums, wikis or other applications...
Bright - React Server Component for syntax highlighting.
Torchlight.dev - Torchlight is a VS Code-compatible syntax highlighter that requires no JavaScript, supports every language, every VS Code theme, line highlighting, git diffing, and more.
starry-night - This package is an open source version of GitHubโs closed-source PrettyLights project (more on that later).