A very lightweight and easy to use syntax highlighter (not an editor) for Vue 3 and 2. Multiple coding languages supported. What I use in all my libs documentations. ;)
npm i simple-syntax-highlighter
Vue 2 (legacy)
npm i simple-syntax-highlighter@legacy
Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ | Latest ✔ |
If you like this library, you can buy me a beer or become a sponsor!
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. :)
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.
- Version 2.0.0 Vue 3 build
- Version 1.5.0 Removed support for IE - it's finally over. 🎉
- 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