Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/antoniandre/simple-syntax-highlighter

No chi-chi syntax highlighter for Vue.js (3 & 2).
https://github.com/antoniandre/simple-syntax-highlighter

highlighter syntax-highlighting vue vue2 vue3

Last synced: about 2 months ago
JSON representation

No chi-chi syntax highlighter for Vue.js (3 & 2).

Awesome Lists containing this project

README

        

# Simple Syntax Highlighter

[![Latest Version on NPM](https://img.shields.io/npm/v/simple-syntax-highlighter.svg)](https://npmjs.com/package/simple-syntax-highlighter)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md)
[![npm](https://img.shields.io/npm/dt/simple-syntax-highlighter.svg)](https://www.npmjs.com/package/simple-syntax-highlighter)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](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
![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](https://github.com/sponsors/antoniandre)!

[![paypal](https://www.paypalobjects.com/en_AU/i/btn/btn_donateCC_LG.gif)](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.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