Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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