https://github.com/egoist/hanabi
:boom: Highlight any code, in a colorful way. (seriously 700 bytes)
https://github.com/egoist/hanabi
fun highlight
Last synced: about 1 year ago
JSON representation
:boom: Highlight any code, in a colorful way. (seriously 700 bytes)
- Host: GitHub
- URL: https://github.com/egoist/hanabi
- Owner: egoist
- License: mit
- Created: 2017-02-23T08:33:31.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-01T16:24:39.000Z (almost 3 years ago)
- Last Synced: 2025-03-28T22:12:22.142Z (about 1 year ago)
- Topics: fun, highlight
- Language: JavaScript
- Homepage: https://hanabi.egoist.dev
- Size: 316 KB
- Stars: 250
- Watchers: 4
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-acg - hanabi - Colorful syntax highlighter inspired by [kemono-friends-syntax-highlight](http://pronama.azurewebsites.net/2017/02/23/kemono-friends-syntax-highlight/) and [its friends](https://gist.github.com/kuwa72/753f8ae998a84dda184c21cc874bd694). [English] (Programming)
README
# hanabi
[](https://npmjs.com/package/hanabi) [](https://npmjs.com/package/hanabi) [](https://circleci.com/gh/egoist/hanabi) [](https://github.com/egoist/donate)
How does it look like? Hmmm:

## Install
```bash
yarn add hanabi
```
CDN: https://unpkg.com/hanabi/dist/
## Usage
```js
const hanabi = require("hanabi");
hanabi(code);
```
Demo: https://hanabi.egoist.dev/
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## Author
**hanabi** © [egoist](https://github.com/egoist), Released under the [MIT](./LICENSE) License.
Authored and maintained by egoist with help from contributors ([list](https://github.com/egoist/hanabi/contributors)).
> [egoist.dev](https://egoist.dev) · GitHub [@egoist](https://github.com/egoist) · Twitter [@\localhost_5173](https://twitter.com/localhost_5173)