Skip to content

epiksel/summernote-highlight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summernote Syntax Highlighting

Based on Google code-prettify the Summernote code highlighting plugin. Color themes for Google Code Prettify

DEMO PAGE

Setup

  • Include summernote project script
  • 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:'tr-TR'
});

Contacts

License

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

About

Based on code-prettify the summernote code highlighting plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.1%
  • HTML 24.9%