https://github.com/highlightjs/highlightjs.org
The source code for the official highlightjs.org website, powered by Next.js
https://github.com/highlightjs/highlightjs.org
nextjs
Last synced: 2 months ago
JSON representation
The source code for the official highlightjs.org website, powered by Next.js
- Host: GitHub
- URL: https://github.com/highlightjs/highlightjs.org
- Owner: highlightjs
- Created: 2020-09-29T05:58:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-12T00:52:41.000Z (12 months ago)
- Last Synced: 2025-03-26T08:37:13.824Z (3 months ago)
- Topics: nextjs
- Language: TypeScript
- Homepage: http://highlightjs.org
- Size: 562 KB
- Stars: 28
- Watchers: 6
- Forks: 11
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: news/2023-08-02-new-website.md
Awesome Lists containing this project
README
# highlightjs.org
Welcome to the second iteration of our beloved highlightjs.org website! This is a standard [Next.js](https://nextjs.org/) 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.
```bash
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.
```bash
npm install
npm run build
npm start
```