starquake / highlightjs.org

The source code for the official highlightjs.org website, powered by Next.js

Home Page:http://highlightjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highlightjs.org

Welcome to the second iteration of our beloved highlightjs.org website! This is a standard Next.js website with server-side functionality.

Development

This website requires the highlight.js repo to be cloned and a few extra things to be built, such as an inventory of all the languages and themes that are supported.

npm install

# Download and build any dependencies (e.g. source of hljs)
npm run build

# Server on localhost:3000
npm run dev

Production

The production version of this website is hosted on Heroku since server-side functionality was needed to support our custom build functionality.

npm install
npm run build
npm start

About

The source code for the official highlightjs.org website, powered by Next.js

http://highlightjs.org


Languages

Language:TypeScript 82.0%Language:JavaScript 9.3%Language:SCSS 5.5%Language:Shell 3.1%