Skip to content
Alabaster theme for Highlight.js
HTML CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
.editorconfig
.gitignore
.npmignore
.prettierrc.js
index.html
license.txt
package.json
pnpm-lock.yaml
readme.md
theme.css

readme.md

Demo screenshot

Alabaster Theme for Highlight.js

License NPM version Minified size

Most color themes highlight everything they can, ending up looking like a fireworks show.

Instead, Alabaster uses minimal highlighting. See original motivation statement.

Demo

See demo page.

Usage

Simplest way

Download theme file and put it wherever you need.

Advanced setup

If your build system supports importing CSS files from node_modules, you can install hljs-alabaster as a dependency:

npm install hljs-alabaster

And directly import it in your CSS:

@import 'hljs-alabaster';

Credits

You can’t perform that action at this time.