Simple Syntax Highlighter
![npm](https://img.shields.io/npm/dt/simple-syntax-highlighter.svg)
No chi-chi syntax highlighter for Vue.js (2 and 3).
Installation
npm i simple-syntax-highlighter
Vue 2 (legacy)
npm i simple-syntax-highlighter@legacy
Demo & Documentation
https://antoniandre.github.io/simple-syntax-highlighter
Browser Support
![Chrome](https://raw.github.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png) | ![Firefox](https://raw.github.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png) | ![Safari](https://raw.github.com/alrra/browser-logos/master/src/safari/safari_48x48.png) | ![Opera](https://raw.github.com/alrra/browser-logos/master/src/opera/opera_48x48.png) | ![Edge](https://raw.github.com/alrra/browser-logos/master/src/edge/edge_48x48.png) |
---|
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
Donating
If you like this library, you can buy me a beer or become a sponsor!
Thank you!
If you are using this library for profit business, please consider backing me!
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.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