Summernote Syntax Highlighting

Based on Google code-prettify the summernote code highlighting plugin

Setup

<script src="http://your domain/summernote-ext-highlight.js"></script>

Usage

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

Contacts

License

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