https://github.com/center-key/hljs-enhance
✨ Adds a little extra stuff to highlight.js
https://github.com/center-key/hljs-enhance
highlightjs javascript syntax-highlighting
Last synced: 20 days ago
JSON representation
✨ Adds a little extra stuff to highlight.js
- Host: GitHub
- URL: https://github.com/center-key/hljs-enhance
- Owner: center-key
- License: mit
- Created: 2018-08-12T06:28:17.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T09:27:35.000Z (about 2 months ago)
- Last Synced: 2025-05-07T22:06:41.294Z (20 days ago)
- Topics: highlightjs, javascript, syntax-highlighting
- Language: HTML
- Homepage: https://center-key.github.io/hljs-enhance/
- Size: 63.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# hljs-enhance
_Adds a little extra stuff to highlight.js_
[](https://github.com/center-key/hljs-enhance/blob/main/LICENSE.txt)
[](https://www.npmjs.com/package/hljs-enhance)
[](https://github.com/center-key/hljs-enhance/actions/workflows/run-spec-on-push.yaml)## Stuff
1. Normalizes code indent to first column of display box
1. Trims whitespace around code
1. Adds border with option for caption (``)
1. Adds hover effect to syntax highlighting## See It
[https://center-key.github.io/hljs-enhance](https://center-key.github.io/hljs-enhance/)## Use It
### From a CDN
[instructions.txt](https://center-key.github.io/hljs-enhance/instructions.txt)### In a project
```shell
$ npm install hljs-enhance
```---
[MIT License](LICENSE.txt)