Summernote Ext Highlight Save

Based on code-prettify the summernote code highlighting plugin

Project README

summernote-ext-highlight

Based on Google code-prettify the summernote code highlighting plugin

Setup

  • Include summernote project script
  • Include Font Awesome
  • Include the script tag below in your document
<script src="http://your domain/summernote-ext-highlight.js"></script>

Usage

  • Configuration summernote toolbar
$('.summernote').summernote({
    height: 200,
    tabsize: 2,
    // close prettify Html
    prettifyHtml:false,
    toolbar:[
        // Add highlight plugin
        ['highlight', ['highlight']],
    ],
    lang:'zh-CN'
});

Contacts

License

summernote-ext-highlight may be freely distributed under the MIT license.

Open Source Agenda is not affiliated with "Summernote Ext Highlight" Project. README Source: heyanlong/summernote-ext-highlight
Stars
30
Open Issues
5
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating