How to make code samples like this on the website?

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

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • carbon

    :black_heart: Create and share beautiful images of your source code

    Or if it's 1 time, you can create code images here https://carbon.now.sh

  • Highlight.js

    JavaScript syntax highlighter with language auto-detection and zero dependencies.

    You mean syntax highlighting code on a website? https://highlightjs.org/

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

  • chroma

    A general purpose syntax highlighter in pure Go (by alecthomas)

  • PrismJS

    Lightweight, robust, elegant syntax highlighting.

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