Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months 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 (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-08-26T09:29:45.000Z (5 months ago)
- Last Synced: 2024-11-14T21:18:48.381Z (3 months ago)
- Topics: highlightjs, javascript, syntax-highlighting
- Language: HTML
- Homepage: https://center-key.github.io/hljs-enhance/
- Size: 60.5 KB
- Stars: 3
- Watchers: 2
- 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_
[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/center-key/hljs-enhance/blob/main/LICENSE.txt)
[![npm](https://img.shields.io/npm/v/hljs-enhance.svg)](https://www.npmjs.com/package/hljs-enhance)
[![Build](https://github.com/center-key/hljs-enhance/actions/workflows/run-spec-on-push.yaml/badge.svg)](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)