hljs-enhance
v2.0.3
Published
Adds a little extra stuff to highlight.js
Downloads
68
Maintainers
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