Skip to content

andrew--r/hljs-alabaster

Repository files navigation

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