Based on Google code-prettify the Summernote code highlighting plugin. Color themes for Google Code Prettify
- Include summernote project script
- Include the script tag below in your document
<script src="http://your domain/summernote-ext-highlight.js"></script>
- Configuration summernote toolbar
$('.summernote').summernote({
height: 200,
tabsize: 2,
// close prettify Html
prettifyHtml:false,
toolbar:[
// Add highlight plugin
['highlight', ['highlight']],
],
lang:'tr-TR'
});
- Twitter: https://twitter.com/epiksel
- Website: https://e-piksel.com
summernote-ext-highlight may be freely distributed under the MIT license.