hljs-enhance
v2.0.5
Published
Adds a little extra stuff to highlight.js
Readme
hljs-enhance
Adds a little extra stuff to highlight.js
Stuff
- Normalizes code indent to first column of display box
- Trims whitespace around code
- Adds border with option for caption (
<figcaption>) - Adds hover effect to syntax highlighting
See It
https://center-key.github.io/hljs-enhance
Use It
From a CDN
In a project
$ npm install hljs-enhance