1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

(CSI/XF/BBC) Highlight.js 1.0.0

Highlight.js is a syntax highlighter written in JavaScript.

  1. idFox
    Compatible XF Versions:
    • 1.3
    • 1.4
    Visible Branding:
    No
    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
    3. Import bbcode: library/CSI/highlight.js/bbcode-csiXF_hlJS.xml
    Usage

    Code:
    [src=html] <...> [/src]
    Code:
    [src=css] <...> [/src]
    Code:
    [src=bash] <...> [/src]
    Screenshots

    screenshot_0001.png