simple-syntax-highlighter
Version:
No chi-chi syntax highlighter for Vue.js 3 (and 2).
71 lines (49 loc) • 2.91 kB
Markdown
# Simple Syntax Highlighter
[](https://npmjs.com/package/simple-syntax-highlighter)
[](LICENSE.md)
[](https://www.npmjs.com/package/simple-syntax-highlighter)
[](https://standardjs.com)
<!-- [](https://www.npmjs.com/package/simple-syntax-highlighter) -->
[](https://standardjs.com)
> No chi-chi syntax highlighter for Vue.js 3 (and 2).
___
## Installation
```
npm i simple-syntax-highlighter
```
**Vue 2 (legacy)**
```
npm i simple-syntax-highlighter@legacy
```
___
## Demo & Documentation
> [https://antoniandre.github.io/simple-syntax-highlighter](https://antoniandre.github.io/simple-syntax-highlighter)
___
## Browser Support
 |  |  |  |  |
--- | --- | --- | --- | --- |
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
___
## Donating
If you like this library, you can buy me a beer or [become a sponsor](https://github.com/sponsors/antoniandre)!
[](https://www.paypal.me/antoniandre1)
Thank you!
If you are using this library for profit business, please consider [backing me](https://github.com/sponsors/antoniandre)!
It ensures that the project your products rely on keep being actively maintained. :)
___
## Contributing
If you have any idea, feel free to open an issue to discuss a new feature or fork Simple Syntax Highlighter and submit your changes back to me.
___
## Release Notes
### Vue 3
- __Version 3.1.0__ Defaults to ES build for modern browsers.
- __Version 3.0.0__ Support code editing. Improved syntax highlighting. Always reactive.
- __Version 2.0.0__ Vue 3 build
### Vue 2
- __Version 1.6.0__ Support code editing. Improved syntax highlighting. Always reactive.
- __Version 1.5.0__ Removed support for IE - it's finally over. :tada:
- __Version 1.4.0__ Added Pug language support
- __Version 1.3.0__ Added the `copy-button` option
- __Version 1.2.0__ Added the `dark` option
- __Version 1.1.0__ Added the `reactive` option
- __Version 1.0.0__ First public release