hanabi
Version:
Highlight any code, in a colorful way.
44 lines (25 loc) • 1.46 kB
Markdown
# 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:
<img width="530" alt="2017-02-23 6 07 22" src="https://cloud.githubusercontent.com/assets/8784712/23254411/f8768838-f9f2-11e6-87fe-76055c0b7d1c.png">
## Install
```bash
yarn add hanabi
```
CDN: https://unpkg.com/hanabi/dist/
## Usage
```js
const hanabi = require('hanabi')
hanabi(code)
```
Demo: https://egoistian.com/hanabi/
## 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.<br>
Authored and maintained by egoist with help from contributors ([list](https://github.com/egoist/hanabi/contributors)).
> [egoistian.com](https://egoistian.com) · GitHub [@egoist](https://github.com/egoist) · Twitter [@rem_rin_rin](https://twitter.com/rem_rin_rin)