Getting simple code syntax highlighting

This page summarizes the projects mentioned and recommended in the original post on /r/nextjs

Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. prism-react-renderer

    🖌️ Renders highlighted Prism output to React (+ theming & vendored Prism)

    From memory you need to target the `pre` block so you can apply the styles/theme to them. I uses prism-react-renderer.

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. next-mdx-blog

    Next.js + MDX blog template with Tailwind CSS and TypeScript.

    I know rehype is quite good. You can look at leerob's blog repo and see how he uses it https://github.com/leerob/leerob.io/tree/1ab95f21ac79e7a2210ea0211ae8432ef6789fdc

  4. next-js-test

    Gladly, thanks! https://github.com/enriquemorenotent/next-js-test

  5. nextjs-prism-markdown

    Discontinued Example using Prism / Markdown with Next.js including switching syntax highlighting themes.

    Hey! Here's a simple example: https://github.com/leerob/nextjs-prism-markdown

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How I built my second brain using Next.JS

    2 projects | dev.to | 8 Jan 2022
  • Adding Line Numbers and Code Highlighting to MDX

    2 projects | dev.to | 6 Aug 2021
  • Beating Google's kernelCTF PoW using AVX512 to win $51k

    3 projects | news.ycombinator.com | 30 May 2025
  • Show HN: Ameliorate – improve how we discuss, model, and understand problems

    2 projects | news.ycombinator.com | 14 Apr 2025
  • How to Take Good Decisions?

    1 project | news.ycombinator.com | 21 Nov 2024

Did you know that JavaScript is
the 3rd most popular programming language
based on number of references?