Resource icon

(CSI/XF/BBC) Highlight.js 1.0.0

No permission to download

KaiKimera

Well-known member
idKitsune submitted a new resource:

(CSI-XF-BBC) Highlight.js - Highlight.js is a syntax highlighter written in JavaScript.

highlight.js
Syntax highlighting for the Web
My first addon, sorry...

Highlight.js is a syntax highlighter written in JavaScript. It works in the browser as well as on the server. It works with pretty much any markup, doesn't depend on any framework and has automatic language detection.

Installation
  1. Upload files
  2. Import addon: library/CSI/highlight.js/addon-csiXF_hlJS.xml...

Read more about this resource...
 
btw dit you know that you can replace:
Code:
<script>
  jQuery(document).ready(function(){jQuery(function csiJS_bbCodeSource(){var bbCodeWrapper='div.bbCodeSource';var bbCodeTag='pre code';jQuery(bbCodeWrapper).find(bbCodeTag).each(function(i,e){hljs.highlightBlock(e)});});});
</script>
By
Code:
<script>hljs.initHighlightingOnLoad();</script>

And can copy and past the skin you like in csiXF_hlJS_style.css
https://github.com/isagalaev/highlight.js/tree/master/src/styles
 
Back
Top Bottom