Skip to content

Highlight.js loader, highlight js plugin (Auto highlighter, Add line numbers, Encode tags, niceScroll, Fix CSS) javascript syntax highlighter

License

Notifications You must be signed in to change notification settings

AliDbg/highlight.js_loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Highlight JS Loader

Usage:

```html <script src="/src/highlight.js"></script> <script src="highlightjs.loader.js"></script> ```

CDN:

```html <script src="http://cdn.jsdelivr.net/g/highlight.js,highlightjs.loader@6(src/JStyles/monokai_sublime.js+highlightjs.loader.min.js)"></script>
Your source for highlighting

With jQuery.niceScroll
```html
<script src="http://cdn.jsdelivr.net/g/jquery,jquery.nicescroll,highlight.js,highlightjs.loader@6(src/JStyles/monokai_sublime.js+highlightjs.loader.min.js)"></script>

<pre>
<code>Your source for highlighting</code>
</pre>

Live Demo:

[Highlight.js Loader Demo](http://codepen.io/alidbg/pen/EaQLeO)

Features:

  1. Auto detection and highlighting
  2. Add line numbers
  3. Encode tags
  4. Fix Style
  5. niceScroll

Links:

[Highlight.js Home](https://highlightjs.org/)
[Customize Download](https://highlightjs.org/download/)
[Styles Live Demo](https://highlightjs.org/static/demo/)
[Hljs Git Repository](https://github.com/isagalaev/highlight.js)
[Hljs Documentation](http://highlightjs.readthedocs.org/)
[Hljs Discussion](https://groups.google.com/forum/#!forum/highlightjs)
[Escape HTML Entities](http://www.htmlescape.net/htmlescape_tool.html)
[jsDelivr CDN Service](http://www.jsdelivr.com/)

About

Highlight.js loader, highlight js plugin (Auto highlighter, Add line numbers, Encode tags, niceScroll, Fix CSS) javascript syntax highlighter

Resources

License

Stars

Watchers

Forks

Packages

No packages published