1. Yann Malet
  2. byteflow

Commits

Alexander Solovyov  committed 475e7b6

highlight.js update to 5.0

  • Participants
  • Parent commits 2462493
  • Branches default

Comments (0)

Files changed (30)

File static/js/highlight.js

-/* 
-Syntax highlighting with language autodetection.  
-http://softwaremaniacs.org/soft/highlight/
-*/
-
-var hljs = new function() {
-
-  var DEFAULT_LANGUAGES = ['python', 'ruby', 'perl', 'php', 'css', 'xml', 'html', 'django', 'javascript', 'java', 'cpp', 'sql', 'smalltalk', 'ini', 'diff'];
-  var ALL_LANGUAGES = (DEFAULT_LANGUAGES.join(',') + ',' + ['1c', 'axapta', 'delphi', 'rib', 'rsl', 'vbscript', 'profile', 'dos', 'bash'].join(',')).split(',');
-  var LANGUAGE_GROUPS = {
-    'xml': 'www',
-    'html': 'www',
-    'css': 'www',
-    'django': 'www',
-    'python': 'dynamic',
-    'perl': 'dynamic',
-    'php': 'dynamic',
-    'ruby': 'dynamic',
-    'cpp': 'static',
-    'java': 'static',
-    'delphi': 'static',
-    'rib': 'renderman',
-    'rsl': 'renderman'
-  }
-
-  var LANGUAGES = {}
-  var selected_languages = {};
-  
-  function escape(value) {
-    return value.replace(/&/gm, '&amp;').replace(/</gm, '&lt;').replace(/>/gm, '&gt;');
-  }
-  
-  function contains(array, item) {
-    if (!array)
-      return false;
-    for (var key in array)
-      if (array[key] == item)
-        return true;
-    return false;
-  }
-  
-  function highlight(language_name, value) {
-    function compileSubModes(mode, language) {
-      mode.sub_modes = [];
-      for (var i in mode.contains) {
-        for (var j in language.modes) {
-          if (language.modes[j].className == mode.contains[i]) {
-            mode.sub_modes[mode.sub_modes.length] = language.modes[j];
-          }
-        }
-      }
-    }
-  
-    function subMode(lexem, mode) {
-      if (!mode.contains) {
-        return null;
-      }
-      if (!mode.sub_modes) {
-        compileSubModes(mode, language);
-      }
-      for (var i = 0; i < mode.sub_modes.length; i++) {
-        if (mode.sub_modes[i].beginRe.test(lexem)) {
-          return mode.sub_modes[i];
-        }
-      }
-      return null;
-    }
-    
-    function endOfMode(mode_index, lexem) {
-      if (modes[mode_index].end && modes[mode_index].endRe.test(lexem))
-        return 1;
-      if (modes[mode_index].endsWithParent) {
-        var level = endOfMode(mode_index - 1, lexem);
-        return level ? level + 1 : 0;
-      }
-      return 0;
-    }
-    
-    function isIllegal(lexem, mode) {
-      return mode.illegalRe && mode.illegalRe.test(lexem);
-    }
-    
-    function compileTerminators(mode, language) {
-      var terminators = [];
-      
-      function addTerminator(re) {
-        if (!contains(terminators, re)) {
-          terminators[terminators.length] = re;
-        }
-      }
-      
-      if (mode.contains)
-        for (var key in language.modes) {
-          if (contains(mode.contains, language.modes[key].className)) {
-            addTerminator(language.modes[key].begin);
-          }
-        }
-      
-      var index = modes.length - 1;
-      do {
-        if (modes[index].end) {
-          addTerminator(modes[index].end);
-        }
-        index--;
-      } while (modes[index + 1].endsWithParent);
-      
-      if (mode.illegal) {
-        addTerminator(mode.illegal);
-      }
-      
-      var terminator_re = '(' + terminators[0];
-      for (var i = 0; i < terminators.length; i++)
-        terminator_re += '|' + terminators[i];
-      terminator_re += ')';
-      return langRe(language, terminator_re);
-    }
-
-    function eatModeChunk(value, index) {
-      var mode = modes[modes.length - 1];
-      if (!mode.terminators) {
-        mode.terminators = compileTerminators(mode, language);
-      }
-      value = value.substr(index);
-      var match = mode.terminators.exec(value);
-      if (!match) 
-        return [value, '', true];
-      if (match.index == 0)
-        return ['', match[0], false];
-      else
-        return [value.substr(0, match.index), match[0], false];
-    }
-    
-    function keywordMatch(mode, match) {
-      var match_str = language.case_insensitive ? match[0].toLowerCase() : match[0]
-      for (var className in mode.keywordGroups) {
-        var value = mode.keywordGroups[className].hasOwnProperty(match_str);
-        if (value)
-          return [className, value];
-      }
-      return false;
-    }
-    
-    function processKeywords(buffer, mode) {
-      if (!mode.keywords || !mode.lexems)
-        return escape(buffer);
-      if (!mode.lexemsRe) {
-        var lexems_re = '(' + mode.lexems[0];
-        for (var i = 1; i < mode.lexems.length; i++)
-          lexems_re += '|' + mode.lexems[i];
-        lexems_re += ')';
-        mode.lexemsRe = langRe(language, lexems_re, true);
-      }
-      var result = '';
-      var last_index = 0;
-      mode.lexemsRe.lastIndex = 0;
-      var match = mode.lexemsRe.exec(buffer);
-      while (match) {
-        result += escape(buffer.substr(last_index, match.index - last_index));
-        keyword_match = keywordMatch(mode, match);
-        if (keyword_match) {
-          keyword_count += keyword_match[1];
-          result += '<span class="'+ keyword_match[0] +'">' + escape(match[0]) + '</span>';
-        } else {
-          result += escape(match[0]);
-        }
-        last_index = mode.lexemsRe.lastIndex;
-        match = mode.lexemsRe.exec(buffer);
-      }
-      result += escape(buffer.substr(last_index, buffer.length - last_index));
-      return result;
-    }
-    
-    function processBuffer(buffer, mode) {
-      if (mode.subLanguage && selected_languages[mode.subLanguage]) {
-        var result = highlight(mode.subLanguage, buffer);
-        keyword_count += result.keyword_count;
-        relevance += result.relevance;
-        return result.value;
-      } else {
-        return processKeywords(buffer, mode);
-      }
-    }
-    
-    function startNewMode(mode, lexem) {
-      if (mode.returnBegin) {
-        result += '<span class="' + mode.className + '">';
-        mode.buffer = '';
-      } else if (mode.excludeBegin) {
-        result += escape(lexem) + '<span class="' + mode.className + '">';
-        mode.buffer = '';
-      } else {
-        result += '<span class="' + mode.className + '">';
-        mode.buffer = lexem;
-      }
-      modes[modes.length] = mode;
-    }
-    
-    function processModeInfo(buffer, lexem, end) {
-      var current_mode = modes[modes.length - 1];
-      if (end) {
-        result += processBuffer(current_mode.buffer + buffer, current_mode);
-        return false;
-      }
-      
-      var new_mode = subMode(lexem, current_mode);
-      if (new_mode) {
-        result += processBuffer(current_mode.buffer + buffer, current_mode);
-        startNewMode(new_mode, lexem);
-        relevance += new_mode.relevance;
-        return new_mode.returnBegin;
-      }
-      
-      var end_level = endOfMode(modes.length - 1, lexem);
-      if (end_level) {
-        if (current_mode.returnEnd) {
-          result += processBuffer(current_mode.buffer + buffer, current_mode) + '</span>';
-        } else if (current_mode.excludeEnd) {
-          result += processBuffer(current_mode.buffer + buffer, current_mode) + '</span>' + escape(lexem);
-        } else {
-          result += processBuffer(current_mode.buffer + buffer + lexem, current_mode) + '</span>';
-        }
-        while (end_level > 1) {
-          result += '</span>';
-          end_level--;
-          modes.length--;
-        }
-        modes.length--;
-        modes[modes.length - 1].buffer = '';
-        if (current_mode.starts) {
-          for (var i = 0; i < language.modes.length; i++) {
-            if (language.modes[i].className == current_mode.starts) {
-              startNewMode(language.modes[i], '');
-              break;
-            }
-          }
-        }
-        return current_mode.returnEnd;
-      }
-      
-      if (isIllegal(lexem, current_mode))
-        throw 'Illegal';
-    }
-    
-    var language = LANGUAGES[language_name];
-    var modes = [language.defaultMode];
-    var relevance = 0;
-    var keyword_count = 0;
-    var result = '';
-    try {
-      var index = 0;
-      language.defaultMode.buffer = '';
-      do {
-        var mode_info = eatModeChunk(value, index);
-        var return_lexem = processModeInfo(mode_info[0], mode_info[1], mode_info[2]);
-        index += mode_info[0].length;
-        if (!return_lexem) {
-          index += mode_info[1].length;
-        }
-      } while (!mode_info[2]); 
-      if(modes.length > 1)
-        throw 'Illegal';
-      return {
-        relevance: relevance,
-        keyword_count: keyword_count,
-        value: result
-      }
-    } catch (e) {
-      if (e == 'Illegal') {
-        return {
-          relevance: 0,
-          keyword_count: 0,
-          value: escape(value)
-        }
-      } else {
-        throw e;
-      }
-    }
-  }
-  
-  function blockText(block) {
-    var result = '';
-    for (var i = 0; i < block.childNodes.length; i++)
-      if (block.childNodes[i].nodeType == 3)
-        result += block.childNodes[i].nodeValue;
-      else if (block.childNodes[i].nodeName == 'BR')
-        result += '\n';
-      else
-        throw 'No highlight';
-    return result;
-  }
-  
-  function blockLanguage(block) {
-    var classes = block.className.split(/\s+/);
-    for (var i = 0; i < classes.length; i++) {
-      if (classes[i] == 'no-highlight') {
-        throw 'No highlight'
-      }
-      if (LANGUAGES[classes[i]]) {
-        return classes[i];
-      }
-    }
-  }
-
-  function highlightBlock(block) {
-    try {
-      var text = blockText(block);
-      var language = blockLanguage(block);
-    } catch (e) {
-      if (e == 'No highlight')
-        return;
-    }
-    
-    if (language) {
-      var result = highlight(language, text).value;
-    } else {
-      var max_relevance = 2;
-      var relevance = 0;
-      for (var key in selected_languages) {
-        var r = highlight(key, text);
-        relevance = r.keyword_count + r.relevance;
-        if (relevance > max_relevance) {
-          max_relevance = relevance;
-          var result = r.value;
-          language = key;
-        }
-      }
-    }
-    
-    if (result) {
-      var className = block.className;
-      if (!className.match(language)) {
-        className += ' ' + language;
-      }
-      // See these 4 lines? This is IE's notion of "block.innerHTML = result". Love this browser :-/
-      var container = document.createElement('div');
-      container.innerHTML = '<pre><code class="' + className + '">' + result + '</code></pre>';
-      var environment = block.parentNode.parentNode;
-      environment.replaceChild(container.firstChild, block.parentNode);
-    }
-  }
-  
-  function langRe(language, value, global) {
-    var mode =  'm' + (language.case_insensitive ? 'i' : '') + (global ? 'g' : '');
-    return new RegExp(value, mode);
-  }
-
-  function compileModes() {
-    for (var i in LANGUAGES) {
-      var language = LANGUAGES[i];
-      for (var key in language.modes) {
-        if (language.modes[key].begin)
-          language.modes[key].beginRe = langRe(language, '^' + language.modes[key].begin);
-        if (language.modes[key].end)
-          language.modes[key].endRe = langRe(language, '^' + language.modes[key].end);
-        if (language.modes[key].illegal)
-          language.modes[key].illegalRe = langRe(language, '^(?:' + language.modes[key].illegal + ')');
-        language.defaultMode.illegalRe = langRe(language, '^(?:' + language.defaultMode.illegal + ')');
-        if (language.modes[key].relevance == undefined) {
-          language.modes[key].relevance = 1;
-        }
-      }
-    }
-  }
-
-  function compileKeywords() {
-
-    function compileModeKeywords(mode) {
-      if (!mode.keywordGroups) {
-        for (var key in mode.keywords) {
-          if (mode.keywords[key] instanceof Object)
-            mode.keywordGroups = mode.keywords;
-          else
-            mode.keywordGroups = {'keyword': mode.keywords};
-          break;
-        }
-      }
-    }
-    
-    for (var i in LANGUAGES) {
-      var language = LANGUAGES[i];
-      compileModeKeywords(language.defaultMode);
-      for (var key in language.modes) {
-        compileModeKeywords(language.modes[key]);
-      }
-    }
-  }
-
-  function initHighlighting() {
-    if (initHighlighting.called)
-      return;
-    initHighlighting.called = true;
-    compileModes();
-    compileKeywords();
-    if (arguments.length) {
-      for (var i = 0; i < arguments.length; i++) {
-        if (LANGUAGES[arguments[i]]) {
-          selected_languages[arguments[i]] = LANGUAGES[arguments[i]];
-        }
-      }
-    } else
-      selected_languages = LANGUAGES;
-    var pres = document.getElementsByTagName('pre');
-    for (var i = 0; i < pres.length; i++) {
-      if (pres[i].firstChild && pres[i].firstChild.nodeName == 'CODE')
-        highlightBlock(pres[i].firstChild);
-    }
-  }
-
-  function injectScripts(languages) {
-    var scripts = document.getElementsByTagName('SCRIPT');
-    for (var i=0; i < scripts.length; i++) {
-      if (scripts[i].src.match(/highlight\.js(\?.+)?$/)) {
-        var path = scripts[i].src.replace(/highlight\.js(\?.+)?$/, '');
-        break;
-      }
-    }
-    if (languages.length == 0) {
-      languages = DEFAULT_LANGUAGES;
-    }
-    var injected = {}
-    for (var i=0; i < languages.length; i++) {
-      var filename = LANGUAGE_GROUPS[languages[i]] ? LANGUAGE_GROUPS[languages[i]] : languages[i];
-      if (!injected[filename]) {
-        document.write('<script type="text/javascript" src="' + path + 'languages/' + filename + '.js"></script>');
-        injected[filename] = true;
-      }
-    }
-  }
-
-  function initHighlightingOnLoad() {
-    var original_arguments = arguments;
-    injectScripts(arguments);
-    var handler = function(){initHighlighting.apply(null, original_arguments)};
-    if (window.addEventListener) {
-      window.addEventListener('DOMContentLoaded', handler, false);
-      window.addEventListener('load', handler, false);
-    } else if (window.attachEvent)
-      window.attachEvent('onload', handler);
-    else
-      window.onload = handler;
-  }
-  
-  this.LANGUAGES = LANGUAGES;
-  this.ALL_LANGUAGES = ALL_LANGUAGES;
-  this.initHighlightingOnLoad = initHighlightingOnLoad;
-  this.highlightBlock = highlightBlock;
-  
-  // Common regexps
-  this.IDENT_RE = '[a-zA-Z][a-zA-Z0-9_]*';
-  this.UNDERSCORE_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_]*';
-  this.NUMBER_RE = '\\b\\d+(\\.\\d+)?';
-  this.C_NUMBER_RE = '\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)';
-
-  // Common modes
-  this.APOS_STRING_MODE = {
-    className: 'string',
-    begin: '\'', end: '\'',
-    illegal: '\\n',
-    contains: ['escape'],
-    relevance: 0
-  };
-  this.QUOTE_STRING_MODE = {
-    className: 'string',
-    begin: '"', end: '"',
-    illegal: '\\n',
-    contains: ['escape'],
-    relevance: 0
-  };
-  this.BACKSLASH_ESCAPE = {
-    className: 'escape',
-    begin: '\\\\.', end: '^',
-    relevance: 0
-  };
-  this.C_LINE_COMMENT_MODE = {
-    className: 'comment',
-    begin: '//', end: '$',
-    relevance: 0
-  };
-  this.C_BLOCK_COMMENT_MODE = {
-    className: 'comment',
-    begin: '/\\*', end: '\\*/'
-  };
-  this.HASH_COMMENT_MODE = {
-    className: 'comment',
-    begin: '#', end: '$'
-  };
-  this.C_NUMBER_MODE = {
-    className: 'number',
-    begin: this.C_NUMBER_RE, end: '^',
-    relevance: 0
-  };
-}();
-
-var initHighlightingOnLoad = hljs.initHighlightingOnLoad;

File static/js/highlight.pack.js

View file
+var hljs=new function(){var n={};var a={};function l(c){return c.replace(/&/gm,"&amp;").replace(/</gm,"&lt;").replace(/>/gm,"&gt;")}function j(q,p){if(!q){return false}for(var c=0;c<q.length;c++){if(q[c]==p){return true}}return false}function f(I,C){function J(N,M){N.sm=[];for(var L=0;L<N.c.length;L++){for(var r=0;r<M.m.length;r++){if(M.m[r].cN==N.c[L]){N.sm[N.sm.length]=M.m[r]}}}}function y(r,M){if(!M.c){return null}if(!M.sm){J(M,G)}for(var L=0;L<M.sm.length;L++){if(M.sm[L].bR.test(r)){return M.sm[L]}}return null}function v(L,r){if(B[L].e&&B[L].eR.test(r)){return 1}if(B[L].eW){var M=v(L-1,r);return M?M+1:0}return 0}function w(r,L){return L.iR&&L.iR.test(r)}function z(Q,O){var M=[];function P(R){if(!j(M,R)){M[M.length]=R}}if(Q.c){for(var L=0;L<O.m.length;L++){if(j(Q.c,O.m[L].cN)){P(O.m[L].b)}}}var r=B.length-1;do{if(B[r].e){P(B[r].e)}r--}while(B[r+1].eW);if(Q.i){P(Q.i)}var N="("+M[0];for(var L=0;L<M.length;L++){N+="|"+M[L]}N+=")";return d(O,N)}function q(M,L){var N=B[B.length-1];if(!N.t){N.t=z(N,G)}M=M.substr(L);var r=N.t.exec(M);if(!r){return[M,"",true]}if(r.index==0){return["",r[0],false]}else{return[M.substr(0,r.index),r[0],false]}}function p(O,r){var L=G.cI?r[0].toLowerCase():r[0];for(var N in O.keywordGroups){if(!O.keywordGroups.hasOwnProperty(N)){continue}var M=O.keywordGroups[N].hasOwnProperty(L);if(M){return[N,M]}}return false}function E(N,Q){if(!Q.k||!Q.l){return l(N)}if(!Q.lR){var P="("+Q.l[0];for(var M=1;M<Q.l.length;M++){P+="|"+Q.l[M]}P+=")";Q.lR=d(G,P,true)}var O="";var R=0;Q.lR.lastIndex=0;var L=Q.lR.exec(N);while(L){O+=l(N.substr(R,L.index-R));var r=p(Q,L);if(r){s+=r[1];O+='<span class="'+r[0]+'">'+l(L[0])+"</span>"}else{O+=l(L[0])}R=Q.lR.lastIndex;L=Q.lR.exec(N)}O+=l(N.substr(R,N.length-R));return O}function K(r,M){if(M.subLanguage&&a[M.subLanguage]){var L=f(M.subLanguage,r);s+=L.keyword_count;A+=L.r;return L.value}else{return E(r,M)}}function H(M,r){var L=M.nM?"":'<span class="'+M.cN+'">';if(M.rB){c+=L;M.buffer=""}else{if(M.eB){c+=l(r)+L;M.buffer=""}else{c+=L;M.buffer=r}}B[B.length]=M}function D(P,L,Q){var R=B[B.length-1];if(Q){c+=K(R.buffer+P,R);return false}var M=y(L,R);if(M){c+=K(R.buffer+P,R);H(M,L);A+=M.r;return M.rB}var r=v(B.length-1,L);if(r){var O=R.nM?"":"</span>";if(R.rE){c+=K(R.buffer+P,R)+O}else{if(R.eE){c+=K(R.buffer+P,R)+O+l(L)}else{c+=K(R.buffer+P+L,R)+O}}while(r>1){O=B[B.length-2].nM?"":"</span>";c+=O;r--;B.length--}B.length--;B[B.length-1].buffer="";if(R.starts){for(var N=0;N<G.m.length;N++){if(G.m[N].cN==R.starts){H(G.m[N],"");break}}}return R.rE}if(w(L,R)){throw"Illegal"}}var G=n[I];var B=[G.dM];var A=0;var s=0;var c="";try{var u=0;G.dM.buffer="";do{var x=q(C,u);var t=D(x[0],x[1],x[2]);u+=x[0].length;if(!t){u+=x[1].length}}while(!x[2]);if(B.length>1){throw"Illegal"}return{r:A,keyword_count:s,value:c}}catch(F){if(F=="Illegal"){return{r:0,keyword_count:0,value:l(C)}}else{throw F}}}function g(q){var p="";for(var c=0;c<q.childNodes.length;c++){if(q.childNodes[c].nodeType==3){p+=q.childNodes[c].nodeValue}else{if(q.childNodes[c].nodeName=="BR"){p+="\n"}else{throw"No highlight"}}}return p}function b(q){var p=q.className.split(/\s+/);for(var c=0;c<p.length;c++){if(p[c]=="no-highlight"){throw"No highlight"}if(n[p[c]]){return p[c]}}}function o(u){try{var A=g(u);var q=b(u)}catch(v){if(v=="No highlight"){return}}if(q){var x=f(q,A).value}else{var y=0;for(var z in a){if(!a.hasOwnProperty(z)){continue}var p=f(z,A);var c=p.keyword_count+p.r;if(c>y){y=c;var x=p.value;q=z}}}if(x){var t=u.className;if(!t.match(q)){t+=" "+q}var w=document.createElement("div");w.innerHTML='<pre><code class="'+t+'">'+x+"</code></pre>";var s=u.parentNode.parentNode;s.replaceChild(w.firstChild,u.parentNode)}}function d(q,p,c){var r="m"+(q.cI?"i":"")+(c?"g":"");return new RegExp(p,r)}function i(){for(var p in n){if(!n.hasOwnProperty(p)){continue}var q=n[p];for(var c=0;c<q.m.length;c++){if(q.m[c].b){q.m[c].bR=d(q,"^"+q.m[c].b)}if(q.m[c].e){q.m[c].eR=d(q,"^"+q.m[c].e)}if(q.m[c].i){q.m[c].iR=d(q,"^(?:"+q.m[c].i+")")}q.dM.iR=d(q,"^(?:"+q.dM.i+")");if(q.m[c].r==undefined){q.m[c].r=1}}}}function e(){function q(t){if(!t.keywordGroups){for(var s in t.k){if(!t.k.hasOwnProperty(s)){continue}if(t.k[s] instanceof Object){t.keywordGroups=t.k}else{t.keywordGroups={keyword:t.k}}break}}}for(var p in n){if(!n.hasOwnProperty(p)){continue}var r=n[p];q(r.dM);for(var c=0;c<r.m.length;c++){q(r.m[c])}}}function h(p){for(var c=0;c<p.childNodes.length;c++){node=p.childNodes[c];if(node.nodeName=="CODE"){return node}if(!(node.nodeType==3&&node.nodeValue.match(/\s+/))){return null}}}function k(){if(k.called){return}k.called=true;i();e();if(arguments.length){for(var c=0;c<arguments.length;c++){if(n[arguments[c]]){a[arguments[c]]=n[arguments[c]]}}}else{a=n}var q=document.getElementsByTagName("pre");for(var c=0;c<q.length;c++){var p=h(q[c]);if(p){o(p)}}}function m(){var c=arguments;var p=function(){k.apply(null,c)};if(window.addEventListener){window.addEventListener("DOMContentLoaded",p,false);window.addEventListener("load",p,false)}else{if(window.attachEvent){window.attachEvent("onload",p)}else{window.onload=p}}}this.LANGUAGES=n;this.initHighlightingOnLoad=m;this.highlightBlock=o;this.initHighlighting=k;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:["escape"],r:0};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:["escape"],r:0};this.BE={cN:"escape",b:"\\\\.",e:"^",nM:true,r:0};this.CLCM={cN:"comment",b:"//",e:"$",r:0};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={cN:"comment",b:"#",e:"$"};this.CNM={cN:"number",b:this.CNR,e:"^",r:0}}();var initHighlightingOnLoad=hljs.initHighlightingOnLoad;hljs.LANGUAGES.cs={dM:{l:[hljs.UIR],c:["comment","string","number"],k:{"abstract":1,as:1,base:1,bool:1,"break":1,"byte":1,"case":1,"catch":1,"char":1,checked:1,"class":1,"const":1,"continue":1,decimal:1,"default":1,delegate:1,"do":1,"do":1,"double":1,"else":1,"enum":1,event:1,explicit:1,extern:1,"false":1,"finally":1,fixed:1,"float":1,"for":1,foreach:1,"goto":1,"if":1,implicit:1,"in":1,"int":1,"interface":1,internal:1,is:1,lock:1,"long":1,namespace:1,"new":1,"null":1,object:1,operator:1,out:1,override:1,params:1,"private":1,"protected":1,"public":1,readonly:1,ref:1,"return":1,sbyte:1,sealed:1,"short":1,sizeof:1,stackalloc:1,"static":1,string:1,struct:1,"switch":1,"this":1,"throw":1,"true":1,"try":1,"typeof":1,uint:1,ulong:1,unchecked:1,unsafe:1,ushort:1,using:1,virtual:1,"volatile":1,"void":1,"while":1,ascending:1,descending:1,from:1,get:1,group:1,into:1,join:1,let:1,orderby:1,partial:1,select:1,set:1,value:1,"var":1,where:1,yield:1}},m:[{cN:"comment",b:"///",e:"$",rB:true,c:["xmlDocTag"]},{cN:"xmlDocTag",b:"///|<!--|-->",e:"^"},{cN:"xmlDocTag",b:"</?",e:">"},{cN:"string",b:'@"',e:'"',c:["quoteQuote"]},{cN:"quoteQuote",b:'""',e:"^"},hljs.CLCM,hljs.CBLCLM,hljs.ASM,hljs.QSM,hljs.BE,hljs.CNM]};hljs.LANGUAGES.cpp=function(){var a={keyword:{"false":1,"int":1,"float":1,"while":1,"private":1,"char":1,"catch":1,"export":1,virtual:1,operator:2,sizeof:2,dynamic_cast:2,typedef:2,const_cast:2,"const":1,struct:1,"for":1,static_cast:2,union:1,namespace:1,unsigned:1,"long":1,"throw":1,"volatile":2,"static":1,"protected":1,bool:1,template:1,mutable:1,"if":1,"public":1,friend:2,"do":1,"return":1,"goto":1,auto:1,"void":2,"enum":1,"else":1,"break":1,"new":1,extern:1,using:1,"true":1,"class":1,asm:1,"case":1,typeid:1,"short":1,reinterpret_cast:2,"default":1,"double":1,register:1,explicit:1,signed:1,typename:1,"try":1,"this":1,"switch":1,"continue":1,wchar_t:1,inline:1,"delete":1},built_in:{std:1,string:1,cin:1,cout:1,cerr:1,clog:1,stringstream:1,istringstream:1,ostringstream:1,auto_ptr:1,deque:1,list:1,queue:1,stack:1,vector:1,map:1,set:1,bitset:1,multiset:1,multimap:1}};return{dM:{l:[hljs.UIR],i:"</",c:["comment","string","number","preprocessor","stl_container"],k:a},m:[hljs.CLCM,hljs.CBLCLM,hljs.CNM,hljs.QSM,hljs.BE,{cN:"string",b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"},{cN:"preprocessor",b:"#",e:"$"},{cN:"stl_container",b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap)\\s*<",e:">",c:["stl_container"],l:[hljs.UIR],k:a,r:10}]}}();hljs.XML_COMMENT={cN:"comment",b:"<!--",e:"-->"};hljs.XML_ATTR={cN:"attribute",b:"\\s[a-zA-Z\\:-]+=",e:"^",c:["value"]};hljs.XML_VALUE_QUOT={cN:"value",b:'"',e:'"'};hljs.XML_VALUE_APOS={cN:"value",b:"'",e:"'"};hljs.LANGUAGES.xml={dM:{c:["pi","comment","cdata","tag"]},cI:true,m:[{cN:"pi",b:"<\\?",e:"\\?>",r:10},hljs.XML_COMMENT,{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>"},{cN:"tag",b:"</?",e:">",c:["title","tag_internal"],r:1.5},{cN:"title",b:"[A-Za-z:_][A-Za-z0-9\\._:-]+",e:"^",r:0},{cN:"tag_internal",b:"^",eW:true,nM:true,c:["attribute"],r:0,i:"[\\+\\.]"},hljs.XML_ATTR,hljs.XML_VALUE_QUOT,hljs.XML_VALUE_APOS]};hljs.HTML_TAGS={code:1,kbd:1,font:1,noscript:1,style:1,img:1,title:1,menu:1,tt:1,tr:1,param:1,li:1,tfoot:1,th:1,input:1,td:1,dl:1,blockquote:1,fieldset:1,big:1,dd:1,abbr:1,optgroup:1,dt:1,button:1,isindex:1,p:1,small:1,div:1,dir:1,em:1,frame:1,meta:1,sub:1,bdo:1,label:1,acronym:1,sup:1,body:1,xml:1,basefont:1,base:1,br:1,address:1,strong:1,legend:1,ol:1,script:1,caption:1,s:1,col:1,h2:1,h3:1,h1:1,h6:1,h4:1,h5:1,table:1,select:1,noframes:1,span:1,area:1,dfn:1,strike:1,cite:1,thead:1,head:1,option:1,form:1,hr:1,"var":1,link:1,b:1,colgroup:1,ul:1,applet:1,del:1,iframe:1,pre:1,frameset:1,ins:1,tbody:1,html:1,samp:1,map:1,object:1,a:1,xmlns:1,center:1,textarea:1,i:1,q:1,u:1};hljs.HTML_DOCTYPE={cN:"doctype",b:"<!DOCTYPE",e:">",r:10};hljs.HTML_ATTR={cN:"attribute",b:"\\s[a-zA-Z\\:-]+=",e:"^",c:["value"]};hljs.HTML_SHORT_ATTR={cN:"attribute",b:" [a-zA-Z]+",e:"^"};hljs.HTML_VALUE={cN:"value",b:"[a-zA-Z0-9]+",e:"^"};hljs.LANGUAGES.html={dM:{c:["tag","comment","doctype","vbscript"]},cI:true,m:[hljs.XML_COMMENT,hljs.HTML_DOCTYPE,{cN:"tag",l:[hljs.IR],k:hljs.HTML_TAGS,b:"<style",e:">",c:["attribute"],i:"[\\+\\.]",starts:"css"},{cN:"tag",l:[hljs.IR],k:hljs.HTML_TAGS,b:"<script",e:">",c:["attribute"],i:"[\\+\\.]",starts:"javascript"},{cN:"tag",l:[hljs.IR],k:hljs.HTML_TAGS,b:"<[A-Za-z/]",e:">",c:["attribute"],i:"[\\+\\.]"},{cN:"css",e:"</style>",rE:true,subLanguage:"css"},{cN:"javascript",e:"<\/script>",rE:true,subLanguage:"javascript"},hljs.HTML_ATTR,hljs.HTML_SHORT_ATTR,hljs.XML_VALUE_QUOT,hljs.XML_VALUE_APOS,hljs.HTML_VALUE,{cN:"vbscript",b:"<%",e:"%>",subLanguage:"vbscript"}]};hljs.LANGUAGES.django={dM:{c:["tag","comment","doctype","template_comment","template_tag","variable"]},cI:true,m:[hljs.XML_COMMENT,hljs.HTML_DOCTYPE,{cN:"tag",l:[hljs.IR],k:hljs.HTML_TAGS,b:"<[A-Za-z/]",e:">",c:["attribute","template_comment","template_tag","variable"]},hljs.HTML_ATTR,hljs.HTML_SHORT_ATTR,{cN:"value",b:'"',e:'"',c:["template_comment","template_tag","variable"]},hljs.HTML_VALUE,{cN:"template_comment",b:"\\{\\%\\s*comment\\s*\\%\\}",e:"\\{\\%\\s*endcomment\\s*\\%\\}"},{cN:"template_comment",b:"\\{#",e:"#\\}"},{cN:"template_tag",b:"\\{\\%",e:"\\%\\}",l:[hljs.IR],k:{comment:1,endcomment:1,load:1,templatetag:1,ifchanged:1,endifchanged:1,"if":1,endif:1,firstof:1,"for":1,endfor:1,"in":1,ifnotequal:1,endifnotequal:1,widthratio:1,"extends":1,include:1,spaceless:1,endspaceless:1,regroup:1,by:1,as:1,ifequal:1,endifequal:1,ssi:1,now:1,"with":1,cycle:1,url:1,filter:1,endfilter:1,debug:1,block:1,endblock:1,"else":1},c:["filter"]},{cN:"variable",b:"\\{\\{",e:"\\}\\}",c:["filter"]},{cN:"filter",b:"\\|[A-Za-z]+\\:?",e:"^",eE:true,l:[hljs.IR],k:{truncatewords:1,removetags:1,linebreaksbr:1,yesno:1,get_digit:1,timesince:1,random:1,striptags:1,filesizeformat:1,escape:1,linebreaks:1,length_is:1,ljust:1,rjust:1,cut:1,urlize:1,fix_ampersands:1,title:1,floatformat:1,capfirst:1,pprint:1,divisibleby:1,add:1,make_list:1,unordered_list:1,urlencode:1,timeuntil:1,urlizetrunc:1,wordcount:1,stringformat:1,linenumbers:1,slice:1,date:1,dictsort:1,dictsortreversed:1,default_if_none:1,pluralize:1,lower:1,join:1,center:1,"default":1,truncatewords_html:1,upper:1,length:1,phone2numeric:1,wordwrap:1,time:1,addslashes:1,slugify:1,first:1},c:["argument"]},{cN:"argument",b:'"',e:'"'}]};hljs.LANGUAGES.diff={cI:true,dM:{c:["chunk","header","addition","deletion","change"]},m:[{cN:"chunk",b:"^\\@\\@ +\\-\\d+,\\d+ +\\+\\d+,\\d+ +\\@\\@$",e:"^",r:10},{cN:"chunk",b:"^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$",e:"^",r:10},{cN:"chunk",b:"^\\-\\-\\- +\\d+,\\d+ +\\-\\-\\-\\-$",e:"^",r:10},{cN:"header",b:"Index: ",e:"$"},{cN:"header",b:"=====",e:"=====$"},{cN:"header",b:"^\\-\\-\\-",e:"$"},{cN:"header",b:"^\\*{3} ",e:"$"},{cN:"header",b:"^\\+\\+\\+",e:"$"},{cN:"header",b:"\\*{5}",e:"\\*{5}$"},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"change",b:"^\\!",e:"$"}]};hljs.LANGUAGES.css={dM:{c:["id","class","attr_selector","rules","comment"],k:hljs.HTML_TAGS,l:[hljs.IR],i:"="},cI:true,m:[{cN:"id",b:"\\#[A-Za-z0-9_-]+",e:"^"},{cN:"class",b:"\\.[A-Za-z0-9_-]+",e:"^",r:0},{cN:"attr_selector",b:"\\[",e:"\\]",i:"$"},{cN:"rules",b:"{",e:"}",c:["rule","comment"],i:"[^\\s]"},{cN:"rule",b:"[A-Z\\_\\.\\-]+\\s*:",e:";",eW:true,l:["[A-Za-z-]+"],k:{"play-during":1,"counter-reset":1,"counter-increment":1,"min-height":1,quotes:1,"border-top":1,pitch:1,font:1,pause:1,"list-style-image":1,"border-width":1,cue:1,"outline-width":1,"border-left":1,elevation:1,richness:1,"speech-rate":1,"border-bottom":1,"border-spacing":1,background:1,"list-style-type":1,"text-align":1,"page-break-inside":1,orphans:1,"page-break-before":1,"text-transform":1,"line-height":1,"padding-left":1,"font-size":1,right:1,"word-spacing":1,"padding-top":1,"outline-style":1,bottom:1,content:1,"border-right-style":1,"padding-right":1,"border-left-style":1,"voice-family":1,"background-color":1,"border-bottom-color":1,"outline-color":1,"unicode-bidi":1,"max-width":1,"font-family":1,"caption-side":1,"border-right-width":1,"pause-before":1,"border-top-style":1,color:1,"border-collapse":1,"border-bottom-width":1,"float":1,height:1,"max-height":1,"margin-right":1,"border-top-width":1,speak:1,"speak-header":1,top:1,"cue-before":1,"min-width":1,width:1,"font-variant":1,"border-top-color":1,"background-position":1,"empty-cells":1,direction:1,"border-right":1,visibility:1,padding:1,"border-style":1,"background-attachment":1,overflow:1,"border-bottom-style":1,cursor:1,margin:1,display:1,"border-left-width":1,"letter-spacing":1,"vertical-align":1,clip:1,"border-color":1,"list-style":1,"padding-bottom":1,"pause-after":1,"speak-numeral":1,"margin-left":1,widows:1,border:1,"font-style":1,"border-left-color":1,"pitch-range":1,"background-repeat":1,"table-layout":1,"margin-bottom":1,"speak-punctuation":1,"font-weight":1,"border-right-color":1,"page-break-after":1,position:1,"white-space":1,"text-indent":1,"background-image":1,volume:1,stress:1,outline:1,clear:1,"z-index":1,"text-decoration":1,"margin-top":1,azimuth:1,"cue-after":1,left:1,"list-style-position":1},c:["value"]},hljs.CBLCLM,{cN:"value",b:"^",eW:true,eE:true,c:["function","number","hexcolor","string"]},{cN:"number",b:hljs.NR,e:"^"},{cN:"hexcolor",b:"\\#[0-9A-F]+",e:"^"},{cN:"function",b:hljs.IR+"\\(",e:"\\)",c:["params"]},{cN:"params",b:"^",eW:true,eE:true,c:["number","string"]},hljs.ASM,hljs.QSM]};hljs.LANGUAGES.lisp=function(){var a="[a-zA-Z_\\-\\+\\*\\/\\<\\=\\>\\&\\#][a-zA-Z0-9_\\-\\+\\*\\/\\<\\=\\>\\&\\#]*";var b="(\\-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s)(\\+|\\-)?\\d+)?";return{cI:true,dM:{l:[a],c:["literal","number","string","comment","quoted","list"],i:"[^\\s]"},m:[hljs.QSM,{cN:"number",b:b,e:"^"},{cN:"number",b:"#b[0-1]+(/[0-1]+)?",e:"^"},{cN:"number",b:"#o[0-7]+(/[0-7]+)?",e:"^"},{cN:"number",b:"#x[0-9a-f]+(/[0-9a-f]+)?",e:"^"},{cN:"number",b:"#c\\("+b+" +"+b,e:"\\)"},{cN:"comment",b:";",e:"$"},{cN:"quoted",b:"['`]\\(",e:"\\)",c:["number","string","variable","keyword","quoted_list"]},{cN:"quoted",b:"\\(quote ",e:"\\)",c:["number","string","variable","keyword","quoted_list"],l:[a],k:{title:{quote:1}}},{cN:"quoted_list",b:"\\(",e:"\\)",c:["quoted_list","literal","number","string"]},{cN:"list",b:"\\(",e:"\\)",c:["title","body"]},{cN:"title",b:a,e:"^",eW:true},{cN:"body",b:"^",eW:true,eE:true,c:["quoted","list","literal","number","string","comment","variable","keyword"]},{cN:"keyword",b:"[:&]"+a,e:"^"},{cN:"variable",b:"\\*",e:"\\*"},{cN:"literal",b:"\\b(t{1}|nil)\\b",e:"^"}]}}();hljs.LANGUAGES.python={dM:{l:[hljs.UIR],i:"(</|->)",c:["comment","string","function","class","number","decorator"],k:{keyword:{and:1,elif:1,is:1,global:1,as:1,"in":1,"if":1,from:1,raise:1,"for":1,except:1,"finally":1,print:1,"import":1,pass:1,"return":1,exec:1,"else":1,"break":1,not:1,"with":1,"class":1,assert:1,yield:1,"try":1,"while":1,"continue":1,del:1,or:1,def:1,lambda:1},built_in:{None:1,True:1,False:1,Ellipsis:1,NotImplemented:1}}},m:[{cN:"function",l:[hljs.UIR],b:"\\bdef ",e:":",i:"$",k:{def:1},c:["title","params"],r:10},{cN:"class",l:[hljs.UIR],b:"\\bclass ",e:":",i:"[${]",k:{"class":1},c:["title","params",],r:10},{cN:"title",b:hljs.UIR,e:"^"},{cN:"params",b:"\\(",e:"\\)",c:["string"]},hljs.HCM,hljs.CNM,{cN:"string",b:"u?r?'''",e:"'''",r:10},{cN:"string",b:'u?r?"""',e:'"""',r:10},hljs.ASM,hljs.QSM,hljs.BE,{cN:"string",b:"(u|r|ur)'",e:"'",c:["escape"],r:10},{cN:"string",b:'(u|r|ur)"',e:'"',c:["escape"],r:10},{cN:"decorator",b:"@",e:"$"}]};hljs.LANGUAGES.php={dM:{l:[hljs.IR],c:["comment","number","string","variable","preprocessor"],k:{and:1,include_once:1,list:1,"abstract":1,global:1,"private":1,echo:1,"interface":1,as:1,"static":1,endswitch:1,array:1,"null":1,"if":1,endwhile:1,or:1,"const":1,"for":1,endforeach:1,self:1,"var":1,"while":1,isset:1,"public":1,"protected":1,exit:1,foreach:1,"throw":1,elseif:1,"extends":1,include:1,__FILE__:1,empty:1,require_once:1,"function":1,"do":1,xor:1,"return":1,"implements":1,parent:1,clone:1,use:1,__CLASS__:1,__LINE__:1,"else":1,"break":1,print:1,"eval":1,"new":1,"catch":1,__METHOD__:1,"class":1,"case":1,exception:1,php_user_filter:1,"default":1,die:1,require:1,__FUNCTION__:1,enddeclare:1,"final":1,"try":1,"this":1,"switch":1,"continue":1,endfor:1,endif:1,declare:1,unset:1}},cI:true,m:[hljs.CLCM,hljs.HCM,{cN:"comment",b:"/\\*",e:"\\*/",c:["phpdoc"]},{cN:"phpdoc",b:"\\s@[A-Za-z]+",e:"^",r:10},hljs.CNM,{cN:"string",b:"'",e:"'",c:["escape"],r:0},{cN:"string",b:'"',e:'"',c:["escape"],r:0},hljs.BE,{cN:"variable",b:"\\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*",e:"^"},{cN:"preprocessor",b:"<\\?php",e:"^",r:10},{cN:"preprocessor",b:"\\?>",e:"^"}]};hljs.LANGUAGES.javascript={dM:{l:[hljs.UIR],c:["string","comment","number","regexp_container","function"],k:{keyword:{"in":1,"if":1,"for":1,"while":1,"finally":1,"var":1,"new":1,"function":1,"do":1,"return":1,"void":1,"else":1,"break":1,"catch":1,"instanceof":1,"with":1,"throw":1,"case":1,"default":1,"try":1,"this":1,"switch":1,"continue":1,"typeof":1,"delete":1},literal:{"true":1,"false":1,"null":1}}},m:[hljs.CLCM,hljs.CBLCLM,hljs.CNM,hljs.ASM,hljs.QSM,hljs.BE,{cN:"regexp_container",b:"("+hljs.RSR+"|case|return|throw)\\s*",e:"^",nM:true,l:[hljs.IR],k:{"return":1,"throw":1,"case":1},c:["comment","regexp"],r:0},{cN:"regexp",b:"/.*?[^\\\\/]/[gim]*",e:"^"},{cN:"function",b:"\\bfunction\\b",e:"{",l:[hljs.UIR],k:{"function":1},c:["title","params"]},{cN:"title",b:"[A-Za-z$_][0-9A-Za-z$_]*",e:"^"},{cN:"params",b:"\\(",e:"\\)",c:["string","comment"]}]};hljs.LANGUAGES.ruby=function(){var a="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?";var b=["comment","string","char","class","function","symbol","number","variable","regexp_container"];var c={keyword:{and:1,"false":1,then:1,defined:1,module:1,"in":1,"return":1,redo:1,"if":1,BEGIN:1,retry:1,end:1,"for":1,"true":1,self:1,when:1,next:1,until:1,"do":1,begin:1,unless:1,END:1,rescue:1,nil:1,"else":1,"break":1,undef:1,not:1,"super":1,"class":1,"case":1,require:1,yield:1,alias:1,"while":1,ensure:1,elsif:1,or:1,def:1},keymethods:{__id__:1,__send__:1,abort:1,abs:1,"all?":1,allocate:1,ancestors:1,"any?":1,arity:1,assoc:1,at:1,at_exit:1,autoload:1,"autoload?":1,"between?":1,binding:1,binmode:1,"block_given?":1,call:1,callcc:1,caller:1,capitalize:1,"capitalize!":1,casecmp:1,"catch":1,ceil:1,center:1,chomp:1,"chomp!":1,chop:1,"chop!":1,chr:1,"class":1,class_eval:1,"class_variable_defined?":1,class_variables:1,clear:1,clone:1,close:1,close_read:1,close_write:1,"closed?":1,coerce:1,collect:1,"collect!":1,compact:1,"compact!":1,concat:1,"const_defined?":1,const_get:1,const_missing:1,const_set:1,constants:1,count:1,crypt:1,"default":1,default_proc:1,"delete":1,"delete!":1,delete_at:1,delete_if:1,detect:1,display:1,div:1,divmod:1,downcase:1,"downcase!":1,downto:1,dump:1,dup:1,each:1,each_byte:1,each_index:1,each_key:1,each_line:1,each_pair:1,each_value:1,each_with_index:1,"empty?":1,entries:1,eof:1,"eof?":1,"eql?":1,"equal?":1,"eval":1,exec:1,exit:1,"exit!":1,extend:1,fail:1,fcntl:1,fetch:1,fileno:1,fill:1,find:1,find_all:1,first:1,flatten:1,"flatten!":1,floor:1,flush:1,for_fd:1,foreach:1,fork:1,format:1,freeze:1,"frozen?":1,fsync:1,getc:1,gets:1,global_variables:1,grep:1,gsub:1,"gsub!":1,"has_key?":1,"has_value?":1,hash:1,hex:1,id:1,"include?":1,included_modules:1,index:1,indexes:1,indices:1,induced_from:1,inject:1,insert:1,inspect:1,instance_eval:1,instance_method:1,instance_methods:1,"instance_of?":1,"instance_variable_defined?":1,instance_variable_get:1,instance_variable_set:1,instance_variables:1,"integer?":1,intern:1,invert:1,ioctl:1,"is_a?":1,isatty:1,"iterator?":1,join:1,"key?":1,keys:1,"kind_of?":1,lambda:1,last:1,length:1,lineno:1,ljust:1,load:1,local_variables:1,loop:1,lstrip:1,"lstrip!":1,map:1,"map!":1,match:1,max:1,"member?":1,merge:1,"merge!":1,method:1,"method_defined?":1,method_missing:1,methods:1,min:1,module_eval:1,modulo:1,name:1,nesting:1,"new":1,next:1,"next!":1,"nil?":1,nitems:1,"nonzero?":1,object_id:1,oct:1,open:1,pack:1,partition:1,pid:1,pipe:1,pop:1,popen:1,pos:1,prec:1,prec_f:1,prec_i:1,print:1,printf:1,private_class_method:1,private_instance_methods:1,"private_method_defined?":1,private_methods:1,proc:1,protected_instance_methods:1,"protected_method_defined?":1,protected_methods:1,public_class_method:1,public_instance_methods:1,"public_method_defined?":1,public_methods:1,push:1,putc:1,puts:1,quo:1,raise:1,rand:1,rassoc:1,read:1,read_nonblock:1,readchar:1,readline:1,readlines:1,readpartial:1,rehash:1,reject:1,"reject!":1,remainder:1,reopen:1,replace:1,require:1,"respond_to?":1,reverse:1,"reverse!":1,reverse_each:1,rewind:1,rindex:1,rjust:1,round:1,rstrip:1,"rstrip!":1,scan:1,seek:1,select:1,send:1,set_trace_func:1,shift:1,singleton_method_added:1,singleton_methods:1,size:1,sleep:1,slice:1,"slice!":1,sort:1,"sort!":1,sort_by:1,split:1,sprintf:1,squeeze:1,"squeeze!":1,srand:1,stat:1,step:1,store:1,strip:1,"strip!":1,sub:1,"sub!":1,succ:1,"succ!":1,sum:1,superclass:1,swapcase:1,"swapcase!":1,sync:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,taint:1,"tainted?":1,tell:1,test:1,"throw":1,times:1,to_a:1,to_ary:1,to_f:1,to_hash:1,to_i:1,to_int:1,to_io:1,to_proc:1,to_s:1,to_str:1,to_sym:1,tr:1,"tr!":1,tr_s:1,"tr_s!":1,trace_var:1,transpose:1,trap:1,truncate:1,"tty?":1,type:1,ungetc:1,uniq:1,"uniq!":1,unpack:1,unshift:1,untaint:1,untrace_var:1,upcase:1,"upcase!":1,update:1,upto:1,"value?":1,values:1,values_at:1,warn:1,write:1,write_nonblock:1,"zero?":1,zip:1}};return{dM:{l:[a],c:b,k:c},m:[hljs.HCM,{cN:"comment",b:"^\\=begin",e:"^\\=end",r:10},{cN:"comment",b:"^__END__",e:"\\n$"},{cN:"params",b:"\\(",e:"\\)",l:[a],k:c,c:b},{cN:"function",b:"\\bdef\\b",e:"$|;",l:[a],k:c,c:["title","params","comment"]},{cN:"class",b:"\\b(class|module)\\b",e:"$",l:[hljs.UIR],k:c,c:["title","inheritance","comment"],k:{"class":1,module:1}},{cN:"title",b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?",e:"^",r:0},{cN:"inheritance",b:"<\\s*",e:"^",c:["parent"]},{cN:"parent",b:"("+hljs.IR+"::)?"+hljs.IR,e:"^"},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",e:"^",r:0},{cN:"number",b:"\\?\\w",e:"^"},{cN:"string",b:"'",e:"'",c:["escape","subst"],r:0},{cN:"string",b:'"',e:'"',c:["escape","subst"],r:0},{cN:"string",b:"%[qw]?\\(",e:"\\)",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?\\[",e:"\\]",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?{",e:"}",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?<",e:">",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?/",e:"/",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?%",e:"%",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?-",e:"-",c:["escape","subst"],r:10},{cN:"string",b:"%[qw]?\\|",e:"\\|",c:["escape","subst"],r:10},{cN:"symbol",b:":"+a,e:"^"},hljs.BE,{cN:"subst",b:"#\\{",e:"}",l:[a],k:c,c:b},{cN:"regexp_container",b:"("+hljs.RSR+")\\s*",e:"^",nM:true,c:["comment","regexp"],r:0},{cN:"regexp",b:"/",e:"/[a-z]*",c:["escape"]},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))",e:"^"}]}}();hljs.LANGUAGES.sql={cI:true,dM:{l:[hljs.IR],c:["string","number","comment"],k:{keyword:{all:1,partial:1,global:1,month:1,current_timestamp:1,using:1,go:1,revoke:1,smallint:1,indicator:1,"end-exec":1,disconnect:1,zone:1,"with":1,character:1,assertion:1,to:1,add:1,current_user:1,usage:1,input:1,local:1,alter:1,match:1,collate:1,real:1,then:1,rollback:1,get:1,read:1,timestamp:1,session_user:1,not:1,integer:1,bit:1,unique:1,day:1,minute:1,desc:1,insert:1,execute:1,like:1,ilike:2,level:1,decimal:1,drop:1,"continue":1,isolation:1,found:1,where:1,constraints:1,domain:1,right:1,national:1,some:1,module:1,transaction:1,relative:1,second:1,connect:1,escape:1,close:1,system_user:1,"for":1,deferred:1,section:1,cast:1,current:1,sqlstate:1,allocate:1,intersect:1,deallocate:1,numeric:1,"public":1,preserve:1,full:1,"goto":1,initially:1,asc:1,no:1,key:1,output:1,collation:1,group:1,by:1,union:1,session:1,both:1,last:1,language:1,constraint:1,column:1,of:1,space:1,foreign:1,deferrable:1,prior:1,connection:1,unknown:1,action:1,commit:1,view:1,or:1,first:1,into:1,"float":1,year:1,primary:1,cascaded:1,except:1,restrict:1,set:1,references:1,names:1,table:1,outer:1,open:1,select:1,size:1,are:1,rows:1,from:1,prepare:1,distinct:1,leading:1,create:1,only:1,next:1,inner:1,authorization:1,schema:1,corresponding:1,option:1,declare:1,precision:1,immediate:1,"else":1,timezone_minute:1,external:1,varying:1,translation:1,"true":1,"case":1,exception:1,join:1,hour:1,"default":1,"double":1,scroll:1,value:1,cursor:1,descriptor:1,values:1,dec:1,fetch:1,procedure:1,"delete":1,and:1,"false":1,"int":1,is:1,describe:1,"char":1,as:1,at:1,"in":1,varchar:1,"null":1,trailing:1,any:1,absolute:1,current_time:1,end:1,grant:1,privileges:1,when:1,cross:1,check:1,write:1,current_date:1,pad:1,begin:1,temporary:1,exec:1,time:1,update:1,catalog:1,user:1,sql:1,date:1,on:1,identity:1,timezone_hour:1,natural:1,whenever:1,interval:1,work:1,order:1,cascade:1,diagnostics:1,nchar:1,having:1,left:1},aggregate:{count:1,sum:1,min:1,max:1,avg:1}}},m:[hljs.CNM,hljs.CBLCLM,{cN:"comment",b:"--",e:"$"},{cN:"string",b:"'",e:"'",c:["escape","squote"],r:0},{cN:"squote",b:"''",e:"^",nM:true},{cN:"string",b:'"',e:'"',c:["escape","dquote"],r:0},{cN:"dquote",b:'""',e:"^",nM:true},{cN:"string",b:"`",e:"`",c:["escape"]},hljs.BE]};hljs.LANGUAGES.perl=function(){var b=["comment","string","number","regexp","sub","variable","operator","pod"];var a={getpwent:1,getservent:1,quotemeta:1,msgrcv:1,scalar:1,kill:1,dbmclose:1,undef:1,lc:1,ma:1,syswrite:1,tr:1,send:1,umask:1,sysopen:1,shmwrite:1,vec:1,qx:1,utime:1,local:1,oct:1,semctl:1,localtime:1,readpipe:1,"do":1,"return":1,format:1,read:1,sprintf:1,dbmopen:1,pop:1,getpgrp:1,not:1,getpwnam:1,rewinddir:1,qq:1,fileno:1,qw:1,endprotoent:1,wait:1,sethostent:1,bless:1,s:1,opendir:1,"continue":1,each:1,sleep:1,endgrent:1,shutdown:1,dump:1,chomp:1,connect:1,getsockname:1,die:1,socketpair:1,close:1,flock:1,exists:1,index:1,shmget:1,sub:1,"for":1,endpwent:1,redo:1,lstat:1,msgctl:1,setpgrp:1,abs:1,exit:1,select:1,print:1,ref:1,gethostbyaddr:1,unshift:1,fcntl:1,syscall:1,"goto":1,getnetbyaddr:1,join:1,gmtime:1,symlink:1,semget:1,splice:1,x:1,getpeername:1,recv:1,log:1,setsockopt:1,cos:1,last:1,reverse:1,gethostbyname:1,getgrnam:1,study:1,formline:1,endhostent:1,times:1,chop:1,length:1,gethostent:1,getnetent:1,pack:1,getprotoent:1,getservbyname:1,rand:1,mkdir:1,pos:1,chmod:1,y:1,substr:1,endnetent:1,printf:1,next:1,open:1,msgsnd:1,readdir:1,use:1,unlink:1,getsockopt:1,getpriority:1,rindex:1,wantarray:1,hex:1,system:1,getservbyport:1,endservent:1,"int":1,chr:1,untie:1,rmdir:1,prototype:1,tell:1,listen:1,fork:1,shmread:1,ucfirst:1,setprotoent:1,"else":1,sysseek:1,link:1,getgrgid:1,shmctl:1,waitpid:1,unpack:1,getnetbyname:1,reset:1,chdir:1,grep:1,split:1,require:1,caller:1,lcfirst:1,until:1,warn:1,"while":1,values:1,shift:1,telldir:1,getpwuid:1,my:1,getprotobynumber:1,"delete":1,and:1,sort:1,uc:1,defined:1,srand:1,accept:1,"package":1,seekdir:1,getprotobyname:1,semop:1,our:1,rename:1,seek:1,"if":1,q:1,chroot:1,sysread:1,setpwent:1,no:1,crypt:1,getc:1,chown:1,sqrt:1,write:1,setnetent:1,setpriority:1,foreach:1,tie:1,sin:1,msgget:1,map:1,stat:1,getlogin:1,unless:1,elsif:1,truncate:1,exec:1,keys:1,glob:1,tied:1,closedir:1,ioctl:1,socket:1,readlink:1,"eval":1,xor:1,readline:1,binmode:1,setservent:1,eof:1,ord:1,bind:1,alarm:1,pipe:1,atan2:1,getgrent:1,exp:1,time:1,push:1,setgrent:1,gt:1,lt:1,or:1,ne:1,m:1};return{dM:{l:[hljs.IR],c:b,k:a},m:[{cN:"variable",b:"\\$\\d",e:"^"},{cN:"variable",b:"[\\$\\%\\@\\*](\\^\\w\\b|#\\w+(\\:\\:\\w+)*|[^\\s\\w{]|{\\w+}|\\w+(\\:\\:\\w*)*)",e:"^"},{cN:"subst",b:"[$@]\\{",e:"}",l:[hljs.IR],k:a,c:b,r:10},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",e:"^",r:0},{cN:"string",b:"q[qwxr]?\\s*\\(",e:"\\)",c:["escape","subst","variable"],r:5},{cN:"string",b:"q[qwxr]?\\s*\\[",e:"\\]",c:["escape","subst","variable"],r:5},{cN:"string",b:"q[qwxr]?\\s*\\{",e:"\\}",c:["escape","subst","variable"],r:5},{cN:"string",b:"q[qwxr]?\\s*\\|",e:"\\|",c:["escape","subst","variable"],r:5},{cN:"string",b:"q[qwxr]?\\s*\\<",e:"\\>",c:["escape","subst","variable"],r:5},{cN:"string",b:"qw\\s+q",e:"q",c:["escape","subst","variable"],r:5},{cN:"string",b:"'",e:"'",c:["escape"],r:0},{cN:"string",b:'"',e:'"',c:["escape","subst","variable"],r:0},hljs.BE,{cN:"string",b:"`",e:"`",c:["escape"]},{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",e:"^",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:["escape"],r:0},{cN:"string",b:"{\\w+}",e:"^",r:0},{cN:"string",b:"-?\\w+\\s*\\=\\>",e:"^",r:0},{cN:"sub",b:"\\bsub\\b",e:"(\\s*\\(.*?\\))?[;{]",l:[hljs.IR],k:{sub:1},r:5},{cN:"operator",b:"-\\w\\b",e:"^",r:0},hljs.HCM,{cN:"comment",b:"^(__END__|__DATA__)",e:"\\n$",r:5},{cN:"pod",b:"\\=\\w",e:"\\=cut"}]}}();hljs.LANGUAGES.java={dM:{l:[hljs.UIR],c:["javadoc","comment","string","class","number","annotation"],k:{"false":1,"synchronized":1,"int":1,"abstract":1,"float":1,"private":1,"char":1,"interface":1,"boolean":1,"static":1,"null":1,"if":1,"const":1,"for":1,"true":1,"while":1,"long":1,"throw":1,strictfp:1,"finally":1,"protected":1,"extends":1,"import":1,"native":1,"final":1,"implements":1,"return":1,"void":1,"enum":1,"else":1,"break":1,"transient":1,"new":1,"catch":1,"instanceof":1,"byte":1,"super":1,"class":1,"volatile":1,"case":1,assert:1,"short":1,"package":1,"default":1,"double":1,"public":1,"try":1,"this":1,"switch":1,"continue":1,"throws":1}},m:[{cN:"class",l:[hljs.UIR],b:"(class |interface )",e:"{",i:":",k:{"class":1,"interface":1},c:["inheritance","title"]},{cN:"inheritance",b:"(implements|extends)",e:"^",nM:true,l:[hljs.IR],k:{"extends":1,"implements":1},r:10},{cN:"title",b:hljs.UIR,e:"^"},{cN:"params",b:"\\(",e:"\\)",c:["string","annotation"]},hljs.CNM,hljs.ASM,hljs.QSM,hljs.BE,hljs.CLCM,{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:["javadoctag"],r:10},{cN:"javadoctag",b:"@[A-Za-z]+",e:"^"},hljs.CBLCLM,{cN:"annotation",b:"@[A-Za-z]+",e:"^"}]};hljs.LANGUAGES.bash=function(){var a={"true":1,"false":1};return{dM:{l:[hljs.IR],c:["string","shebang","comment","number","test_condition","string","variable"],k:{keyword:{"if":1,then:1,"else":1,fi:1,"for":1,"break":1,"continue":1,"while":1,"in":1,"do":1,done:1,echo:1,exit:1,"return":1,set:1,declare:1},literal:a}},cI:false,m:[{cN:"shebang",b:"(#!\\/bin\\/bash)|(#!\\/bin\\/sh)",e:"^",r:10},hljs.HCM,{cN:"test_condition",b:"\\[ ",e:" \\]",c:["string","variable","number"],l:[hljs.IR],k:{literal:a},r:0},{cN:"test_condition",b:"\\[\\[ ",e:" \\]\\]",c:["string","variable","number"],l:[hljs.IR],k:{literal:a}},{cN:"variable",b:"\\$([a-zA-Z0-9_]+)\\b",e:"^"},{cN:"variable",b:"\\$\\{(([^}])|(\\\\}))+\\}",e:"^",c:["number"]},{cN:"string",b:'"',e:'"',i:"\\n",c:["escape","variable"],r:0},{cN:"string",b:'"',e:'"',i:"\\n",c:["escape","variable"],r:0},hljs.BE,hljs.CNM,{cN:"comment",b:"\\/\\/",e:"$",i:"."}]}}();

File static/js/languages/1c.js

-hljs.IDENT_RE_RU = '[a-zA-Zа-яА-Я][a-zA-Z0-9_а-яА-Я]*';
-hljs.OneS_KEYWORDS = {'процедура':1,'функция':1,'экспорт':1,'перем':1,'конецфункции':1,'конецпроцедуры':1,'если':1,'тогда':1,'иначе':1,'иначеесли':1,'конецесли':1,'попытка':1,'исключение':1,'конецпопытки':1,'ложь':1,'истина':1,'неопределено':1,'и':1,'или':1,'не':1,'null':1,'для':1,'каждого':1,'из':1,'по':1,'цикл':1,'конеццикла':1};
-
-hljs.LANGUAGES['1c'] = {
-  defaultMode: {
-    lexems: [hljs.IDENT_RE_RU],
-    contains: ['comment', 'string', 'function', 'preprocessor', 'number'],
-    keywords: hljs.OneS_KEYWORDS
-  },
-  case_insensitive: true,
-  modes: [
-    hljs.C_LINE_COMMENT_MODE,
-    {
-      className: 'string',
-      begin: '"', end: '"',
-      contains: ['dquote'],
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '"', end: '$',
-      contains: ['dquote']
-    },
-    {
-      className: 'string',
-      begin: '\\|', end: '$',
-      contains: ['dquote']
-    },
-    {
-      className: 'string',
-      begin: '\\|', end: '"',
-      contains: ['dquote']
-    },
-    {
-      className: 'dquote',
-      begin: '""', end: '^'
-    },
-    {
-      className: 'number',
-      begin: hljs.NUMBER_RE, end: '^',
-      relevance: 0
-    },
-    {
-      className: 'title',
-      lexems: [hljs.IDENT_RE_RU],
-      begin: hljs.IDENT_RE_RU, end: '^'
-    },
-    {
-      className: 'params',
-      begin: '\\(', end: '\\)',
-      lexems: [hljs.IDENT_RE_RU],
-      keywords: {'знач':1},
-      contains: ['string']
-    },
-    {
-      className: 'function',
-      begin: '(процедура|функция)', end: '$',
-      lexems: [hljs.IDENT_RE_RU],
-      keywords: {'процедура': 1, 'экспорт':1, 'функция': 1},
-      contains: ['title','tail','comment'],      
-      relevance: 0
-    },
-    {
-      className: 'tail',
-      begin: '^',  endsWithParent: true,
-      lexems: [hljs.IDENT_RE_RU],
-      contains: ['params', 'export']
-    },
-    {
-      className: 'export',
-      begin: 'экспорт', endsWithParent: true, 
-      lexems: [hljs.IDENT_RE_RU],
-      keywords: {'экспорт': 1},
-      contains: ['comment']
-    },
-    {
-      className: 'preprocessor',
-      begin: '#', end: '$',
-      lexems: [hljs.IDENT_RE_RU]
-    }
-  ]
-};

File static/js/languages/axapta.js

-/*
-
-Axapta definition (с) Dmitri Roudakov <dmitri@roudakov.ru>
-
-*/
-hljs.LANGUAGES.axapta  = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    contains: ['comment', 'string', 'class', 'number', 'preprocessor'],
-    keywords: {'false': 1, 'int': 1, 'abstract': 1, 'private': 1, 'char': 1, 'interface': 1, 'boolean': 1, 'static': 1, 'null': 1, 'if': 1, 'for': 1, 'true': 1, 'while': 1, 'long': 1, 'throw': 1,  'finally': 1, 'protected': 1, 'extends': 1, 'final': 1, 'implements': 1, 'return': 1, 'void': 1, 'enum': 1, 'else': 1, 'break': 1, 'new': 1, 'catch': 1, 'byte': 1, 'super': 1, 'class': 1, 'case': 1, 'short': 1, 'default': 1, 'double': 1, 'public': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1,
-    'reverse':1, 'firstfast':1,'firstonly':1,'forupdate':1,'nofetch':1, 'sum':1, 'avg':1, 'minof':1, 'maxof':1, 'count':1, 'order':1, 'group':1, 'by':1, 'asc':1, 'desc':1, 'index':1, 'hint':1, 'like':1,
-    'dispaly':1, 'edit':1, 'client':1, 'server':1, 'ttsbegin':1, 'ttscommit':1,
-    'str':1, 'real':1, 'date':1, 'container':1, 'anytype':1, 'common':1, 'div':1,'mod':1
-    }
-  },
-  modes: [
-    {
-      className: 'class',
-      lexems: [hljs.UNDERSCORE_IDENT_RE],
-      begin: '(class |interface )', end: '{',
-      illegal: ':',
-      keywords: {'class': 1, 'interface': 1},
-      contains: ['inheritance', 'title']
-    },
-    {
-      className: 'inheritance',
-      begin: '(implements|extends)', end: '^',
-      lexems: [hljs.IDENT_RE],
-      keywords: {'extends': 1, 'implements': 1},
-      relevance: 10
-    },
-    {
-      className: 'title',
-      begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
-    },
-    {
-      className: 'params',
-      begin: '\\(', end: '\\)',
-      contains: ['string', 'annotation']
-    },
-    hljs.C_NUMBER_MODE,
-    hljs.APOS_STRING_MODE,
-    hljs.QUOTE_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE,
-    hljs.C_LINE_COMMENT_MODE,
-    hljs.C_BLOCK_COMMENT_MODE,
-    {
-      className: 'preprocessor',
-      begin: '#', end: '$'
-    }
-  ]
-};

File static/js/languages/bash.js

-/*
-
-Bash Scripts by vah <vahtenberg@gmail.com>
-
-*/
-hljs.BASH_LITERAL = {'true' : 1, 'false' : 1}
-hljs.LANGUAGES.bash = {
-  defaultMode: {
-    lexems: [hljs.IDENT_RE],
-    contains: ['string', 'shebang', 'comment', 'number', 'test_condition', 'string', 'variable'],
-    keywords: {
-      'keyword': {'if' : 1, 'then' : 1, 'else' : 1, 'fi' : 1, 'for' : 1, 'break' : 1, 'continue' : 1, 'while' : 1, 'in' : 1, 'do' : 1, 'done' : 1, 'echo' : 1, 'exit' : 1, 'return' : 1, 'set' : 1, 'declare' : 1},
-      'literal': hljs.BASH_LITERAL
-    }
-  },
-  case_insensitive: false,
-  modes: [
-    {
-      className: 'shebang',
-      begin: '(#!\\/bin\\/bash)|(#!\\/bin\\/sh)', 
-      end: '^',
-      relevance: 10
-    },
-    hljs.HASH_COMMENT_MODE,
-    {
-      className: 'test_condition',
-      begin: '\\[ ', 
-      end: ' \\]',
-      contains: ['string', 'variable', 'number'],
-      lexems: [hljs.IDENT_RE],
-      keywords: {
-        'literal': hljs.BASH_LITERAL
-      },
-      relevance: 0
-    },
-    {
-      className: 'test_condition',
-      begin: '\\[\\[ ', 
-      end: ' \\]\\]',
-      contains: ['string', 'variable', 'number'],
-      lexems: [hljs.IDENT_RE],
-      keywords: {
-        'literal': hljs.BASH_LITERAL
-      }
-    },
-    {
-      className: 'variable',
-      begin: '\\$([a-zA-Z0-9_]+)\\b', 
-      end: '^'
-    },
-    {
-      className: 'variable',
-      begin: '\\$\\{(([^}])|(\\\\}))+\\}', 
-      end: '^',
-      contains: ['number']
-    },
-    {
-      className: 'string',
-      begin: '"', end: '"',
-      illegal: '\\n',
-      contains: ['escape', 'variable'],
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '"', end: '"',
-      illegal: '\\n',
-      contains: ['escape', 'variable'],
-      relevance: 0
-    },
-    hljs.BACKSLASH_ESCAPE,
-    hljs.C_NUMBER_MODE,
-    {
-      className: 'comment',
-      begin: '\\/\\/', end: '$',
-      illegal: '.'
-    }
-  ]
-};
-

File static/js/languages/diff.js

-/*
-
-Unified and context diff definition (c) Vasily Polovnyov <vast@whiteants.net>
-
-*/
-hljs.LANGUAGES.diff = {
-  case_insensitive: true,
-  defaultMode: {
-    contains: ['chunk', 'header', 'addition', 'deletion', 'change']
-  },
-  modes: [
-    {
-      className: 'chunk',
-      begin: '^\\@\\@ +\\-\\d+,\\d+ +\\+\\d+,\\d+ +\\@\\@$', end:'^',
-      relevance: 10
-    },
-    {
-      className: 'chunk',
-      begin: '^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$', end: '^',
-      relevance: 10
-    },
-    {
-      className: 'chunk',
-      begin: '^\\-\\-\\- +\\d+,\\d+ +\\-\\-\\-\\-$', end: '^',
-      relevance: 10
-    },
-    {
-      className: 'header',
-      begin: 'Index: ', end: '$'
-    },
-    {
-      className: 'header',
-      begin: '=====', end: '=====$'
-    },
-    {
-      className: 'header',
-      begin: '^\\-\\-\\-', end: '$'
-    },
-    {
-      className: 'header',
-      begin: '^\\*{3} ', end: '$'
-    },
-    {
-      className: 'header',
-      begin: '^\\+\\+\\+', end: '$'
-    },
-    {
-      className: 'header',
-      begin: '\\*{5}', end: '\\*{5}$'
-    },
-    {
-      className: 'addition',
-      begin: '^\\+', end: '$'
-    },
-    {
-      className: 'deletion',
-      begin: '^\\-', end: '$'
-    },
-    {
-      className: 'change',
-      begin: '^\\!', end: '$'
-    }
-  ]
-}

File static/js/languages/dos.js

-/*
-DOS definition. Alexander Makarov (http://rmcreative.ru/)
-*/
-hljs.DOS_KEYWORDS = {
-  'flow': {'if':1, 'else':1, 'goto':1, 'for':1, 'in':1, 'do':1, 'call':1, 'exit':1, 'not':1, 'exist':1, 'errorlevel':1, 'defined':1, 'equ':1, 'neq':1, 'lss':1, 'leq':1, 'gtr':1, 'geq':1},
-  'keyword':{'shift':1, 'cd':1, 'dir':1, 'echo':1, 'setlocal':1, 'endlocal':1, 'set':1, 'pause':1, 'copy':1},
-  'stream':{'prn':1, 'nul':1, 'lpt3':1, 'lpt2':1, 'lpt1':1, 'con':1, 'com4':1, 'com3':1, 'com2':1, 'com1':1, 'aux':1},
-  'winutils':{'ping':1, 'net':1, 'ipconfig':1, 'taskkill':1, 'xcopy':1, 'ren':1, 'del':1}
-};
-
-hljs.LANGUAGES.dos = {
-  case_insensitive: true,
-  defaultMode: {
-    lexems: [hljs.IDENT_RE],
-    contains: ['envvar', 'number', 'comment'],
-    keywords: hljs.DOS_KEYWORDS
-  },
-  modes: [
-    {
-    	className: 'number',
-    	begin: '\\b\\d+', end: '^',
-    	relevance: 0
-    },
-    {
-      className: 'comment',
-      begin: '@?rem', end: '$'
-    },
-    {
-      className: 'envvar',
-      begin: '%[^ ]+?%', end: '^'
-    }
-  ]
-};

File static/js/languages/dynamic.js

-hljs.LANGUAGES.python = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    illegal: '(</|->)',
-    contains: ['comment', 'string', 'function', 'class', 'number', 'decorator'],
-    keywords: {
-      'keyword': {'and': 1, 'elif': 1, 'is': 1, 'global': 1, 'as': 1, 'in': 1, 'if': 1, 'from': 1, 'raise': 1, 'for': 1, 'except': 1, 'finally': 1, 'print': 1, 'import': 1, 'pass': 1, 'return': 1, 'exec': 1, 'else': 1, 'break': 1, 'not': 1, 'with': 1, 'class': 1, 'assert': 1, 'yield': 1, 'try': 1, 'while': 1, 'continue': 1, 'del': 1, 'or': 1, 'def': 1, 'lambda': 1},
-      'built_in': {'None': 1, 'True': 1, 'False': 1, 'Ellipsis': 1, 'NotImplemented': 1}
-    }
-  },
-  modes: [
-    {
-      className: 'function',
-      lexems: [hljs.UNDERSCORE_IDENT_RE],
-      begin: '\\bdef ', end: ':',
-      illegal: '$',
-      keywords: {'def': 1},
-      contains: ['title', 'params'],
-      relevance: 10
-    },
-    {
-      className: 'class',
-      lexems: [hljs.UNDERSCORE_IDENT_RE],
-      begin: '\\bclass ', end: ':',
-      illegal: '[${]',
-      keywords: {'class': 1},
-      contains: ['title', 'params',],
-      relevance: 10
-    },
-    {
-      className: 'title',
-      begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
-    },
-    {
-      className: 'params',
-      begin: '\\(', end: '\\)',
-      contains: ['string']
-    },
-    hljs.HASH_COMMENT_MODE,
-    hljs.C_NUMBER_MODE,
-    {
-      className: 'string',
-      begin: '\'\'\'', end: '\'\'\'',
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: '"""', end: '"""',
-      relevance: 10
-    },
-    hljs.APOS_STRING_MODE,
-    hljs.QUOTE_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'string',
-      begin: 'r\'', end: '\'',
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: 'r"', end: '"',
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: 'u\'', end: '(^|[^\\\\])\'',
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: 'u"', end: '(^|[^\\\\])"',
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: 'ur\'', end: '\'',
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: 'ur"', end: '"',
-      relevance: 10
-    },
-    {
-      className: 'decorator',
-      begin: '@', end: '$'
-    }
-  ]
-};
-
-
-/*
-
-Perl definition (с) Peter Leonov <gojpeg@yandex.ru>
-
-*/
-hljs.PERL_DEFAULT_CONTAINS = ['comment', 'string', 'number', 'regexp', 'sub', 'variable', 'operator', 'pod'];
-hljs.PERL_KEYWORDS = {'getpwent': 1, 'getservent': 1, 'quotemeta': 1, 'msgrcv': 1, 'scalar': 1, 'kill': 1, 'dbmclose': 1, 'undef': 1, 'lc': 1, 'ma': 1, 'syswrite': 1, 'tr': 1, 'send': 1, 'umask': 1, 'sysopen': 1, 'shmwrite': 1, 'vec': 1, 'qx': 1, 'utime': 1, 'local': 1, 'oct': 1, 'semctl': 1, 'localtime': 1, 'readpipe': 1, 'do': 1, 'return': 1, 'format': 1, 'read': 1, 'sprintf': 1, 'dbmopen': 1, 'pop': 1, 'getpgrp': 1, 'not': 1, 'getpwnam': 1, 'rewinddir': 1, 'qq': 1, 'fileno': 1, 'qw': 1, 'endprotoent': 1, 'wait': 1, 'sethostent': 1, 'bless': 1, 's': 1, 'opendir': 1, 'continue': 1, 'each': 1, 'sleep': 1, 'endgrent': 1, 'shutdown': 1, 'dump': 1, 'chomp': 1, 'connect': 1, 'getsockname': 1, 'die': 1, 'socketpair': 1, 'close': 1, 'flock': 1, 'exists': 1, 'index': 1, 'shmget': 1, 'sub': 1, 'for': 1, 'endpwent': 1, 'redo': 1, 'lstat': 1, 'msgctl': 1, 'setpgrp': 1, 'abs': 1, 'exit': 1, 'select': 1, 'print': 1, 'ref': 1, 'gethostbyaddr': 1, 'unshift': 1, 'fcntl': 1, 'syscall': 1, 'goto': 1, 'getnetbyaddr': 1, 'join': 1, 'gmtime': 1, 'symlink': 1, 'semget': 1, 'splice': 1, 'x': 1, 'getpeername': 1, 'recv': 1, 'log': 1, 'setsockopt': 1, 'cos': 1, 'last': 1, 'reverse': 1, 'gethostbyname': 1, 'getgrnam': 1, 'study': 1, 'formline': 1, 'endhostent': 1, 'times': 1, 'chop': 1, 'length': 1, 'gethostent': 1, 'getnetent': 1, 'pack': 1, 'getprotoent': 1, 'getservbyname': 1, 'rand': 1, 'mkdir': 1, 'pos': 1, 'chmod': 1, 'y': 1, 'substr': 1, 'endnetent': 1, 'printf': 1, 'next': 1, 'open': 1, 'msgsnd': 1, 'readdir': 1, 'use': 1, 'unlink': 1, 'getsockopt': 1, 'getpriority': 1, 'rindex': 1, 'wantarray': 1, 'hex': 1, 'system': 1, 'getservbyport': 1, 'endservent': 1, 'int': 1, 'chr': 1, 'untie': 1, 'rmdir': 1, 'prototype': 1, 'tell': 1, 'listen': 1, 'fork': 1, 'shmread': 1, 'ucfirst': 1, 'setprotoent': 1, 'else': 1, 'sysseek': 1, 'link': 1, 'getgrgid': 1, 'shmctl': 1, 'waitpid': 1, 'unpack': 1, 'getnetbyname': 1, 'reset': 1, 'chdir': 1, 'grep': 1, 'split': 1, 'require': 1, 'caller': 1, 'lcfirst': 1, 'until': 1, 'warn': 1, 'while': 1, 'values': 1, 'shift': 1, 'telldir': 1, 'getpwuid': 1, 'my': 1, 'getprotobynumber': 1, 'delete': 1, 'and': 1, 'sort': 1, 'uc': 1, 'defined': 1, 'srand': 1, 'accept': 1, 'package': 1, 'seekdir': 1, 'getprotobyname': 1, 'semop': 1, 'our': 1, 'rename': 1, 'seek': 1, 'if': 1, 'q': 1, 'chroot': 1, 'sysread': 1, 'setpwent': 1, 'no': 1, 'crypt': 1, 'getc': 1, 'chown': 1, 'sqrt': 1, 'write': 1, 'setnetent': 1, 'setpriority': 1, 'foreach': 1, 'tie': 1, 'sin': 1, 'msgget': 1, 'map': 1, 'stat': 1, 'getlogin': 1, 'unless': 1, 'elsif': 1, 'truncate': 1, 'exec': 1, 'keys': 1, 'glob': 1, 'tied': 1, 'closedir': 1, 'ioctl': 1, 'socket': 1, 'readlink': 1, 'eval': 1, 'xor': 1, 'readline': 1, 'binmode': 1, 'setservent': 1, 'eof': 1, 'ord': 1, 'bind': 1, 'alarm': 1, 'pipe': 1, 'atan2': 1, 'getgrent': 1, 'exp': 1, 'time': 1, 'push': 1, 'setgrent': 1, 'gt': 1, 'lt': 1, 'or': 1, 'ne': 1, 'm': 1};
-
-hljs.LANGUAGES.perl = {
-  defaultMode: {
-    lexems: [hljs.IDENT_RE],
-    contains: hljs.PERL_DEFAULT_CONTAINS,
-    keywords: hljs.PERL_KEYWORDS
-  },
-  modes: [
-
-    // variables
-    {
-      className: 'variable',
-      begin: '\\$\\d', end: '^'
-    },
-    {
-      className: 'variable',
-      begin: '[\\$\\%\\@\\*](\\^\\w\\b|#\\w+(\\:\\:\\w+)*|[^\\s\\w{]|{\\w+}|\\w+(\\:\\:\\w*)*)', end: '^'
-    },
-
-    // numbers and strings
-    {
-      className: 'subst',
-      begin: '[$@]\\{', end: '\}',
-      lexems: [hljs.IDENT_RE],
-      keywords: hljs.PERL_KEYWORDS,
-      contains: hljs.PERL_DEFAULT_CONTAINS,
-      relevance: 10
-    },
-    {
-      className: 'number',
-      begin: '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', end: '^',
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: 'q[qwxr]?\\s*\\(', end: '\\)',
-      contains: ['escape', 'subst', 'variable'],
-      relevance: 5
-    },
-    {
-      className: 'string',
-      begin: 'q[qwxr]?\\s*\\[', end: '\\]',
-      contains: ['escape', 'subst', 'variable'],
-      relevance: 5
-    },
-    {
-      className: 'string',
-      begin: 'q[qwxr]?\\s*\\{', end: '\\}',
-      contains: ['escape', 'subst', 'variable'],
-      relevance: 5
-    },
-    {
-      className: 'string',
-      begin: 'q[qwxr]?\\s*\\|', end: '\\|',
-      contains: ['escape', 'subst', 'variable'],
-      relevance: 5
-    },
-    {
-      className: 'string',
-      begin: 'q[qwxr]?\\s*\\<', end: '\\>',
-      contains: ['escape', 'subst', 'variable'],
-      relevance: 5
-    },
-    {
-      className: 'string',
-      begin: 'qw\\s+q', end: 'q',
-      contains: ['escape', 'subst', 'variable'],
-      relevance: 5
-    },
-    {
-      className: 'string',
-      begin: '\'', end: '\'',
-      contains: ['escape'],
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '"', end: '"',
-      contains: ['escape','subst','variable'],
-      relevance: 0
-    },
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'string',
-      begin: '`', end: '`',
-      contains: ['escape']
-    },
-    
-    // regexps
-    {
-      className: 'regexp',
-      begin: '(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*', end: '^',
-      relevance: 10
-    },
-    {
-      className: 'regexp',
-      begin: '(m|qr)?/', end: '/[a-z]*',
-      contains: ['escape'],
-      relevance: 0 // allows empty "//" which is a common comment delimiter in other languages
-    },
-
-    // bareword context
-    {
-      className: 'string',
-      begin: '{\\w+}', end: '^',
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '\-?\\w+\\s*\\=\\>', end: '^',
-      relevance: 0
-    },
-
-    // subroutines
-    {
-      className: 'sub',
-      begin: '\\bsub\\b', end: '(\\s*\\(.*?\\))?[;{]',
-      lexems: [hljs.IDENT_RE],
-      keywords: {'sub':1},
-      relevance: 5
-    },
-
-    // operators
-    {
-      className: 'operator',
-      begin: '-\\w\\b', end: '^',
-      relevance: 0
-    },
-
-    // comments
-    hljs.HASH_COMMENT_MODE,
-    {
-      className: 'comment',
-      begin: '^(__END__|__DATA__)', end: '\\n$',
-      relevance: 5
-    },
-    // pod
-    {
-      className: 'pod',
-      begin: '\\=\\w', end: '\\=cut'
-    }
-
-  ]
-};
-
-/*
-
-PHP5 definition (с) Victor Karamzin <Victor.Karamzin@enterra-inc.com>
-
-*/
-hljs.PHP5_KEYWORDS = {'and': 1, 'include_once': 1, 'list': 1, 'abstract': 1, 'global': 1, 'private': 1, 'echo': 1, 'interface': 1, 'as': 1, 'static': 1, 'endswitch': 1, 'array': 1, 'null': 1, 'if': 1, 'endwhile': 1, 'or': 1, 'const': 1, 'for': 1, 'endforeach': 1, 'self': 1, 'var': 1, 'while': 1, 'isset': 1, 'public': 1, 'protected': 1, 'exit': 1, 'foreach': 1, 'throw': 1, 'elseif': 1, 'extends': 1, 'include': 1, '__FILE__': 1, 'empty': 1, 'require_once': 1, 'function': 1, 'do': 1, 'xor': 1, 'return': 1, 'implements': 1, 'parent': 1, 'clone': 1, 'use': 1, '__CLASS__': 1, '__LINE__': 1, 'else': 1, 'break': 1, 'print': 1, 'eval': 1, 'new': 1, 'catch': 1, '__METHOD__': 1, 'class': 1, 'case': 1, 'exception': 1, 'php_user_filter': 1, 'default': 1, 'die': 1, 'require': 1, '__FUNCTION__': 1, 'enddeclare': 1, 'final': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'endfor': 1, 'endif': 1, 'declare': 1, 'unset': 1};
-
-hljs.PHP_IDENTIFIER_RE = '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*';
-
-hljs.LANGUAGES.php = {
-  defaultMode: {
-    lexems: [hljs.IDENT_RE],
-    contains: ['comment', 'number', 'string', 'variable'],
-    keywords: hljs.PHP5_KEYWORDS
-  },
-  case_insensitive: true,
-  modes: [
-    hljs.C_LINE_COMMENT_MODE,
-    hljs.HASH_COMMENT_MODE,
-    {
-      className: 'comment',
-      begin: '/\\*', end: '\\*/',
-      contains: ['phpdoc']
-    },
-    {
-      className: 'phpdoc',
-      begin: '\\s@[A-Za-z]+', end: '^',
-      relevance: 10
-    },
-    hljs.C_NUMBER_MODE,
-    {
-      className: 'string',
-      begin: '\'', end: '\'',
-      contains: ['escape'],
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '"', end: '"',
-      contains: ['escape'],
-      relevance: 0
-    },
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'variable',
-      begin: '\\$' + hljs.PHP_IDENTIFIER_RE, end: '^'
-    },
-    ]
-};
-
-/*
-
-Ruby definition (с) Anton Kovalyov <anton@kovalyov.net>, Peter Leonov <gojpeg@yandex.ru>
-
-*/
-hljs.RUBY_IDENT_RE = '[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?';
-hljs.RUBY_DEFAULT_CONTAINS = ['comment', 'string', 'char', 'class', 'function', 'symbol', 'number', 'variable', 'regexp']
-hljs.RUBY_KEYWORDS = {
-  'keyword': {'and': 1, 'false': 1, 'then': 1, 'defined': 1, 'module': 1, 'in': 1, 'return': 1, 'redo': 1, 'if': 1, 'BEGIN': 1, 'retry': 1, 'end': 1, 'for': 1, 'true': 1, 'self': 1, 'when': 1, 'next': 1, 'until': 1, 'do': 1, 'begin': 1, 'unless': 1, 'END': 1, 'rescue': 1, 'nil': 1, 'else': 1, 'break': 1, 'undef': 1, 'not': 1, 'super': 1, 'class': 1, 'case': 1, 'require': 1, 'yield': 1, 'alias': 1, 'while': 1, 'ensure': 1, 'elsif': 1, 'or': 1, 'def': 1},
-  'keymethods': {'__id__': 1, '__send__': 1, 'abort': 1, 'abs': 1, 'all?': 1, 'allocate': 1, 'ancestors': 1, 'any?': 1, 'arity': 1, 'assoc': 1, 'at': 1, 'at_exit': 1, 'autoload': 1, 'autoload?': 1, 'between?': 1, 'binding': 1, 'binmode': 1, 'block_given?': 1, 'call': 1, 'callcc': 1, 'caller': 1, 'capitalize': 1, 'capitalize!': 1, 'casecmp': 1, 'catch': 1, 'ceil': 1, 'center': 1, 'chomp': 1, 'chomp!': 1, 'chop': 1, 'chop!': 1, 'chr': 1, 'class': 1, 'class_eval': 1, 'class_variable_defined?': 1, 'class_variables': 1, 'clear': 1, 'clone': 1, 'close': 1, 'close_read': 1, 'close_write': 1, 'closed?': 1, 'coerce': 1, 'collect': 1, 'collect!': 1, 'compact': 1, 'compact!': 1, 'concat': 1, 'const_defined?': 1, 'const_get': 1, 'const_missing': 1, 'const_set': 1, 'constants': 1, 'count': 1, 'crypt': 1, 'default': 1, 'default_proc': 1, 'delete': 1, 'delete!': 1, 'delete_at': 1, 'delete_if': 1, 'detect': 1, 'display': 1, 'div': 1, 'divmod': 1, 'downcase': 1, 'downcase!': 1, 'downto': 1, 'dump': 1, 'dup': 1, 'each': 1, 'each_byte': 1, 'each_index': 1, 'each_key': 1, 'each_line': 1, 'each_pair': 1, 'each_value': 1, 'each_with_index': 1, 'empty?': 1, 'entries': 1, 'eof': 1, 'eof?': 1, 'eql?': 1, 'equal?': 1, 'eval': 1, 'exec': 1, 'exit': 1, 'exit!': 1, 'extend': 1, 'fail': 1, 'fcntl': 1, 'fetch': 1, 'fileno': 1, 'fill': 1, 'find': 1, 'find_all': 1, 'first': 1, 'flatten': 1, 'flatten!': 1, 'floor': 1, 'flush': 1, 'for_fd': 1, 'foreach': 1, 'fork': 1, 'format': 1, 'freeze': 1, 'frozen?': 1, 'fsync': 1, 'getc': 1, 'gets': 1, 'global_variables': 1, 'grep': 1, 'gsub': 1, 'gsub!': 1, 'has_key?': 1, 'has_value?': 1, 'hash': 1, 'hex': 1, 'id': 1, 'include?': 1, 'included_modules': 1, 'index': 1, 'indexes': 1, 'indices': 1, 'induced_from': 1, 'inject': 1, 'insert': 1, 'inspect': 1, 'instance_eval': 1, 'instance_method': 1, 'instance_methods': 1, 'instance_of?': 1, 'instance_variable_defined?': 1, 'instance_variable_get': 1, 'instance_variable_set': 1, 'instance_variables': 1, 'integer?': 1, 'intern': 1, 'invert': 1, 'ioctl': 1, 'is_a?': 1, 'isatty': 1, 'iterator?': 1, 'join': 1, 'key?': 1, 'keys': 1, 'kind_of?': 1, 'lambda': 1, 'last': 1, 'length': 1, 'lineno': 1, 'ljust': 1, 'load': 1, 'local_variables': 1, 'loop': 1, 'lstrip': 1, 'lstrip!': 1, 'map': 1, 'map!': 1, 'match': 1, 'max': 1, 'member?': 1, 'merge': 1, 'merge!': 1, 'method': 1, 'method_defined?': 1, 'method_missing': 1, 'methods': 1, 'min': 1, 'module_eval': 1, 'modulo': 1, 'name': 1, 'nesting': 1, 'new': 1, 'next': 1, 'next!': 1, 'nil?': 1, 'nitems': 1, 'nonzero?': 1, 'object_id': 1, 'oct': 1, 'open': 1, 'pack': 1, 'partition': 1, 'pid': 1, 'pipe': 1, 'pop': 1, 'popen': 1, 'pos': 1, 'prec': 1, 'prec_f': 1, 'prec_i': 1, 'print': 1, 'printf': 1, 'private_class_method': 1, 'private_instance_methods': 1, 'private_method_defined?': 1, 'private_methods': 1, 'proc': 1, 'protected_instance_methods': 1, 'protected_method_defined?': 1, 'protected_methods': 1, 'public_class_method': 1, 'public_instance_methods': 1, 'public_method_defined?': 1, 'public_methods': 1, 'push': 1, 'putc': 1, 'puts': 1, 'quo': 1, 'raise': 1, 'rand': 1, 'rassoc': 1, 'read': 1, 'read_nonblock': 1, 'readchar': 1, 'readline': 1, 'readlines': 1, 'readpartial': 1, 'rehash': 1, 'reject': 1, 'reject!': 1, 'remainder': 1, 'reopen': 1, 'replace': 1, 'require': 1, 'respond_to?': 1, 'reverse': 1, 'reverse!': 1, 'reverse_each': 1, 'rewind': 1, 'rindex': 1, 'rjust': 1, 'round': 1, 'rstrip': 1, 'rstrip!': 1, 'scan': 1, 'seek': 1, 'select': 1, 'send': 1, 'set_trace_func': 1, 'shift': 1, 'singleton_method_added': 1, 'singleton_methods': 1, 'size': 1, 'sleep': 1, 'slice': 1, 'slice!': 1, 'sort': 1, 'sort!': 1, 'sort_by': 1, 'split': 1, 'sprintf': 1, 'squeeze': 1, 'squeeze!': 1, 'srand': 1, 'stat': 1, 'step': 1, 'store': 1, 'strip': 1, 'strip!': 1, 'sub': 1, 'sub!': 1, 'succ': 1, 'succ!': 1, 'sum': 1, 'superclass': 1, 'swapcase': 1, 'swapcase!': 1, 'sync': 1, 'syscall': 1, 'sysopen': 1, 'sysread': 1, 'sysseek': 1, 'system': 1, 'syswrite': 1, 'taint': 1, 'tainted?': 1, 'tell': 1, 'test': 1, 'throw': 1, 'times': 1, 'to_a': 1, 'to_ary': 1, 'to_f': 1, 'to_hash': 1, 'to_i': 1, 'to_int': 1, 'to_io': 1, 'to_proc': 1, 'to_s': 1, 'to_str': 1, 'to_sym': 1, 'tr': 1, 'tr!': 1, 'tr_s': 1, 'tr_s!': 1, 'trace_var': 1, 'transpose': 1, 'trap': 1, 'truncate': 1, 'tty?': 1, 'type': 1, 'ungetc': 1, 'uniq': 1, 'uniq!': 1, 'unpack': 1, 'unshift': 1, 'untaint': 1, 'untrace_var': 1, 'upcase': 1, 'upcase!': 1, 'update': 1, 'upto': 1, 'value?': 1, 'values': 1, 'values_at': 1, 'warn': 1, 'write': 1, 'write_nonblock': 1, 'zero?': 1, 'zip': 1}
-}
-
-hljs.LANGUAGES.ruby = {
-  defaultMode: {
-    lexems: [hljs.RUBY_IDENT_RE],
-    contains: hljs.RUBY_DEFAULT_CONTAINS,
-    keywords: hljs.RUBY_KEYWORDS
-  },
-  modes: [
-    hljs.HASH_COMMENT_MODE,
-    {
-      className: 'comment',
-      begin: '^\\=begin', end: '^\\=end',
-      relevance: 10
-    },
-    {
-      className: 'comment',
-      begin: '^__END__', end: '\\n$'
-    },
-    {
-      className: 'params',
-      begin: '\\(', end: '\\)',
-      lexems: [hljs.RUBY_IDENT_RE],
-      keywords: hljs.RUBY_KEYWORDS,
-      contains: hljs.RUBY_DEFAULT_CONTAINS
-    },
-    {
-      className: 'function',
-      begin: '\\bdef\\b', end: '$|;',
-      lexems: [hljs.RUBY_IDENT_RE],
-      keywords: hljs.RUBY_KEYWORDS,
-      contains: ['title', 'params']
-    },
-    {
-      className: 'class',
-      begin: '\\b(class|module)\\b', end: '$',
-      lexems: [hljs.UNDERSCORE_IDENT_RE],
-      keywords: hljs.RUBY_KEYWORDS,
-      contains: ['title', 'inheritance', 'comment'],
-      keywords: {'class': 1, 'module': 1}
-    },
-    {
-      className: 'title',
-      begin: '[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?', end: '^',
-      relevance: 0
-    },
-    {
-      className: 'inheritance',
-      begin: '<\\s*', end: '^',
-      contains: ['parent']
-    },
-    {
-      className: 'parent',
-      begin: '(' + hljs.IDENT_RE + '::)?' + hljs.IDENT_RE, end: '^'
-    },
-    {
-      className: 'number',
-      begin: '(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b', end: '^',
-      relevance: 0
-    },
-    {
-      className: 'number',
-      begin: '\\?\\w', end: '^'
-    },
-    {
-      className: 'string',
-      begin: '\'', end: '\'',
-      contains: ['escape', 'subst'],
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '"', end: '"',
-      contains: ['escape', 'subst'],
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '%[qw]?\\(', end: '\\)',
-      contains: ['escape', 'subst'],
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: '%[qw]?\\[', end: '\\]',
-      contains: ['escape', 'subst'],
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: '%[qw]?{', end: '}',
-      contains: ['escape', 'subst'],
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: '%[qw]?<', end: '>',
-      contains: ['escape', 'subst'],
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: '%[qw]?/', end: '/',
-      contains: ['escape', 'subst'],
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: '%[qw]?%', end: '%',
-      contains: ['escape', 'subst'],
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: '%[qw]?-', end: '-',
-      contains: ['escape', 'subst'],
-      relevance: 10
-    },
-    {
-      className: 'string',
-      begin: '%[qw]?\\|', end: '\\|',
-      contains: ['escape', 'subst'],
-      relevance: 10
-    },
-    {
-      className: 'symbol',
-      begin: ':' + hljs.RUBY_IDENT_RE, end: '^'
-    },
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'subst',
-      begin: '#\\{', end: '}',
-      lexems: [hljs.RUBY_IDENT_RE],
-      keywords: hljs.RUBY_KEYWORDS,
-      contains: hljs.RUBY_DEFAULT_CONTAINS
-    },
-    {
-      className: 'regexp',
-      begin: '/', end: '/[a-z]*',
-      contains: ['escape'],
-      relevance: 0
-    },
-    {
-      className: 'variable',
-      begin: '(\\$\\W)|((\\$|\\@\\@?)(\\w+))', end: '^'
-    }
-  ]
-};

File static/js/languages/ini.js

-hljs.LANGUAGES.ini =
-{
-  case_insensitive: true,
-  defaultMode: {
-    contains: ['comment', 'title', 'setting'],
-    illegal: '[^\\s]'
-  },
-  modes: [
-    {
-      className: 'comment',
-      begin: ';', end: '$'
-    },
-    {
-      className: 'title',
-      begin: '\\[', end: '\\]'
-    },
-    {
-      className: 'setting',
-      begin: '^[a-z]+[ \\t]*=[ \\t]*', end: '$',
-      contains: ['value']
-    },
-    {
-      className: 'value',
-      begin: '^', endsWithParent: true,
-      contains: ['string', 'number'],
-      lexems: [hljs.IDENT_RE],
-      keywords: {'on': 1, 'off': 1, 'true': 1, 'false': 1, 'yes': 1, 'no': 1}
-    },
-    hljs.QUOTE_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'number',
-      begin: '\\d+', end: '^'
-    }
-  ]
-};

File static/js/languages/javascript.js

-hljs.LANGUAGES.javascript = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    contains: ['string', 'comment', 'number', 'regexp', 'function'],
-    keywords: {
-      'keyword': {'in': 1, 'if': 1, 'for': 1, 'while': 1, 'finally': 1, 'var': 1, 'new': 1, 'function': 1, 'do': 1, 'return': 1, 'void': 1, 'else': 1, 'break': 1, 'catch': 1, 'instanceof': 1, 'with': 1, 'throw': 1, 'case': 1, 'default': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'typeof': 1, 'delete': 1},
-      'literal': {'true': 1, 'false': 1, 'null': 1}
-    }
-  },
-  modes: [
-    hljs.C_LINE_COMMENT_MODE,
-    hljs.C_BLOCK_COMMENT_MODE,
-    hljs.C_NUMBER_MODE,
-    hljs.APOS_STRING_MODE,
-    hljs.QUOTE_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'regexp',
-      begin: '/.*?[^\\\\/]/[gim]*', end: '^'
-    },
-    {
-      className: 'function',
-      begin: 'function\\b', end: '{',
-      lexems: [hljs.UNDERSCORE_IDENT_RE],
-      keywords: {'function': 1},
-      contains: ['title', 'params']
-    },
-    {
-      className: 'title',
-      begin: '[A-Za-z$_][0-9A-Za-z$_]*', end: '^'
-    },
-    {
-      className: 'params',
-      begin: '\\(', end: '\\)',
-      contains: ['string', 'comment']
-    }
-  ]
-};

File static/js/languages/profile.js

-/*
-
-Python profiler results (c) Brian Beck <exogen@gmail.com>
-
-*/
-hljs.LANGUAGES.profile = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    contains: ['number', 'builtin', 'filename', 'header', 'summary', 'string', 'function']
-  },
-  modes: [
-    hljs.C_NUMBER_MODE,
-    hljs.APOS_STRING_MODE,
-    hljs.QUOTE_STRING_MODE,
-    {
-      className: 'summary',
-      begin: 'function calls', end: '$',
-      contains: ['number'],
-      relevance: 10
-    },
-    {
-      className: 'header',
-      begin: '(ncalls|tottime|cumtime)', end: '$',
-      lexems: [hljs.IDENT_RE],
-      keywords: {'ncalls': 1, 'tottime': 10, 'cumtime': 10, 'filename': 1},
-      relevance: 10
-    },
-    {
-      className: 'function',
-      begin: '\\(', end: '\\)',
-      lexems: [hljs.UNDERSCORE_IDENT_RE],
-      contains: ['title']
-    },
-    {
-      className: 'title',
-      begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
-    },
-    {
-      className: 'builtin',
-      begin: '{', end: '}',
-      contains: ['string'],
-      excludeBegin: true, excludeEnd: true
-    },
-    {
-      className: 'filename',
-      begin: '(/\w|[a-zA-Z_][\da-zA-Z_]+\\.[\da-zA-Z_]{1,3})', end: ':',
-      excludeEnd: true
-    }
-  ]
-};

File static/js/languages/renderman.js

-/*
-
-RenderMan Languages (c) Konstantin Evdokimenko <qewerty@gmail.com>
-
-*/
-
-hljs.LANGUAGES.rib  = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    illegal: '</',
-    contains: ['comment', 'string', 'number'],
-    keywords: {
-      'keyword': {'ReadArchive': 1, 'FrameBegin': 1, 'FrameEnd': 1, 'WorldBegin': 1, 'WorldEnd': 1,
-                  'Attribute': 1, 'Display': 1, 'Option': 1, 'Format': 1, 'ShadingRate': 1,
-                  'PixelFilter': 1, 'PixelSamples': 1, 'Projection': 1, 'Scale': 1, 'ConcatTransform': 1,
-                  'Transform': 1, 'Translate': 1, 'Rotate': 1,
-                  'Surface': 1, 'Displacement': 1, 'Atmosphere': 1,
-                  'Interior': 1, 'Exterior': 1},
-      'commands': {'WorldBegin': 1, 'WorldEnd': 1, 'FrameBegin': 1, 'FrameEnd': 1,
-                   'ReadArchive': 1, 'ShadingRate': 1}
-    }
-  },
-  modes: [
-    hljs.HASH_COMMENT_MODE,
-    hljs.C_NUMBER_MODE,
-    hljs.APOS_STRING_MODE,
-    hljs.QUOTE_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE
-  ]
-};
-
-hljs.LANGUAGES.rsl  = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    illegal: '</',
-    contains: ['comment', 'string', 'number', 'preprocessor',
-               'shader', 'shading'],
-    keywords: {
-      'keyword': {'float': 1, 'color': 1, 'point': 1, 'normal': 1, 'vector': 1,
-                  'matrix': 1, 'while': 1, 'for': 1, 'if': 1, 'do': 1,
-                  'return': 1, 'else': 1, 'break': 1, 'extern': 1, 'continue': 1},
-      'built_in': {'smoothstep': 1, 'calculatenormal': 1, 'faceforward': 1,
-                   'normalize': 1, 'ambient': 1, 'diffuse': 1, 'specular': 1,
-                   'visibility': 1}
-    }
-  },
-  modes: [
-    {
-      className: 'shader',
-      begin: 'surface |displacement |light |volume |imager ', end: '\\(',
-      lexems: [hljs.IDENT_RE],
-      keywords: {'surface': 1, 'displacement': 1, 'light': 1, 'volume': 1, 'imager': 1}
-    },
-    {
-      className: 'shading',
-      begin: 'illuminate|illuminance|gather', end: '\\(',
-      lexems: [hljs.IDENT_RE],
-      keywords: {'illuminate': 1, 'illuminance': 1, 'gather': 1}
-    },
-    hljs.C_LINE_COMMENT_MODE,
-    hljs.C_BLOCK_COMMENT_MODE,
-    hljs.C_NUMBER_MODE,
-    hljs.QUOTE_STRING_MODE,
-    hljs.APOS_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'preprocessor',
-      begin: '#', end: '$'
-    }
-  ]
-};

File static/js/languages/smalltalk.js

-/*
-
-Smalltalk definition (c) Vladimir Gubarkov <xonixx@gmail.com>
-
-*/
-
-hljs.SMALLTALK_KEYWORDS = {'self': 1, 'super': 1, 'nil': 1, 'true': 1, 'false': 1, 'thisContext': 1}; // only 6
-hljs.VAR_IDENT_RE = '[a-z][a-zA-Z0-9_]*';
-
-hljs.LANGUAGES.smalltalk = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    contains: ['comment', 'string', 'class', 'method',
-                'number', 'symbol', 'char', 'localvars', 'array'],
-    keywords: hljs.SMALLTALK_KEYWORDS
-  },
-  modes: [
-    {
-      className: 'class',
-      begin: '\\b[A-Z][A-Za-z0-9_]*', end: '^',
-      relevance: 0
-    },
-    {
-      className: 'symbol',
-      begin: '#' + hljs.UNDERSCORE_IDENT_RE, end: '^'
-    },
-    hljs.C_NUMBER_MODE,
-    hljs.APOS_STRING_MODE,
-    {
-      className: 'comment',
-      begin: '"', end: '"',
-      relevance: 0
-    },
-    {
-      className: 'method',
-      begin: hljs.VAR_IDENT_RE+':', end:'^'
-    },
-    {
-      className: 'char',
-      begin: '\\$.{1}', end: '^'
-    },
-    {
-      className: 'localvars',
-      begin: '\\|\\s*(('+hljs.VAR_IDENT_RE+')\\s*)+\\|', end: '^',
-      relevance: 10
-    },
-    {
-      className: 'array',
-      begin: '\\#\\(', end: '\\)',
-      contains: ['string', 'char', 'number', 'symbol']
-    }
-  ]
-};

File static/js/languages/sql.js

-hljs.SQL_KEYWORDS = {'all': 1, 'partial': 1, 'global': 1, 'month': 1, 'current_timestamp': 1, 'using': 1, 'go': 1, 'revoke': 1, 'smallint': 1, 'indicator': 1, 'end-exec': 1, 'disconnect': 1, 'zone': 1, 'with': 1, 'character': 1, 'assertion': 1, 'to': 1, 'add': 1, 'current_user': 1, 'usage': 1, 'input': 1, 'local': 1, 'alter': 1, 'match': 1, 'collate': 1, 'real': 1, 'then': 1, 'rollback': 1, 'get': 1, 'read': 1, 'timestamp': 1, 'session_user': 1, 'not': 1, 'integer': 1, 'bit': 1, 'unique': 1, 'day': 1, 'minute': 1, 'desc': 1, 'insert': 1, 'execute': 1, 'like': 1, 'level': 1, 'decimal': 1, 'drop': 1, 'continue': 1, 'isolation': 1, 'found': 1, 'where': 1, 'constraints': 1, 'domain': 1, 'right': 1, 'national': 1, 'some': 1, 'module': 1, 'transaction': 1, 'relative': 1, 'second': 1, 'connect': 1, 'escape': 1, 'close': 1, 'system_user': 1, 'for': 1, 'deferred': 1, 'section': 1, 'cast': 1, 'current': 1, 'sqlstate': 1, 'allocate': 1, 'intersect': 1, 'deallocate': 1, 'numeric': 1, 'public': 1, 'preserve': 1, 'full': 1, 'goto': 1, 'initially': 1, 'asc': 1, 'no': 1, 'key': 1, 'output': 1, 'collation': 1, 'group': 1, 'by': 1, 'union': 1, 'session': 1, 'both': 1, 'last': 1, 'language': 1, 'constraint': 1, 'column': 1, 'of': 1, 'space': 1, 'foreign': 1, 'deferrable': 1, 'prior': 1, 'connection': 1, 'unknown': 1, 'action': 1, 'commit': 1, 'view': 1, 'or': 1, 'first': 1, 'into': 1, 'float': 1, 'year': 1, 'primary': 1, 'cascaded': 1, 'except': 1, 'restrict': 1, 'set': 1, 'references': 1, 'names': 1, 'table': 1, 'outer': 1, 'open': 1, 'select': 1, 'size': 1, 'are': 1, 'rows': 1, 'from': 1, 'prepare': 1, 'distinct': 1, 'leading': 1, 'create': 1, 'only': 1, 'next': 1, 'inner': 1, 'authorization': 1, 'schema': 1, 'corresponding': 1, 'option': 1, 'declare': 1, 'precision': 1, 'immediate': 1, 'else': 1, 'timezone_minute': 1, 'external': 1, 'varying': 1, 'translation': 1, 'true': 1, 'case': 1, 'exception': 1, 'join': 1, 'hour': 1, 'default': 1, 'double': 1, 'scroll': 1, 'value': 1, 'cursor': 1, 'descriptor': 1, 'values': 1, 'dec': 1, 'fetch': 1, 'procedure': 1, 'delete': 1, 'and': 1, 'false': 1, 'int': 1, 'is': 1, 'describe': 1, 'char': 1, 'as': 1, 'at': 1, 'in': 1, 'varchar': 1, 'null': 1, 'trailing': 1, 'any': 1, 'absolute': 1, 'current_time': 1, 'end': 1, 'grant': 1, 'privileges': 1, 'when': 1, 'cross': 1, 'check': 1, 'write': 1, 'current_date': 1, 'pad': 1, 'begin': 1, 'temporary': 1, 'exec': 1, 'time': 1, 'update': 1, 'catalog': 1, 'user': 1, 'sql': 1, 'date': 1, 'on': 1, 'identity': 1, 'timezone_hour': 1, 'natural': 1, 'whenever': 1, 'interval': 1, 'work': 1, 'order': 1, 'cascade': 1, 'diagnostics': 1, 'nchar': 1, 'having': 1, 'left': 1};
-
-hljs.LANGUAGES.sql =
-{
-  case_insensitive: true,
-  defaultMode:
-  {
-    lexems: [hljs.IDENT_RE],
-    contains: ['string', 'number', 'comment'],
-    keywords: {
-      'keyword': hljs.SQL_KEYWORDS,
-      'aggregate': {'count': 1, 'sum': 1, 'min': 1, 'max': 1, 'avg': 1}
-    }
-  },
-
-  modes: [
-    hljs.C_NUMBER_MODE,
-    hljs.C_BLOCK_COMMENT_MODE,
-    {
-      className: 'comment',
-      begin: '--', end: '$'
-    },
-    {
-      className: 'string',
-      begin: '\'', end: '\'',
-      contains: ['escape', 'squote'],
-      relevance: 0
-    },
-    {
-      className: 'squote',
-      begin: '\'\'', end: '^'
-    },
-    {
-      className: 'string',
-      begin: '"', end: '"',
-      contains: [ 'escape', 'dquote'],
-      relevance: 0
-    },
-    {
-      className: 'dquote',
-      begin: '""', end: '^'
-    },
-    {
-      className: 'string',
-      begin: '`', end: '`',
-      contains: ['escape']
-    },
-    hljs.BACKSLASH_ESCAPE
-  ]
-};

File static/js/languages/static.js

-hljs.LANGUAGES.cpp = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    illegal: '</',
-    contains: ['comment', 'string', 'number', 'preprocessor'],
-    keywords: {
-      'keyword': {'false': 1, 'int': 1, 'float': 1, 'while': 1, 'private': 1, 'char': 1, 'catch': 1, 'export': 1, 'virtual': 1, 'operator': 2, 'sizeof': 2, 'dynamic_cast': 2, 'typedef': 2, 'const_cast': 2, 'const': 1, 'struct': 1, 'for': 1, 'static_cast': 2, 'union': 1, 'namespace': 1, 'unsigned': 1, 'long': 1, 'throw': 1, 'volatile': 2, 'static': 1, 'protected': 1, 'bool': 1, 'template': 1, 'mutable': 1, 'if': 1, 'public': 1, 'friend': 2, 'do': 1, 'return': 1, 'goto': 1, 'auto': 1, 'void': 2, 'enum': 1, 'else': 1, 'break': 1, 'new': 1, 'extern': 1, 'using': 1, 'true': 1, 'class': 1, 'asm': 1, 'case': 1, 'typeid': 1, 'short': 1, 'reinterpret_cast': 2, 'default': 1, 'double': 1, 'register': 1, 'explicit': 1, 'signed': 1, 'typename': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'wchar_t': 1, 'inline': 1, 'delete': 1},
-      'built_in': {'std': 1, 'string': 1, 'cin': 1, 'cout': 1, 'cerr': 1, 'clog': 1, 'stringstream': 1, 'istringstream': 1, 'ostringstream': 1, 'auto_ptr': 1, 'deque': 1, 'list': 1, 'queue': 1, 'stack': 1, 'vector': 1, 'map': 1, 'set': 1, 'bitset': 1, 'multiset': 1, 'multimap': 1}
-    }
-  },
-  modes: [
-    hljs.C_LINE_COMMENT_MODE,
-    hljs.C_BLOCK_COMMENT_MODE,
-    hljs.C_NUMBER_MODE,
-    hljs.QUOTE_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'string',
-      begin: '\'', end: '[^\\\\]\'',
-      illegal: '[^\\\\][^\']'
-    },
-    {
-      className: 'preprocessor',
-      begin: '#', end: '$'
-    }
-  ]
-};
-
-
-/*
-
-Java definition (с) Vsevolod Solovyov <vsevolod.solovyov@gmail.com>
-
-*/
-hljs.LANGUAGES.java  = {
-  defaultMode: {
-    lexems: [hljs.UNDERSCORE_IDENT_RE],
-    contains: ['javadoc', 'comment', 'string', 'class', 'number', 'annotation'],
-    keywords: {'false': 1, 'synchronized': 1, 'int': 1, 'abstract': 1, 'float': 1, 'private': 1, 'char': 1, 'interface': 1, 'boolean': 1, 'static': 1, 'null': 1, 'if': 1, 'const': 1, 'for': 1, 'true': 1, 'while': 1, 'long': 1, 'throw': 1, 'strictfp': 1, 'finally': 1, 'protected': 1, 'extends': 1, 'import': 1, 'native': 1, 'final': 1, 'implements': 1, 'return': 1, 'void': 1, 'enum': 1, 'else': 1, 'break': 1, 'transient': 1, 'new': 1, 'catch': 1, 'instanceof': 1, 'byte': 1, 'super': 1, 'class': 1, 'volatile': 1, 'case': 1, 'assert': 1, 'short': 1, 'package': 1, 'default': 1, 'double': 1, 'public': 1, 'try': 1, 'this': 1, 'switch': 1, 'continue': 1, 'throws': 1}
-  },
-  modes: [
-    {
-      className: 'class',
-      lexems: [hljs.UNDERSCORE_IDENT_RE],
-      begin: '(class |interface )', end: '{', 
-      illegal: ':',
-      keywords: {'class': 1, 'interface': 1},
-      contains: ['inheritance', 'title']
-    },
-    {
-      className: 'inheritance',
-      begin: '(implements|extends)', end: '^',
-      lexems: [hljs.IDENT_RE],
-      keywords: {'extends': 1, 'implements': 1},
-      relevance: 10
-    },
-    {
-      className: 'title',
-      begin: hljs.UNDERSCORE_IDENT_RE, end: '^'
-    },
-    {
-      className: 'params',
-      begin: '\\(', end: '\\)',
-      contains: ['string', 'annotation']
-    },
-    hljs.C_NUMBER_MODE,
-    hljs.APOS_STRING_MODE,
-    hljs.QUOTE_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE,
-    hljs.C_LINE_COMMENT_MODE,
-    {
-      className: 'javadoc',
-      begin: '/\\*\\*', end: '\\*/',
-      contains: ['javadoctag'],
-      relevance: 10
-    },
-    {
-      className: 'javadoctag',
-      begin: '@[A-Za-z]+', end: '^'
-    },
-    hljs.C_BLOCK_COMMENT_MODE,
-    {
-      className: 'annotation',
-      begin: '@[A-Za-z]+', end: '^'
-    }
-  ]
-};
-
-
-hljs.DELPHI_KEYWORDS = {'and': 1, 'safecall': 1, 'cdecl': 1, 'then': 1, 'string': 1, 'exports': 1, 'library': 1, 'not': 1, 'pascal': 1, 'set': 1, 'virtual': 1, 'file': 1, 'in': 1, 'array': 1, 'label': 1, 'packed': 1, 'end.': 1, 'index': 1, 'while': 1, 'const': 1, 'raise': 1, 'for': 1, 'to': 1, 'implementation': 1, 'with': 1, 'except': 1, 'overload': 1, 'destructor': 1, 'downto': 1, 'finally': 1, 'program': 1, 'exit': 1, 'unit': 1, 'inherited': 1, 'override': 1, 'if': 1, 'type': 1, 'until': 1, 'function': 1, 'do': 1, 'begin': 1, 'repeat': 1, 'goto': 1, 'nil': 1, 'far': 1, 'initialization': 1, 'object': 1, 'else': 1, 'var': 1, 'uses': 1, 'external': 1, 'resourcestring': 1, 'interface': 1, 'end': 1, 'finalization': 1, 'class': 1, 'asm': 1, 'mod': 1, 'case': 1, 'on': 1, 'shr': 1, 'shl': 1, 'of': 1, 'register': 1, 'xorwrite': 1, 'threadvar': 1, 'try': 1, 'record': 1, 'near': 1, 'stored': 1, 'constructor': 1, 'stdcall': 1, 'inline': 1, 'div': 1, 'out': 1, 'or': 1, 'procedure': 1};
-hljs.DELPHI_CLASS_KEYWORDS = {'safecall': 1, 'stdcall': 1, 'pascal': 1, 'stored': 1, 'const': 1, 'implementation': 1, 'finalization': 1, 'except': 1, 'to': 1, 'finally': 1, 'program': 1, 'inherited': 1, 'override': 1, 'then': 1, 'exports': 1, 'string': 1, 'read': 1, 'not': 1, 'mod': 1, 'shr': 1, 'try': 1, 'div': 1, 'shl': 1, 'set': 1, 'library': 1, 'message': 1, 'packed': 1, 'index': 1, 'for': 1, 'near': 1, 'overload': 1, 'label': 1, 'downto': 1, 'exit': 1, 'public': 1, 'goto': 1, 'interface': 1, 'asm': 1, 'on': 1, 'of': 1, 'constructor': 1, 'or': 1, 'private': 1, 'array': 1, 'unit': 1, 'raise': 1, 'destructor': 1, 'var': 1, 'type': 1, 'until': 1, 'function': 1, 'else': 1, 'external': 1, 'with': 1, 'case': 1, 'default': 1, 'record': 1, 'while': 1, 'protected': 1, 'property': 1, 'procedure': 1, 'published': 1, 'and': 1, 'cdecl': 1, 'do': 1, 'threadvar': 1, 'file': 1, 'in': 1, 'if': 1, 'end': 1, 'virtual': 1, 'write': 1, 'far': 1, 'out': 1, 'begin': 1, 'repeat': 1, 'nil': 1, 'initialization': 1, 'object': 1, 'uses': 1, 'resourcestring': 1, 'class': 1, 'register': 1, 'xorwrite': 1, 'inline': 1};
-
-hljs.LANGUAGES.delphi = {
-  defaultMode: {
-    lexems: [hljs.IDENT_RE],
-    illegal: '("|\\$[G-Zg-z]|\\/\\*|</)',
-    contains: ['comment', 'string', 'number', 'function', 'class'],
-    keywords: hljs.DELPHI_KEYWORDS
-  },
-  case_insensitive: true,
-  modes: [
-    {
-      className: 'comment',
-      begin: '{', end: '}'
-    },
-    {
-      className: 'comment',
-      begin: '\\(\\*', end: '\\*\\)',
-      relevance: 10
-    },
-    hljs.C_LINE_COMMENT_MODE,
-    {
-      className: 'number',
-      begin: hljs.NUMBER_RE, end: '^',
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '\'', end: '\'',
-      contains: ['quote'],
-      relevance: 0
-    },
-    {
-      className: 'string',
-      begin: '(#\\d+)+', end: '^'
-    },
-    {
-      className: 'quote',
-      begin: '\'\'', end: '^'
-    },
-    {
-      className: 'function',
-      begin: 'function', end: '[:;]',
-      lexems: [hljs.IDENT_RE],
-      keywords: {'function': 1},
-      contains: ['title', 'params', 'comment'],
-      relevance: 0
-    },
-    {
-      className: 'function',
-      begin: '(procedure|constructor|destructor)', end: ';',
-      lexems: [hljs.IDENT_RE],
-      keywords: {'constructor': 1, 'destructor': 1, 'procedure': 1},
-      contains: ['title', 'params', 'comment'],
-      relevance: 10
-    },
-    {
-      className: 'title',
-      begin: hljs.IDENT_RE, end: '^'
-    },
-    {
-      className: 'params',
-      begin: '\\(', end: '\\)',
-      lexems: [hljs.IDENT_RE],
-      keywords: hljs.DELPHI_KEYWORDS,
-      contains: ['string']
-    },
-    {
-      className: 'class',
-      begin: '=\\s*class', end: 'end;',
-      lexems: [hljs.IDENT_RE],
-      keywords: hljs.DELPHI_CLASS_KEYWORDS,
-      contains: ['string', 'comment', 'function']
-    }
-  ]
-};

File static/js/languages/vbscript.js

-/*
-
-VBScript definition (c) Nikita Ledyaev <lenikita@yandex.ru>
-
-*/
-hljs.LANGUAGES.vbscript = {
-  defaultMode: {
-    lexems: [hljs.IDENT_RE],
-    contains: ['string', 'comment', 'number', 'built_in'],
-    keywords: {
-      'keyword': {'call' : 1,'class' : 1,'const' : 1,'dim' : 1,'do' : 1,'loop' : 1,'erase' : 1,'execute' : 1,'executeglobal' : 1,'exit' : 1,'for' : 1,'each' : 1,'next' : 1,'function' : 1,'if' : 1,'then' : 1,'else' : 1,'on' : 1, 'error' : 1,'option' : 1, 'explicit' : 1,'private' : 1,'property' : 1,'let' : 1,'get' : 1,'public' : 1,'randomize' : 1,'redim' : 1,'rem' : 1,'select' : 1,'case' : 1,'set' : 1,'stop' : 1,'sub' : 1,'while' : 1,'wend' : 1,'with' : 1, 'end' : 1, 'to' : 1},
-      'built_in': {'lcase': 1, 'month': 1, 'vartype': 1, 'instrrev': 1, 'ubound': 1, 'setlocale': 1, 'getobject': 1, 'rgb': 1, 'getref': 1, 'string': 1, 'weekdayname': 1, 'rnd': 1, 'dateadd': 1, 'monthname': 1, 'now': 1, 'day': 1, 'minute': 1, 'isarray': 1, 'cbool': 1, 'round': 1, 'formatcurrency': 1, 'conversions': 1, 'csng': 1, 'timevalue': 1, 'second': 1, 'year': 1, 'space': 1, 'abs': 1, 'clng': 1, 'timeserial': 1, 'fixs': 1, 'len': 1, 'asc': 1, 'isempty': 1, 'maths': 1, 'dateserial': 1, 'atn': 1, 'timer': 1, 'isobject': 1, 'filter': 1, 'weekday': 1, 'datevalue': 1, 'ccur': 1, 'isdate': 1, 'instr': 1, 'datediff': 1, 'formatdatetime': 1, 'replace': 1, 'isnull': 1, 'right': 1, 'sgn': 1, 'array': 1, 'snumeric': 1, 'log': 1, 'cdbl': 1, 'hex': 1, 'chr': 1, 'lbound': 1, 'msgbox': 1, 'ucase': 1, 'getlocale': 1, 'cos': 1, 'cdate': 1, 'cbyte': 1, 'rtrim': 1, 'join': 1, 'hour': 1, 'oct': 1, 'typename': 1, 'trim': 1, 'strcomp': 1, 'int': 1, 'createobject': 1, 'loadpicture': 1, 'tan': 1, 'formatnumber': 1, 'mid': 1, 'scriptenginebuildversion': 1, 'scriptengine': 1, 'split': 1, 'scriptengineminorversion': 1, 'cint': 1, 'sin': 1, 'datepart': 1, 'ltrim': 1, 'sqr': 1, 'scriptenginemajorversion': 1, 'time': 1, 'derived': 1, 'eval': 1, 'date': 1, 'formatpercent': 1, 'exp': 1, 'inputbox': 1, 'left': 1}
-    }
-  },
-  case_insensitive: true,
-  modes: [
-    hljs.QUOTE_STRING_MODE,
-    hljs.BACKSLASH_ESCAPE,
-    {
-      className: 'comment',
-      begin: '\'', end: '$'
-    },
-    hljs.C_NUMBER_MODE
-  ]
-};

File static/js/languages/www.js

-hljs.XML_COMMENT = {
-  className: 'comment',
-  begin: '<!--', end: '-->'
-};
-hljs.XML_ATTR = {
-  className: 'attribute',
-  begin: ' [a-zA-Z\\:-]+=', end: '^',
-  contains: ['value']
-};
-hljs.XML_VALUE = {
-  className: 'value',
-  begin: '"', end: '"'
-};
-
-hljs.LANGUAGES.xml = {
-  defaultMode: {
-    contains: ['pi', 'comment', 'cdata', 'tag']
-  },
-  case_insensitive: true,
-  modes: [
-    {
-      className: 'pi',
-      begin: '<\\?', end: '\\?>',
-      relevance: 10
-    },
-    hljs.XML_COMMENT,
-    {
-      className: 'cdata',
-      begin: '<\\!\\[CDATA\\[', end: '\\]\\]>'
-    },
-    {
-      className: 'tag',
-      begin: '</?', end: '>',
-      contains: ['title', 'tag_internal'],
-      relevance: 1.5
-    },
-    {
-      className: 'title',
-      begin: '[A-Za-z:_][A-Za-z0-9\\._:-]+', end: '^',
-      relevance: 0
-    },
-    {
-      className: 'tag_internal',
-      begin: '^', endsWithParent: true,
-      contains: ['attribute'],
-      relevance: 0,
-      illegal: '[\\+\\.]'
-    },
-    hljs.XML_ATTR,
-    hljs.XML_VALUE
-  ]
-};
-
-hljs.HTML_TAGS = {'code': 1, 'kbd': 1, 'font': 1, 'noscript': 1, 'style': 1, 'img': 1, 'title': 1, 'menu': 1, 'tt': 1, 'tr': 1, 'param': 1, 'li': 1, 'tfoot': 1, 'th': 1, 'input': 1, 'td': 1, 'dl': 1, 'blockquote': 1, 'fieldset': 1, 'big': 1, 'dd': 1, 'abbr': 1, 'optgroup': 1, 'dt': 1, 'button': 1, 'isindex': 1, 'p': 1, 'small': 1, 'div': 1, 'dir': 1, 'em': 1, 'frame': 1, 'meta': 1, 'sub': 1, 'bdo': 1, 'label': 1, 'acronym': 1, 'sup': 1, 'body': 1, 'xml': 1, 'basefont': 1, 'base': 1, 'br': 1, 'address': 1, 'strong': 1, 'legend': 1, 'ol': 1, 'script': 1, 'caption': 1, 's': 1, 'col': 1, 'h2': 1, 'h3': 1, 'h1': 1, 'h6': 1, 'h4': 1, 'h5': 1, 'table': 1, 'select': 1, 'noframes': 1, 'span': 1, 'area': 1, 'dfn': 1, 'strike': 1, 'cite': 1, 'thead': 1, 'head': 1, 'option': 1, 'form': 1, 'hr': 1, 'var': 1, 'link': 1, 'b': 1, 'colgroup': 1, 'ul': 1, 'applet': 1, 'del': 1, 'iframe': 1, 'pre': 1, 'frameset': 1, 'ins': 1, 'tbody': 1, 'html': 1, 'samp': 1, 'map': 1, 'object': 1, 'a': 1, 'xmlns': 1, 'center': 1, 'textarea': 1, 'i': 1, 'q': 1, 'u': 1};
-hljs.HTML_DOCTYPE = {
-  className: 'doctype',
-  begin: '<!DOCTYPE', end: '>',
-  relevance: 10
-};
-hljs.HTML_ATTR = {
-  className: 'attribute',
-  begin: ' [a-zA-Z]+', end: '^'
-};
-hljs.HTML_VALUE = {
-  className: 'value',
-  begin: '[a-zA-Z0-9]+', end: '^'
-};
-
-hljs.LANGUAGES.html = {
-  defaultMode: {
-    contains: ['tag', 'comment', 'doctype']
-  },
-  case_insensitive: true,
-  modes: [
-    hljs.XML_COMMENT,
-    hljs.HTML_DOCTYPE,
-    {
-      className: 'tag',
-      lexems: [hljs.IDENT_RE],
-      keywords: hljs.HTML_TAGS,
-      begin: '<style', end: '>',
-      contains: ['attribute'],
-      illegal: '[\\+\\.]',
-      starts: 'css'
-    },
-    {
-      className: 'tag',
-      lexems: [hljs.IDENT_RE],
-      keywords: hljs.HTML_TAGS,
-      begin: '<script', end: '>',
-      contains: ['attribute'],
-      illegal: '[\\+\\.]',
-      starts: 'javascript'
-    },
-    {
-      className: 'tag',
-      lexems: [hljs.IDENT_RE],
-      keywords: hljs.HTML_TAGS,
-      begin: '<[A-Za-z/]', end: '>',
-      contains: ['attribute'],
-      illegal: '[\\+\\.]'
-    },
-    {
-      className: 'css',
-      end: '</style>', returnEnd: true,
-      subLanguage: 'css'
-    },
-    {
-      className: 'javascript',
-      end: '</script>', returnEnd: true,
-      subLanguage: 'javascript'
-    },
-    hljs.XML_ATTR,
-    hljs.HTML_ATTR,
-    hljs.XML_VALUE,
-    hljs.HTML_VALUE
-  ]
-};
-
-hljs.LANGUAGES.css = {
-  defaultMode: {
-    contains: ['id', 'class', 'attr_selector', 'rules', 'comment'],
-    keywords: hljs.HTML_TAGS,
-    lexems: [hljs.IDENT_RE],
-    illegal: '='
-  },
-  case_insensitive: true,
-  modes: [
-    {
-      className: 'id',
-      begin: '\\#[A-Za-z0-9_-]+', end: '^'
-    },
-    {
-      className: 'class',
-      begin: '\\.[A-Za-z0-9_-]+', end: '^',
-      relevance: 0
-    },
-    {
-      className: 'attr_selector',
-      begin: '\\[', end: '\\]',
-      illegal: '$'
-    },
-    {
-      className: 'rules',
-      begin: '{', end: '}',
-      contains: ['rule', 'comment'],
-      illegal: '[^\\s]'
-    },
-    {
-      className: 'rule',