Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/heyanlong/summernote-ext-highlight
Based on code-prettify the summernote code highlighting plugin
https://github.com/heyanlong/summernote-ext-highlight
highlight-plugin summernote
Last synced: about 1 month ago
JSON representation
Based on code-prettify the summernote code highlighting plugin
- Host: GitHub
- URL: https://github.com/heyanlong/summernote-ext-highlight
- Owner: heyanlong
- License: mit
- Created: 2015-05-15T06:58:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-11-30T06:18:02.000Z (about 4 years ago)
- Last Synced: 2024-05-01T23:40:27.287Z (8 months ago)
- Topics: highlight-plugin, summernote
- Language: JavaScript
- Size: 15.6 KB
- Stars: 30
- Watchers: 5
- Forks: 29
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-summernote - summernote-ext-highlight
README
# summernote-ext-highlight
Based on [Google code-prettify](https://github.com/google/code-prettify) the [summernote](https://github.com/summernote/summernote) code highlighting plugin## Setup
* Include summernote project script
* Include [Font Awesome](http://fontawesome.io/)
* Include the script tag below in your document
```HTML```
## Usage
* Configuration summernote toolbar
```javascript
$('.summernote').summernote({
height: 200,
tabsize: 2,
// close prettify Html
prettifyHtml:false,
toolbar:[
// Add highlight plugin
['highlight', ['highlight']],
],
lang:'zh-CN'
});
```
## Contacts
* Email: yanlong.hee#gmail.com
* Twitter: https://twitter.com/YanlongHe
* Website: https://notes.yanlong.me/## License
summernote-ext-highlight may be freely distributed under the MIT license.