{
  "engines": {
    "node": "*"
  },
  "homepage": "http://highlightjs.org/",
  "description": "Syntax highlighting with language autodetection.",
  "bugs": {
    "url": "https://github.com/isagalaev/highlight.js/issues"
  },
  "contributors": [
    {
      "name": "Ivan Sagalaev",
      "email": "maniac@softwaremaniacs.org",
      "url": "original author"
    },
    {
      "name": "Jeremy Hull",
      "email": "sourdrums@gmail.com"
    },
    {
      "name": "Oleg Efimov",
      "email": "efimovov@gmail.com"
    },
    {
      "name": "Peter Leonov",
      "email": "gojpeg@gmail.com"
    },
    {
      "name": "Victor Karamzin",
      "email": "Victor.Karamzin@enterra-inc.com"
    },
    {
      "name": "Vsevolod Solovyov",
      "email": "vsevolod.solovyov@gmail.com"
    },
    {
      "name": "Anton Kovalyov",
      "email": "anton@kovalyov.net"
    },
    {
      "name": "Nikita Ledyaev",
      "email": "lenikita@yandex.ru"
    },
    {
      "name": "Konstantin Evdokimenko",
      "email": "qewerty@gmail.com"
    },
    {
      "name": "Dmitri Roudakov",
      "email": "dmitri@roudakov.ru"
    },
    {
      "name": "Yuri Ivanov",
      "email": "ivanov@supersoft.ru"
    },
    {
      "name": "Vladimir Ermakov",
      "email": "vooon341@mail.ru"
    },
    {
      "name": "Vladimir Gubarkov",
      "email": "xonixx@gmail.com"
    },
    {
      "name": "Brian Beck",
      "email": "exogen@gmail.com"
    },
    {
      "name": "MajestiC",
      "email": "majestic2k@gmail.com"
    },
    {
      "name": "Vasily Polovnyov",
      "email": "vast@whiteants.net"
    },
    {
      "name": "Vladimir Epifanov",
      "email": "voldmar@voldmar.ru"
    },
    {
      "name": "Alexander Makarov",
      "email": "sam@rmcreative.ru"
    },
    {
      "name": "Vah",
      "email": "vahtenberg@gmail.com"
    },
    {
      "name": "Shuen-Huei Guan",
      "email": "drake.guan@gmail.com"
    },
    {
      "name": "Jason Diamond",
      "email": "jason@diamond.name"
    },
    {
      "name": "Michal Gabrukiewicz",
      "email": "mgabru@gmail.com"
    },
    {
      "name": "Ruslan Keba",
      "email": "rukeba@gmail.com"
    },
    {
      "name": "Sergey Baranov",
      "email": "segyrn@yandex.ru"
    },
    {
      "name": "Zaripov Yura",
      "email": "yur4ik7@ukr.net"
    },
    {
      "name": "Oleg Volchkov",
      "email": "oleg@volchkov.net"
    },
    {
      "name": "Vasily Mikhailitchenko",
      "email": "vaskas@programica.ru"
    },
    {
      "name": "Jan Berkel",
      "email": "jan.berkel@gmail.com"
    },
    {
      "name": "Vladimir Moskva",
      "email": "vladmos@gmail.com"
    },
    {
      "name": "Loren Segal",
      "email": "lsegal@soen.ca"
    },
    {
      "name": "Andrew Fedorov",
      "email": "dmmdrs@mail.ru"
    },
    {
      "name": "Igor Kalnitsky",
      "email": "igor@kalnitsky.org"
    },
    {
      "name": "Valerii Hiora",
      "email": "valerii.hiora@gmail.com"
    },
    {
      "name": "Nikolay Zakharov",
      "email": "nikolay.desh@gmail.com"
    },
    {
      "name": "Dmitry Kovega",
      "email": "arhibot@gmail.com"
    },
    {
      "name": "Sergey Ignatov",
      "email": "sergey@ignatov.spb.su"
    },
    {
      "name": "Antono Vasiljev",
      "email": "self@antono.info"
    },
    {
      "name": "Stephan Kountso",
      "email": "steplg@gmail.com"
    },
    {
      "name": "pumbur",
      "email": "pumbur@pumbur.net"
    },
    {
      "name": "John Crepezzi",
      "email": "john.crepezzi@gmail.com"
    },
    {
      "name": "Andrey Vlasovskikh",
      "email": "andrey.vlasovskikh@gmail.com"
    },
    {
      "name": "Alexander Myadzel",
      "email": "myadzel@gmail.com"
    },
    {
      "name": "Evgeny Stepanischev",
      "email": "imbolk@gmail.com"
    },
    {
      "name": "Dmytrii Nagirniak",
      "email": "dnagir@gmail.com"
    },
    {
      "name": "Luigi Maselli",
      "email": "grigio.org@gmail.com"
    },
    {
      "name": "Denis Bardadym",
      "email": "bardadymchik@gmail.com"
    },
    {
      "name": "Aahan Krish",
      "email": "geekpanth3r@gmail.com"
    },
    {
      "name": "Ilya Baryshev",
      "email": "baryshev@gmail.com"
    },
    {
      "name": "Aleksandar Ruzicic",
      "email": "aleksandar@ruzicic.info"
    },
    {
      "name": "Joe Cheng",
      "email": "joe@rstudio.org"
    },
    {
      "name": "Angel G. Olloqui",
      "email": "angelgarcia.mail@gmail.com"
    },
    {
      "name": "Jason Tate",
      "email": "adminz@web-cms-designs.com"
    },
    {
      "name": "Sergey Tikhomirov",
      "email": "me@stikhomirov.com"
    },
    {
      "name": "Marc Fornos",
      "email": "marc.fornos@gmail.com"
    },
    {
      "name": "Yoshihide Jimbo",
      "email": "yjimbo@gmail.com"
    },
    {
      "name": "Casey Duncan",
      "email": "casey.duncan@gmail.com"
    },
    {
      "name": "Eugene Nizhibitsky",
      "email": "nizhibitsky@gmail.com"
    },
    {
      "name": "Alberto Gimeno",
      "email": "gimenete@gmail.com"
    },
    {
      "name": "Kirk Kimmel",
      "email": "kimmel.k.programmer@gmail.com"
    },
    {
      "name": "Nathan Grigg",
      "email": "nathan@nathanamy.org"
    },
    {
      "name": "Dr. Drang",
      "email": "drdrang@gmail.com"
    },
    {
      "name": "Robin Ward",
      "email": "robin.ward@gmail.com"
    },
    {
      "name": "Dmitry Medvinsky",
      "email": "me@dmedvinsky.name"
    },
    {
      "name": "Jason Jacobson",
      "email": "jason.a.jacobson@gmail.com"
    },
    {
      "name": "Jonas Follesø",
      "email": "jonas@follesoe.no"
    },
    {
      "name": "Dan Allen",
      "email": "dan.j.allen@gmail.com"
    },
    {
      "name": "noformnocontent",
      "email": "i@noformnocontent.com"
    },
    {
      "name": "Damien White",
      "email": "damien.white@visoftinc.com"
    },
    {
      "name": "Alexander Marenin",
      "email": "great_muchacho@mail.ru"
    },
    {
      "name": "Cédric Néhémie",
      "email": "cedric.nehemie@gmail.com"
    },
    {
      "name": "Simon Madine",
      "email": "simon@angryrobotzombie.com"
    },
    {
      "name": "Benjamin Pannell",
      "email": "contact@sierrasoftworks.com"
    },
    {
      "name": "Eric Knibbe",
      "email": "eric@lassosoft.com"
    },
    {
      "name": "Poren Chiang",
      "email": "ren.chiang@gmail.com"
    },
    {
      "name": "Kelley van Evert",
      "email": "kelleyvanevert@gmail.com"
    },
    {
      "name": "Kurt Emch",
      "email": "kurt@kurtemch.com"
    },
    {
      "name": "Mehdi Dogguy",
      "email": "mehdi@dogguy.org"
    },
    {
      "name": "Nicolas Braud-Santoni",
      "email": "nicolas.braud-santoni@ens-cachan.fr"
    },
    {
      "name": "Ralf Bitter",
      "email": "rabit@revigniter.com"
    },
    {
      "name": "Sylvestre Ledru",
      "email": "sylvestre.ledru@scilab-enterprises.com"
    },
    {
      "name": "Troy Kershaw",
      "email": "hello@troykershaw.com"
    },
    {
      "name": "Zena Treep",
      "email": "zena.treep@gmail.com"
    },
    {
      "name": "Daniel Kvasnicka",
      "email": "dkvasnicka@vendavo.com"
    },
    {
      "name": "Carlo Kok",
      "email": "ck@remobjects.com"
    },
    {
      "name": "Bram de Haan",
      "email": "info@atelierbramdehaan.nl"
    },
    {
      "name": "Seongwon Lee",
      "email": "dlimpid@gmail.com"
    },
    {
      "name": "Zaven Muradyan",
      "email": "megalivoithos@gmail.com"
    },
    {
      "name": "Jan T. Sott",
      "email": "jan@idleberg.com"
    },
    {
      "name": "Brent Bradbury",
      "email": "brent@brentium.com"
    },
    {
      "name": "Martin Dilling-Hansen",
      "email": "martindlling@gmail.com"
    },
    {
      "name": "Ilya Vassilevsky",
      "email": "vassilevsky@gmail.com"
    }
  ],
  "author": {
    "name": "Ivan Sagalaev",
    "email": "maniac@softwaremaniacs.org"
  },
  "version": "8.0.0",
  "licenses": [
    {
      "url": "https://github.com/isagalaev/highlight.js/blob/master/LICENSE",
      "type": "BSD"
    }
  ],
  "name": "highlight.js",
  "main": "./lib/index.js",
  "scripts": {},
  "keywords": [
    "highlight",
    "syntax"
  ],
  "repository": {
    "url": "git://github.com/isagalaev/highlight.js.git",
    "type": "git"
  },
  "readme": "# Highlight.js\n\nHighlight.js highlights syntax in code examples on blogs, forums and,\nin fact, on any web page. It's very easy to use because it works\nautomatically: finds blocks of code, detects a language, highlights it.\n\nAutodetection can be fine tuned when it fails by itself (see \"Heuristics\").\n\n\n## Basic usage\n\nLink the library and a stylesheet from your page and hook highlighting to\nthe page load event:\n\n```html\n<link rel=\"stylesheet\" href=\"styles/default.css\">\n<script src=\"highlight.pack.js\"></script>\n<script>hljs.initHighlightingOnLoad();</script>\n```\n\nThis will highlight all code on the page marked up as `<pre><code> .. </code></pre>`.\nIf you use different markup or need to apply highlighting dynamically, read\n\"Custom initialization\" below.\n\n- You can download your own customized version of \"highlight.pack.js\" or\n  use the hosted one as described on the download page:\n  <http://highlightjs.org/download/>\n\n- Style themes are available in the download package or as hosted files.\n  To create a custom style for your site see the class reference in the file\n  [CSS classes reference][cr] from the downloaded package.\n\n[cr]: http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html\n\n\n## node.js\n\nHighlight.js can be used under node.js. The package with all supported languages is\ninstallable from NPM:\n\n    npm install highlight.js\n\nAlternatively, you can build it from the source with only languages you need:\n\n    python3 tools/build.py -tnode lang1 lang2 ..\n\nUsing the library:\n\n```javascript\nvar hljs = require('highlight.js');\n\n// If you know the language\nhljs.highlight(lang, code).value;\n\n// Automatic language detection\nhljs.highlightAuto(code).value;\n```\n\n\n## AMD\n\nHighlight.js can be used with an AMD loader.  You will need to build it from\nsource in order to do so:\n\n```bash\n$ python3 tools/build.py -tamd lang1 lang2 ..\n```\n\nWhich will generate a `build/highlight.pack.js` which will load as an AMD\nmodule with support for the built languages and can be used like so:\n\n```javascript\nrequire([\"highlight.js/build/highlight.pack\"], function(hljs){\n\n  // If you know the language\n  hljs.highlight(lang, code).value;\n\n  // Automatic language detection\n  hljs.highlightAuto(code).value;\n});\n```\n\n\n## Tab replacement\n\nYou can replace TAB ('\\x09') characters used for indentation in your code\nwith some fixed number of spaces or with a `<span>` to give them special\nstyling:\n\n```html\n<script type=\"text/javascript\">\n  hljs.configure({tabReplace: '    '}); // 4 spaces\n  // ... or\n  hljs.configure({tabReplace: '<span class=\"indent\">\\t</span>'});\n\n  hljs.initHighlightingOnLoad();\n</script>\n```\n\n## Custom initialization\n\nIf you use different markup for code blocks you can initialize them manually\nwith `highlightBlock(code)` function. It takes a DOM element containing the\ncode to highlight and optionally a string with which to replace TAB\ncharacters.\n\nInitialization using, for example, jQuery might look like this:\n\n```javascript\n$(document).ready(function() {\n  $('pre code').each(function(i, e) {hljs.highlightBlock(e)});\n});\n```\n\nYou can use `highlightBlock` to highlight blocks dynamically inserted into\nthe page. Just make sure you don't do it twice for already highlighted\nblocks.\n\nIf your code container relies on `<br>` tags instead of line breaks (i.e. if\nit's not `<pre>`) set the `useBR` option to `true`:\n\n```javascript\nhljs.configure({useBR: true});\n$('div.code').each(function(i, e) {hljs.highlightBlock(e)});\n```\n\n\n## Heuristics\n\nAutodetection of a code's language is done using a simple heuristic:\nthe program tries to highlight a fragment with all available languages and\ncounts all syntactic structures that it finds along the way. The language\nwith greatest count wins.\n\nThis means that in short fragments the probability of an error is high\n(and it really happens sometimes). In this cases you can set the fragment's\nlanguage explicitly by assigning a class to the `<code>` element:\n\n```html\n<pre><code class=\"html\">...</code></pre>\n```\n\nYou can use class names recommended in HTML5: \"language-html\",\n\"language-php\". Classes also can be assigned to the `<pre>` element.\n\nTo disable highlighting of a fragment altogether use \"no-highlight\" class:\n\n```html\n<pre><code class=\"no-highlight\">...</code></pre>\n```\n\n\n## Export\n\nFile export.html contains a little program that allows you to paste in a code\nsnippet and then copy and paste the resulting HTML code generated by the\nhighlighter. This is useful in situations when you can't use the script itself\non a site.\n\n\n## Meta\n\n- Version: 8.0\n- URL:     http://highlightjs.org/\n\nFor the license terms see LICENSE files.\nFor authors and contributors see AUTHORS.en.txt file.\n",
  "readmeFilename": "README.md",
  "_id": "highlight.js@8.0.0",
  "_shasum": "b81db5be8e6f5c5029c40b66b473170cd3e0875a",
  "_from": "highlight.js@>= 8.0.x",
  "_resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-8.0.0.tgz"
}
