Add the SurveyJS UI components to your JS app (React/Angular/Vue3). Securely collect and analyze data without sending it to 3rd-party servers. Fully customizable, works with any backend, and ideal for data-heavy apps. Learn more. Learn more →
Top 3 JavaScript Code highlighting Projects
- Project mention: Open-Source N8N Alternative for Workflow Building (GUI and Docker Included) | news.ycombinator.com | 2025-11-28
In your website you could use https://highlightjs.org/ to syntax highlight the blocks of code.
-
SurveyJS
SurveyJS: Build JSON-Driven Surveys and Forms with Full Data Control. Add the SurveyJS UI components to your JS app (React/Angular/Vue3). Securely collect and analyze data without sending it to 3rd-party servers. Fully customizable, works with any backend, and ideal for data-heavy apps. Learn more.
-
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 more likely to come from some silly JS somewhere.
-
JavaScript Code highlighting discussion
JavaScript Code highlighting related posts
-
Open-Source N8N Alternative for Workflow Building (GUI and Docker Included)
-
Supercharge Your Projects: Must-Have JavaScript Plugins for Developers 🚀
-
A better pkg.go.dev
-
Day 19: Highlight'em up! 🔖
-
A Simple, mostly CSS code editor
-
YouTube Embeds Are Bananas Heavy and It's Fixable
-
Dev.to and GitHub usage pl Syntax Highlighter
- A note from our sponsor - SurveyJS surveyjs.io | 23 Dec 2025
Index
What are some of the best open-source Code highlighting projects in JavaScript? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | Highlight.js | 24,775 |
| 2 | PrismJS | 12,869 |
| 3 | Javascript Left-Right Parser | 10 |