Shiki
prism.js
highlight.js
Bright
Inkjet (Syntax Highlighting)
Torchlight.dev
starry-night
Re-Highlight
JavaScript
Python
Java
PHP
Rust
Haskell
Typescript
Elixir
ShikiBased on our record, Shiki seems to be more popular. It has been mentiond 1 time since March 2021. 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 / about 1 year ago
prism.js - Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind.
Python - Python is a clear and powerful object-oriented programming language, comparable to Perl, Ruby, Scheme, or Java.
highlight.js - Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server.
Java - A concurrent, class-based, object-oriented, language specifically designed to have as few implementation dependencies as possible
Bright - React Server Component for syntax highlighting.
PHP - A popular general-purpose scripting language that is especially suited to web development