highlight.js
Advanced tools
| module.exports = function (hljs) { | ||
| var SUBST = { | ||
| className: 'subst', | ||
| begin: '\\$\\{', end: '}', | ||
| keywords: 'true false null this is new super' | ||
| }; | ||
| var STRING = { | ||
| className: 'string', | ||
| variants: [ | ||
| { | ||
| begin: 'r\'\'\'', end: '\'\'\'' | ||
| }, | ||
| { | ||
| begin: 'r"""', end: '"""' | ||
| }, | ||
| { | ||
| begin: 'r\'', end: '\'', | ||
| illegal: '\\n' | ||
| }, | ||
| { | ||
| begin: 'r"', end: '"', | ||
| illegal: '\\n' | ||
| }, | ||
| { | ||
| begin: '\'\'\'', end: '\'\'\'', | ||
| contains: [hljs.BACKSLASH_ESCAPE, SUBST] | ||
| }, | ||
| { | ||
| begin: '"""', end: '"""', | ||
| contains: [hljs.BACKSLASH_ESCAPE, SUBST] | ||
| }, | ||
| { | ||
| begin: '\'', end: '\'', | ||
| illegal: '\\n', | ||
| contains: [hljs.BACKSLASH_ESCAPE, SUBST] | ||
| }, | ||
| { | ||
| begin: '"', end: '"', | ||
| illegal: '\\n', | ||
| contains: [hljs.BACKSLASH_ESCAPE, SUBST] | ||
| } | ||
| ] | ||
| }; | ||
| SUBST.contains = [ | ||
| hljs.C_NUMBER_MODE, STRING | ||
| ]; | ||
| var KEYWORDS = { | ||
| keyword: 'assert break case catch class const continue default do else enum extends false final finally for if ' + | ||
| 'in is new null rethrow return super switch this throw true try var void while with', | ||
| literal: 'abstract as dynamic export external factory get implements import library operator part set static typedef', | ||
| built_in: | ||
| // dart:core | ||
| 'print Comparable DateTime Duration Function Iterable Iterator List Map Match Null Object Pattern RegExp Set ' + | ||
| 'Stopwatch String StringBuffer StringSink Symbol Type Uri bool double int num ' + | ||
| // dart:html | ||
| 'document window querySelector querySelectorAll Element ElementList' | ||
| }; | ||
| return { | ||
| keywords: KEYWORDS, | ||
| contains: [ | ||
| STRING, | ||
| { | ||
| className: 'dartdoc', | ||
| begin: '/\\*\\*', end: '\\*/', | ||
| subLanguage: 'markdown', | ||
| subLanguageMode: 'continuous' | ||
| }, | ||
| { | ||
| className: 'dartdoc', | ||
| begin: '///', end: '$', | ||
| subLanguage: 'markdown', | ||
| subLanguageMode: 'continuous' | ||
| }, | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE, | ||
| { | ||
| className: 'class', | ||
| beginKeywords: 'class interface', end: '{', excludeEnd: true, | ||
| contains: [ | ||
| { | ||
| beginKeywords: 'extends implements' | ||
| }, | ||
| hljs.UNDERSCORE_TITLE_MODE | ||
| ] | ||
| }, | ||
| hljs.C_NUMBER_MODE, | ||
| { | ||
| className: 'annotation', begin: '@[A-Za-z]+' | ||
| }, | ||
| { | ||
| begin: '=>' // No markup, just a relevance booster | ||
| } | ||
| ] | ||
| } | ||
| }; |
| module.exports = function(hljs) { | ||
| var EXPRESSION_KEYWORDS = 'if eq ne lt lte gt gte select default math sep'; | ||
| return { | ||
| aliases: ['dst'], | ||
| case_insensitive: true, | ||
| subLanguage: 'xml', subLanguageMode: 'continuous', | ||
| contains: [ | ||
| { | ||
| className: 'expression', | ||
| begin: '{', end: '}', | ||
| relevance: 0, | ||
| contains: [ | ||
| { | ||
| className: 'begin-block', begin: '\#[a-zA-Z\-\ \.]+', | ||
| keywords: EXPRESSION_KEYWORDS | ||
| }, | ||
| { | ||
| className: 'string', | ||
| begin: '"', end: '"' | ||
| }, | ||
| { | ||
| className: 'end-block', begin: '\\\/[a-zA-Z\-\ \.]+', | ||
| keywords: EXPRESSION_KEYWORDS | ||
| }, | ||
| { | ||
| className: 'variable', begin: '[a-zA-Z\-\.]+', | ||
| keywords: EXPRESSION_KEYWORDS, | ||
| relevance: 0 | ||
| } | ||
| ] | ||
| } | ||
| ] | ||
| }; | ||
| }; |
| module.exports = function(hljs) { | ||
| var GCODE_IDENT_RE = '[A-Z_][A-Z0-9_.]*'; | ||
| var GCODE_CLOSE_RE = '\\%'; | ||
| var GCODE_KEYWORDS = { | ||
| literal: | ||
| '', | ||
| built_in: | ||
| '', | ||
| keyword: | ||
| 'IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT ' + | ||
| 'EQ LT GT NE GE LE OR XOR' | ||
| }; | ||
| var GCODE_START = { | ||
| className: 'preprocessor', | ||
| begin: '([O])([0-9]+)' | ||
| }; | ||
| var GCODE_CODE = [ | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| { | ||
| className: 'comment', | ||
| begin: /\(/, end: /\)/, | ||
| contains: [hljs.PHRASAL_WORDS_MODE] | ||
| }, | ||
| hljs.C_BLOCK_COMMENT_MODE, | ||
| hljs.inherit(hljs.C_NUMBER_MODE, {begin: '([-+]?([0-9]*\\.?[0-9]+\\.?))|' + hljs.C_NUMBER_RE}), | ||
| hljs.inherit(hljs.APOS_STRING_MODE, {illegal: null}), | ||
| hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null}), | ||
| { | ||
| className: 'keyword', | ||
| begin: '([G])([0-9]+\\.?[0-9]?)' | ||
| }, | ||
| { | ||
| className: 'title', | ||
| begin: '([M])([0-9]+\\.?[0-9]?)' | ||
| }, | ||
| { | ||
| className: 'title', | ||
| begin: '(VC|VS|#)', | ||
| end: '(\\d+)' | ||
| }, | ||
| { | ||
| className: 'title', | ||
| begin: '(VZOFX|VZOFY|VZOFZ)' | ||
| }, | ||
| { | ||
| className: 'built_in', | ||
| begin: '(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)', | ||
| end: '([-+]?([0-9]*\\.?[0-9]+\\.?))(\\])' | ||
| }, | ||
| { | ||
| className: 'label', | ||
| variants: [ | ||
| { | ||
| begin: 'N', end: '\\d+', | ||
| illegal: '\\W' | ||
| } | ||
| ] | ||
| } | ||
| ]; | ||
| return { | ||
| aliases: ['nc'], | ||
| // Some implementations (CNC controls) of G-code are interoperable with uppercase and lowercase letters seamlessly. | ||
| // However, most prefer all uppercase and uppercase is customary. | ||
| case_insensitive: true, | ||
| lexemes: GCODE_IDENT_RE, | ||
| keywords: GCODE_KEYWORDS, | ||
| contains: [ | ||
| { | ||
| className: 'preprocessor', | ||
| begin: GCODE_CLOSE_RE | ||
| }, | ||
| GCODE_START | ||
| ].concat(GCODE_CODE) | ||
| }; | ||
| }; |
| module.exports = function(hljs) { | ||
| return { | ||
| keywords: { | ||
| typename: 'byte short char int long boolean float double void', | ||
| literal : 'true false null', | ||
| keyword: | ||
| // groovy specific keywords | ||
| 'def as in assert trait ' + | ||
| // common keywords with Java | ||
| 'super this abstract static volatile transient public private protected synchronized final ' + | ||
| 'class interface enum if else for while switch case break default continue ' + | ||
| 'throw throws try catch finally implements extends new import package return instanceof' | ||
| }, | ||
| contains: [ | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| { | ||
| className: 'javadoc', | ||
| begin: '/\\*\\*', end: '\\*//*', | ||
| contains: [ | ||
| { | ||
| className: 'javadoctag', begin: '@[A-Za-z]+' | ||
| } | ||
| ] | ||
| }, | ||
| hljs.C_BLOCK_COMMENT_MODE, | ||
| { | ||
| className: 'string', | ||
| begin: '"""', end: '"""' | ||
| }, | ||
| { | ||
| className: 'string', | ||
| begin: "'''", end: "'''" | ||
| }, | ||
| { | ||
| className: 'string', | ||
| begin: "\\$/", end: "/\\$", | ||
| relevance: 10 | ||
| }, | ||
| hljs.APOS_STRING_MODE, | ||
| { | ||
| className: 'regexp', | ||
| begin: /~?\/[^\/\n]+\//, | ||
| contains: [ | ||
| hljs.BACKSLASH_ESCAPE | ||
| ] | ||
| }, | ||
| hljs.QUOTE_STRING_MODE, | ||
| { | ||
| className: 'shebang', | ||
| begin: "^#!/usr/bin/env", end: '$', | ||
| illegal: '\n' | ||
| }, | ||
| hljs.BINARY_NUMBER_MODE, | ||
| { | ||
| className: 'class', | ||
| beginKeywords: 'class interface trait enum', end: '{', | ||
| illegal: ':', | ||
| contains: [ | ||
| {beginKeywords: 'extends implements'}, | ||
| hljs.UNDERSCORE_TITLE_MODE, | ||
| ] | ||
| }, | ||
| hljs.C_NUMBER_MODE, | ||
| { | ||
| className: 'annotation', begin: '@[A-Za-z]+' | ||
| }, | ||
| { | ||
| // highlight map keys and named parameters as strings | ||
| className: 'string', begin: /[^\?]{0}[A-Za-z0-9_$]+ *:/ | ||
| }, | ||
| { | ||
| // catch middle element of the ternary operator | ||
| // to avoid highlight it as a label, named parameter, or map key | ||
| begin: /\?/, end: /\:/ | ||
| }, | ||
| { | ||
| // highlight labeled statements | ||
| className: 'label', begin: '^\\s*[A-Za-z0-9_$]+:' | ||
| }, | ||
| ] | ||
| } | ||
| }; |
| module.exports = function(hljs) { | ||
| var Q_KEYWORDS = { | ||
| keyword: | ||
| 'do while select delete by update from', | ||
| constant: | ||
| '0b 1b', | ||
| built_in: | ||
| 'neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum', | ||
| typename: | ||
| '`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid' | ||
| }; | ||
| return { | ||
| aliases:['k', 'kdb'], | ||
| keywords: Q_KEYWORDS, | ||
| lexemes: /\b(`?)[A-Za-z0-9_]+\b/, | ||
| contains: [ | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| hljs.QUOTE_STRING_MODE, | ||
| hljs.C_NUMBER_MODE | ||
| ] | ||
| }; | ||
| }; |
| module.exports = function(hljs) { | ||
| var SCHEME_IDENT_RE = '[^\\(\\)\\[\\]\\{\\}",\'`;#|\\\\\\s]+'; | ||
| var SCHEME_SIMPLE_NUMBER_RE = '(\\-|\\+)?\\d+([./]\\d+)?'; | ||
| var SCHEME_COMPLEX_NUMBER_RE = SCHEME_SIMPLE_NUMBER_RE + '[+\\-]' + SCHEME_SIMPLE_NUMBER_RE + 'i'; | ||
| var BUILTINS = { | ||
| built_in: | ||
| 'case-lambda call/cc class define-class exit-handler field import ' + | ||
| 'inherit init-field interface let*-values let-values let/ec mixin ' + | ||
| 'opt-lambda override protect provide public rename require ' + | ||
| 'require-for-syntax syntax syntax-case syntax-error unit/sig unless ' + | ||
| 'when with-syntax and begin call-with-current-continuation ' + | ||
| 'call-with-input-file call-with-output-file case cond define ' + | ||
| 'define-syntax delay do dynamic-wind else for-each if lambda let let* ' + | ||
| 'let-syntax letrec letrec-syntax map or syntax-rules \' * + , ,@ - ... / ' + | ||
| '; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan ' + | ||
| 'boolean? caar cadr call-with-input-file call-with-output-file ' + | ||
| 'call-with-values car cdddar cddddr cdr ceiling char->integer ' + | ||
| 'char-alphabetic? char-ci<=? char-ci<? char-ci=? char-ci>=? char-ci>? ' + | ||
| 'char-downcase char-lower-case? char-numeric? char-ready? char-upcase ' + | ||
| 'char-upper-case? char-whitespace? char<=? char<? char=? char>=? char>? ' + | ||
| 'char? close-input-port close-output-port complex? cons cos ' + | ||
| 'current-input-port current-output-port denominator display eof-object? ' + | ||
| 'eq? equal? eqv? eval even? exact->inexact exact? exp expt floor ' + | ||
| 'force gcd imag-part inexact->exact inexact? input-port? integer->char ' + | ||
| 'integer? interaction-environment lcm length list list->string ' + | ||
| 'list->vector list-ref list-tail list? load log magnitude make-polar ' + | ||
| 'make-rectangular make-string make-vector max member memq memv min ' + | ||
| 'modulo negative? newline not null-environment null? number->string ' + | ||
| 'number? numerator odd? open-input-file open-output-file output-port? ' + | ||
| 'pair? peek-char port? positive? procedure? quasiquote quote quotient ' + | ||
| 'rational? rationalize read read-char real-part real? remainder reverse ' + | ||
| 'round scheme-report-environment set! set-car! set-cdr! sin sqrt string ' + | ||
| 'string->list string->number string->symbol string-append string-ci<=? ' + | ||
| 'string-ci<? string-ci=? string-ci>=? string-ci>? string-copy ' + | ||
| 'string-fill! string-length string-ref string-set! string<=? string<? ' + | ||
| 'string=? string>=? string>? string? substring symbol->string symbol? ' + | ||
| 'tan transcript-off transcript-on truncate values vector ' + | ||
| 'vector->list vector-fill! vector-length vector-ref vector-set! ' + | ||
| 'with-input-from-file with-output-to-file write write-char zero?' | ||
| }; | ||
| var SHEBANG = { | ||
| className: 'shebang', | ||
| begin: '^#!', | ||
| end: '$' | ||
| }; | ||
| var LITERAL = { | ||
| className: 'literal', | ||
| begin: '(#t|#f|#\\\\' + SCHEME_IDENT_RE + '|#\\\\.)' | ||
| }; | ||
| var NUMBER = { | ||
| className: 'number', | ||
| variants: [ | ||
| { begin: SCHEME_SIMPLE_NUMBER_RE, relevance: 0 }, | ||
| { begin: SCHEME_COMPLEX_NUMBER_RE, relevance: 0 }, | ||
| { begin: '#b[0-1]+(/[0-1]+)?' }, | ||
| { begin: '#o[0-7]+(/[0-7]+)?' }, | ||
| { begin: '#x[0-9a-f]+(/[0-9a-f]+)?' } | ||
| ] | ||
| }; | ||
| var STRING = hljs.QUOTE_STRING_MODE; | ||
| var REGULAR_EXPRESSION = { | ||
| className: 'regexp', | ||
| begin: '#[pr]x"', | ||
| end: '[^\\\\]"' | ||
| }; | ||
| var COMMENT = { | ||
| className: 'comment', | ||
| variants: [ | ||
| { begin: ';', end: '$', relevance: 0 }, | ||
| { begin: '#\\|', end: '\\|#' } | ||
| ] | ||
| }; | ||
| var IDENT = { | ||
| begin: SCHEME_IDENT_RE, | ||
| relevance: 0 | ||
| }; | ||
| var QUOTED_IDENT = { | ||
| className: 'variable', | ||
| begin: '\'' + SCHEME_IDENT_RE | ||
| }; | ||
| var BODY = { | ||
| endsWithParent: true, | ||
| relevance: 0 | ||
| }; | ||
| var LIST = { | ||
| className: 'list', | ||
| variants: [ | ||
| { begin: '\\(', end: '\\)' }, | ||
| { begin: '\\[', end: '\\]' } | ||
| ], | ||
| contains: [ | ||
| { | ||
| className: 'keyword', | ||
| begin: SCHEME_IDENT_RE, | ||
| lexemes: SCHEME_IDENT_RE, | ||
| keywords: BUILTINS | ||
| }, | ||
| BODY | ||
| ] | ||
| }; | ||
| BODY.contains = [LITERAL, NUMBER, STRING, COMMENT, IDENT, QUOTED_IDENT, LIST]; | ||
| return { | ||
| illegal: /\S/, | ||
| contains: [SHEBANG, NUMBER, STRING, COMMENT, QUOTED_IDENT, LIST] | ||
| }; | ||
| }; |
+141
| /* | ||
| Date: 17.V.2011 | ||
| Author: pumbur <pumbur@pumbur.net> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #222; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .profile .hljs-header *, | ||
| .ini .hljs-title, | ||
| .nginx .hljs-title { | ||
| color: #fff; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-javadoc, | ||
| .hljs-preprocessor, | ||
| .hljs-preprocessor .hljs-title, | ||
| .hljs-pragma, | ||
| .hljs-shebang, | ||
| .profile .hljs-summary, | ||
| .diff, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-tag, | ||
| .hljs-template_comment, | ||
| .css .hljs-rules, | ||
| .tex .hljs-special { | ||
| color: #444; | ||
| } | ||
| .hljs-string, | ||
| .hljs-symbol, | ||
| .diff .hljs-change, | ||
| .hljs-regexp, | ||
| .xml .hljs-attribute, | ||
| .smalltalk .hljs-char, | ||
| .xml .hljs-value, | ||
| .ini .hljs-value, | ||
| .clojure .hljs-attribute, | ||
| .coffeescript .hljs-attribute { | ||
| color: #ffcc33; | ||
| } | ||
| .hljs-number, | ||
| .hljs-addition { | ||
| color: #00cc66; | ||
| } | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-type, | ||
| .hljs-typename, | ||
| .go .hljs-constant, | ||
| .ini .hljs-keyword, | ||
| .lua .hljs-title, | ||
| .perl .hljs-variable, | ||
| .php .hljs-variable, | ||
| .mel .hljs-variable, | ||
| .django .hljs-variable, | ||
| .css .funtion, | ||
| .smalltalk .method, | ||
| .hljs-hexcolor, | ||
| .hljs-important, | ||
| .hljs-flow, | ||
| .hljs-inheritance, | ||
| .parser3 .hljs-variable { | ||
| color: #32aaee; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-tag .hljs-title, | ||
| .css .hljs-tag, | ||
| .css .hljs-class, | ||
| .css .hljs-id, | ||
| .css .hljs-pseudo, | ||
| .css .hljs-attr_selector, | ||
| .hljs-winutils, | ||
| .tex .hljs-command, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| color: #6644aa; | ||
| } | ||
| .hljs-title, | ||
| .ruby .hljs-constant, | ||
| .vala .hljs-constant, | ||
| .hljs-parent, | ||
| .hljs-deletion, | ||
| .hljs-template_tag, | ||
| .css .hljs-keyword, | ||
| .objectivec .hljs-class .hljs-id, | ||
| .smalltalk .hljs-class, | ||
| .lisp .hljs-keyword, | ||
| .apache .hljs-tag, | ||
| .nginx .hljs-variable, | ||
| .hljs-envvar, | ||
| .bash .hljs-variable, | ||
| .go .hljs-built_in, | ||
| .vbscript .hljs-built_in, | ||
| .lua .hljs-built_in, | ||
| .rsl .hljs-built_in, | ||
| .tail, | ||
| .avrasm .hljs-label, | ||
| .tex .hljs-formula, | ||
| .tex .hljs-formula * { | ||
| color: #bb1166; | ||
| } | ||
| .hljs-yardoctag, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .profile .hljs-header, | ||
| .ini .hljs-title, | ||
| .apache .hljs-tag, | ||
| .parser3 .hljs-title { | ||
| font-weight: bold; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.6; | ||
| } | ||
| .hljs, | ||
| .hljs-subst, | ||
| .diff .hljs-chunk, | ||
| .css .hljs-value, | ||
| .css .hljs-attribute { | ||
| color: #aaa; | ||
| } |
| /* | ||
| Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: white; | ||
| color: black; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-addition, | ||
| .hljs-change, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .nginx .hljs-built_in, | ||
| .tex .hljs-formula { | ||
| color: #888; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .hljs-shebang, | ||
| .hljs-doctype, | ||
| .hljs-pi, | ||
| .hljs-javadoc, | ||
| .hljs-deletion, | ||
| .apache .hljs-sqbracket { | ||
| color: #ccc; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-tag .hljs-title, | ||
| .ini .hljs-title, | ||
| .lisp .hljs-title, | ||
| .http .hljs-title, | ||
| .nginx .hljs-title, | ||
| .css .hljs-tag, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .apache .hljs-tag, | ||
| .tex .hljs-command, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| } |
| /* Base16 Atelier Dune Dark - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Dune Dark Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #999580; | ||
| } | ||
| /* Atelier Dune Dark Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #d73737; | ||
| } | ||
| /* Atelier Dune Dark Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #b65611; | ||
| } | ||
| /* Atelier Dune Dark Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #cfb017; | ||
| } | ||
| /* Atelier Dune Dark Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #60ac39; | ||
| } | ||
| /* Atelier Dune Dark Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #1fad83; | ||
| } | ||
| /* Atelier Dune Dark Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #6684e1; | ||
| } | ||
| /* Atelier Dune Dark Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #b854d4; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #292824; | ||
| color: #a6a28c; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Dune Light - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Dune Light Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #7d7a68; | ||
| } | ||
| /* Atelier Dune Light Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #d73737; | ||
| } | ||
| /* Atelier Dune Light Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #b65611; | ||
| } | ||
| /* Atelier Dune Light Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #cfb017; | ||
| } | ||
| /* Atelier Dune Light Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #60ac39; | ||
| } | ||
| /* Atelier Dune Light Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #1fad83; | ||
| } | ||
| /* Atelier Dune Light Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #6684e1; | ||
| } | ||
| /* Atelier Dune Light Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #b854d4; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #fefbec; | ||
| color: #6e6b5e; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Forest Dark - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Forest Dark Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #9c9491; | ||
| } | ||
| /* Atelier Forest Dark Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #f22c40; | ||
| } | ||
| /* Atelier Forest Dark Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #df5320; | ||
| } | ||
| /* Atelier Forest Dark Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #d5911a; | ||
| } | ||
| /* Atelier Forest Dark Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #5ab738; | ||
| } | ||
| /* Atelier Forest Dark Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #00ad9c; | ||
| } | ||
| /* Atelier Forest Dark Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #407ee7; | ||
| } | ||
| /* Atelier Forest Dark Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #6666ea; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #2c2421; | ||
| color: #a8a19f; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Forest Light - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Forest Light Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #766e6b; | ||
| } | ||
| /* Atelier Forest Light Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #f22c40; | ||
| } | ||
| /* Atelier Forest Light Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #df5320; | ||
| } | ||
| /* Atelier Forest Light Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #d5911a; | ||
| } | ||
| /* Atelier Forest Light Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #5ab738; | ||
| } | ||
| /* Atelier Forest Light Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #00ad9c; | ||
| } | ||
| /* Atelier Forest Light Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #407ee7; | ||
| } | ||
| /* Atelier Forest Light Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #6666ea; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #f1efee; | ||
| color: #68615e; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Heath Dark - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Heath Dark Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #9e8f9e; | ||
| } | ||
| /* Atelier Heath Dark Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #ca402b; | ||
| } | ||
| /* Atelier Heath Dark Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #a65926; | ||
| } | ||
| /* Atelier Heath Dark Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #bb8a35; | ||
| } | ||
| /* Atelier Heath Dark Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #379a37; | ||
| } | ||
| /* Atelier Heath Dark Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #159393; | ||
| } | ||
| /* Atelier Heath Dark Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #516aec; | ||
| } | ||
| /* Atelier Heath Dark Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #7b59c0; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #292329; | ||
| color: #ab9bab; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Heath Light - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Heath Light Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #776977; | ||
| } | ||
| /* Atelier Heath Light Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #ca402b; | ||
| } | ||
| /* Atelier Heath Light Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #a65926; | ||
| } | ||
| /* Atelier Heath Light Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #bb8a35; | ||
| } | ||
| /* Atelier Heath Light Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #379a37; | ||
| } | ||
| /* Atelier Heath Light Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #159393; | ||
| } | ||
| /* Atelier Heath Light Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #516aec; | ||
| } | ||
| /* Atelier Heath Light Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #7b59c0; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #f7f3f7; | ||
| color: #695d69; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Lakeside Dark - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Lakeside Dark Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #7195a8; | ||
| } | ||
| /* Atelier Lakeside Dark Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #d22d72; | ||
| } | ||
| /* Atelier Lakeside Dark Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #935c25; | ||
| } | ||
| /* Atelier Lakeside Dark Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #8a8a0f; | ||
| } | ||
| /* Atelier Lakeside Dark Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #568c3b; | ||
| } | ||
| /* Atelier Lakeside Dark Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #2d8f6f; | ||
| } | ||
| /* Atelier Lakeside Dark Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #257fad; | ||
| } | ||
| /* Atelier Lakeside Dark Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #5d5db1; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #1f292e; | ||
| color: #7ea2b4; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Lakeside Light - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside/) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Lakeside Light Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #5a7b8c; | ||
| } | ||
| /* Atelier Lakeside Light Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #d22d72; | ||
| } | ||
| /* Atelier Lakeside Light Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #935c25; | ||
| } | ||
| /* Atelier Lakeside Light Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #8a8a0f; | ||
| } | ||
| /* Atelier Lakeside Light Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #568c3b; | ||
| } | ||
| /* Atelier Lakeside Light Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #2d8f6f; | ||
| } | ||
| /* Atelier Lakeside Light Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #257fad; | ||
| } | ||
| /* Atelier Lakeside Light Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #5d5db1; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #ebf8ff; | ||
| color: #516d7b; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Seaside Dark - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Seaside Dark Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #809980; | ||
| } | ||
| /* Atelier Seaside Dark Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #e6193c; | ||
| } | ||
| /* Atelier Seaside Dark Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #87711d; | ||
| } | ||
| /* Atelier Seaside Dark Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #c3c322; | ||
| } | ||
| /* Atelier Seaside Dark Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #29a329; | ||
| } | ||
| /* Atelier Seaside Dark Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #1999b3; | ||
| } | ||
| /* Atelier Seaside Dark Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #3d62f5; | ||
| } | ||
| /* Atelier Seaside Dark Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #ad2bee; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #242924; | ||
| color: #8ca68c; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Base16 Atelier Seaside Light - Theme */ | ||
| /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside/) */ | ||
| /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ | ||
| /* https://github.com/jmblog/color-themes-for-highlightjs */ | ||
| /* Atelier Seaside Light Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #687d68; | ||
| } | ||
| /* Atelier Seaside Light Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #e6193c; | ||
| } | ||
| /* Atelier Seaside Light Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #87711d; | ||
| } | ||
| /* Atelier Seaside Light Yellow */ | ||
| .hljs-ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #c3c322; | ||
| } | ||
| /* Atelier Seaside Light Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #29a329; | ||
| } | ||
| /* Atelier Seaside Light Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #1999b3; | ||
| } | ||
| /* Atelier Seaside Light Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #3d62f5; | ||
| } | ||
| /* Atelier Seaside Light Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #ad2bee; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #f0fff0; | ||
| color: #5e6e5e; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Brown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background:#b7a68e url(./brown_papersq.png); | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .hljs-change, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .nginx .hljs-title, | ||
| .tex .hljs-special, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| color:#005599; | ||
| font-weight:bold; | ||
| } | ||
| .hljs, | ||
| .hljs-subst, | ||
| .hljs-tag .hljs-keyword { | ||
| color: #363c69; | ||
| } | ||
| .hljs-string, | ||
| .hljs-title, | ||
| .hljs-type, | ||
| .hljs-tag .hljs-value, | ||
| .css .hljs-rules .hljs-value, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .ruby .hljs-class .hljs-parent, | ||
| .hljs-built_in, | ||
| .django .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoc, | ||
| .ruby .hljs-string, | ||
| .django .hljs-filter .hljs-argument, | ||
| .smalltalk .hljs-localvars, | ||
| .smalltalk .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-addition, | ||
| .hljs-stream, | ||
| .hljs-envvar, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-number { | ||
| color: #2c009f; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-decorator, | ||
| .hljs-template_comment, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in, | ||
| .tex .hljs-formula { | ||
| color: #802022; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .css .hljs-id, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-title, | ||
| .hljs-type, | ||
| .vbscript .hljs-built_in, | ||
| .rsl .hljs-built_in, | ||
| .smalltalk .hljs-class, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .tex .hljs-command { | ||
| font-weight: bold; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.8; | ||
| } |
| /* | ||
| codepen.io Embed Theme | ||
| Author: Justin Perry <http://github.com/ourmaninamsterdam> | ||
| Original theme - https://github.com/chriskempson/tomorrow-theme | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #222; | ||
| color: #fff; | ||
| font-family: Menlo, Monaco, 'Andale Mono', 'Lucida Console', 'Courier New', monospace; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #777; | ||
| } | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .constant, | ||
| .xml .tag .title, | ||
| .xml .pi, | ||
| .xml .doctype, | ||
| .html .doctype { | ||
| color: #ab875d; | ||
| } | ||
| .css .value { | ||
| color: #cd6a51; | ||
| } | ||
| .css .value .function, | ||
| .css .value .string { | ||
| color: #a67f59; | ||
| } | ||
| .css .value .number { | ||
| color: #9b869c; | ||
| } | ||
| .css .id, | ||
| .css .class, | ||
| .css-pseudo, | ||
| .css .selector, | ||
| .css .tag { | ||
| color: #dfc48c; | ||
| } | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #ab875d; | ||
| } | ||
| .ruby .class .title, | ||
| .css .rules .attribute { | ||
| color: #9b869b; | ||
| } | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .symbol, | ||
| .xml .cdata { | ||
| color: #8f9c6c; | ||
| } | ||
| .css .hexcolor { | ||
| color: #cd6a51; | ||
| } | ||
| .function, | ||
| .python .decorator, | ||
| .python .title, | ||
| .ruby .function .title, | ||
| .ruby .title .keyword, | ||
| .perl .sub, | ||
| .javascript .title, | ||
| .coffeescript .title { | ||
| color: #fff; | ||
| } | ||
| .hljs-keyword, | ||
| .javascript .function { | ||
| color: #8f9c6c; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript, | ||
| .javascript .xml, | ||
| .tex .formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .cdata { | ||
| background: transparent; | ||
| opacity: 1; | ||
| } |
| /* | ||
| Colorbrewer theme | ||
| Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org> | ||
| Ported by Fabrício Tavares de Oliveira | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #fff; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs, | ||
| .hljs-subst, | ||
| .hljs-tag .hljs-title, | ||
| .nginx .hljs-title { | ||
| color: #000; | ||
| } | ||
| .hljs-string, | ||
| .hljs-title, | ||
| .hljs-constant, | ||
| .hljs-parent, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-rules .hljs-value, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .haml .hljs-symbol, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-addition, | ||
| .hljs-flow, | ||
| .hljs-stream, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-command, | ||
| .tex .hljs-special, | ||
| .erlang_repl .hljs-function_or_atom, | ||
| .asciidoc .hljs-header, | ||
| .markdown .hljs-header, | ||
| .coffeescript .hljs-attribute { | ||
| color: #756bb1; | ||
| } | ||
| .smartquote, | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .asciidoc .hljs-blockquote, | ||
| .markdown .hljs-blockquote { | ||
| color: #636363; | ||
| } | ||
| .hljs-number, | ||
| .hljs-date, | ||
| .hljs-regexp, | ||
| .hljs-literal, | ||
| .hljs-hexcolor, | ||
| .smalltalk .hljs-symbol, | ||
| .smalltalk .hljs-char, | ||
| .go .hljs-constant, | ||
| .hljs-change, | ||
| .lasso .hljs-variable, | ||
| .makefile .hljs-variable, | ||
| .asciidoc .hljs-bullet, | ||
| .markdown .hljs-bullet, | ||
| .asciidoc .hljs-link_url, | ||
| .markdown .hljs-link_url { | ||
| color: #31a354; | ||
| } | ||
| .hljs-label, | ||
| .hljs-javadoc, | ||
| .ruby .hljs-string, | ||
| .hljs-decorator, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-localvars, | ||
| .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-important, | ||
| .hljs-pseudo, | ||
| .hljs-pi, | ||
| .haml .hljs-bullet, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-envvar, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in, | ||
| .hljs-list .hljs-built_in, | ||
| .tex .hljs-formula, | ||
| .erlang_repl .hljs-reserved, | ||
| .hljs-prompt, | ||
| .asciidoc .hljs-link_label, | ||
| .markdown .hljs-link_label, | ||
| .vhdl .hljs-attribute, | ||
| .clojure .hljs-attribute, | ||
| .asciidoc .hljs-attribute, | ||
| .lasso .hljs-attribute, | ||
| .coffeescript .hljs-property, | ||
| .hljs-phony { | ||
| color: #88f; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-id, | ||
| .hljs-title, | ||
| .hljs-built_in, | ||
| .css .hljs-tag, | ||
| .hljs-javadoctag, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-yardoctag, | ||
| .smalltalk .hljs-class, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .hljs-type, | ||
| .hljs-typename, | ||
| .tex .hljs-command, | ||
| .asciidoc .hljs-strong, | ||
| .markdown .hljs-strong, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| color: #3182bd; | ||
| } | ||
| .asciidoc .hljs-emphasis, | ||
| .markdown .hljs-emphasis { | ||
| font-style: italic; | ||
| } | ||
| .nginx .hljs-built_in { | ||
| font-weight: normal; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .lasso .markup, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } | ||
| .css .hljs-attribute, | ||
| .html .hljs-attribute { | ||
| color: #e6550d; | ||
| } | ||
| .css .hljs-class, | ||
| .html .hljs-tag, | ||
| .html .hljs-title { | ||
| color: #3182bd; | ||
| } |
+105
| /* | ||
| Dark style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #444; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .hljs-change, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .nginx .hljs-title, | ||
| .tex .hljs-special { | ||
| color: white; | ||
| } | ||
| .hljs, | ||
| .hljs-subst { | ||
| color: #ddd; | ||
| } | ||
| .hljs-string, | ||
| .hljs-title, | ||
| .hljs-type, | ||
| .ini .hljs-title, | ||
| .hljs-tag .hljs-value, | ||
| .css .hljs-rules .hljs-value, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .ruby .hljs-class .hljs-parent, | ||
| .hljs-built_in, | ||
| .django .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoc, | ||
| .ruby .hljs-string, | ||
| .django .hljs-filter .hljs-argument, | ||
| .smalltalk .hljs-localvars, | ||
| .smalltalk .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-addition, | ||
| .hljs-stream, | ||
| .hljs-envvar, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-command, | ||
| .hljs-prompt, | ||
| .coffeescript .hljs-attribute { | ||
| color: #d88; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-decorator, | ||
| .hljs-template_comment, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket, | ||
| .tex .hljs-formula { | ||
| color: #777; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .hljs-title, | ||
| .css .hljs-id, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-type, | ||
| .vbscript .hljs-built_in, | ||
| .rsl .hljs-built_in, | ||
| .smalltalk .hljs-class, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .tex .hljs-special, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #f0f0f0; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs, | ||
| .hljs-subst, | ||
| .hljs-tag .hljs-title, | ||
| .nginx .hljs-title { | ||
| color: black; | ||
| } | ||
| .hljs-string, | ||
| .hljs-title, | ||
| .hljs-constant, | ||
| .hljs-parent, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-rules .hljs-value, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .haml .hljs-symbol, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-addition, | ||
| .hljs-flow, | ||
| .hljs-stream, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-command, | ||
| .tex .hljs-special, | ||
| .erlang_repl .hljs-function_or_atom, | ||
| .asciidoc .hljs-header, | ||
| .markdown .hljs-header, | ||
| .coffeescript .hljs-attribute { | ||
| color: #800; | ||
| } | ||
| .smartquote, | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .asciidoc .hljs-blockquote, | ||
| .markdown .hljs-blockquote { | ||
| color: #888; | ||
| } | ||
| .hljs-number, | ||
| .hljs-date, | ||
| .hljs-regexp, | ||
| .hljs-literal, | ||
| .hljs-hexcolor, | ||
| .smalltalk .hljs-symbol, | ||
| .smalltalk .hljs-char, | ||
| .go .hljs-constant, | ||
| .hljs-change, | ||
| .lasso .hljs-variable, | ||
| .makefile .hljs-variable, | ||
| .asciidoc .hljs-bullet, | ||
| .markdown .hljs-bullet, | ||
| .asciidoc .hljs-link_url, | ||
| .markdown .hljs-link_url { | ||
| color: #080; | ||
| } | ||
| .hljs-label, | ||
| .hljs-javadoc, | ||
| .ruby .hljs-string, | ||
| .hljs-decorator, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-localvars, | ||
| .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-important, | ||
| .hljs-pseudo, | ||
| .hljs-pi, | ||
| .haml .hljs-bullet, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-envvar, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in, | ||
| .tex .hljs-formula, | ||
| .erlang_repl .hljs-reserved, | ||
| .hljs-prompt, | ||
| .asciidoc .hljs-link_label, | ||
| .markdown .hljs-link_label, | ||
| .vhdl .hljs-attribute, | ||
| .clojure .hljs-attribute, | ||
| .asciidoc .hljs-attribute, | ||
| .lasso .hljs-attribute, | ||
| .coffeescript .hljs-property, | ||
| .hljs-phony { | ||
| color: #88f; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-id, | ||
| .hljs-title, | ||
| .hljs-built_in, | ||
| .css .hljs-tag, | ||
| .hljs-javadoctag, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-yardoctag, | ||
| .smalltalk .hljs-class, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .hljs-type, | ||
| .hljs-typename, | ||
| .tex .hljs-command, | ||
| .asciidoc .hljs-strong, | ||
| .markdown .hljs-strong, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| } | ||
| .asciidoc .hljs-emphasis, | ||
| .markdown .hljs-emphasis { | ||
| font-style: italic; | ||
| } | ||
| .nginx .hljs-built_in { | ||
| font-weight: normal; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .lasso .markup, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
+136
| /* | ||
| Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| color: #000; | ||
| background: #f8f8ff; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-javadoc { | ||
| color: #408080; | ||
| font-style: italic; | ||
| } | ||
| .hljs-keyword, | ||
| .assignment, | ||
| .hljs-literal, | ||
| .css .rule .hljs-keyword, | ||
| .hljs-winutils, | ||
| .javascript .hljs-title, | ||
| .lisp .hljs-title, | ||
| .hljs-subst { | ||
| color: #954121; | ||
| } | ||
| .hljs-number, | ||
| .hljs-hexcolor { | ||
| color: #40a070; | ||
| } | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .tex .hljs-formula { | ||
| color: #219161; | ||
| } | ||
| .hljs-title, | ||
| .hljs-id { | ||
| color: #19469d; | ||
| } | ||
| .hljs-params { | ||
| color: #00f; | ||
| } | ||
| .javascript .hljs-title, | ||
| .lisp .hljs-title, | ||
| .hljs-subst { | ||
| font-weight: normal; | ||
| } | ||
| .hljs-class .hljs-title, | ||
| .haskell .hljs-label, | ||
| .tex .hljs-command { | ||
| color: #458; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-tag, | ||
| .hljs-tag .hljs-title, | ||
| .hljs-rules .hljs-property, | ||
| .django .hljs-tag .hljs-keyword { | ||
| color: #000080; | ||
| font-weight: normal; | ||
| } | ||
| .hljs-attribute, | ||
| .hljs-variable, | ||
| .instancevar, | ||
| .lisp .hljs-body { | ||
| color: #008080; | ||
| } | ||
| .hljs-regexp { | ||
| color: #b68; | ||
| } | ||
| .hljs-class { | ||
| color: #458; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .ruby .hljs-symbol .hljs-keyword, | ||
| .ruby .hljs-symbol .keymethods, | ||
| .lisp .hljs-keyword, | ||
| .tex .hljs-special, | ||
| .input_number { | ||
| color: #990073; | ||
| } | ||
| .builtin, | ||
| .constructor, | ||
| .hljs-built_in, | ||
| .lisp .hljs-title { | ||
| color: #0086b3; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-shebang, | ||
| .hljs-cdata { | ||
| color: #999; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-deletion { | ||
| background: #fdd; | ||
| } | ||
| .hljs-addition { | ||
| background: #dfd; | ||
| } | ||
| .diff .hljs-change { | ||
| background: #0086b3; | ||
| } | ||
| .hljs-chunk { | ||
| color: #aaa; | ||
| } | ||
| .tex .hljs-formula { | ||
| opacity: 0.5; | ||
| } |
+112
| /* | ||
| FAR Style (c) MajestiC <majestic2k@gmail.com> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #000080; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs, | ||
| .hljs-subst { | ||
| color: #0ff; | ||
| } | ||
| .hljs-string, | ||
| .ruby .hljs-string, | ||
| .haskell .hljs-type, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-rules .hljs-value, | ||
| .hljs-rules .hljs-value .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-built_in, | ||
| .django .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-addition, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-command, | ||
| .coffeescript .hljs-attribute { | ||
| color: #ff0; | ||
| } | ||
| .hljs-keyword, | ||
| .css .hljs-id, | ||
| .hljs-title, | ||
| .hljs-type, | ||
| .vbscript .hljs-built_in, | ||
| .rsl .hljs-built_in, | ||
| .smalltalk .hljs-class, | ||
| .xml .hljs-tag .hljs-title, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .hljs-change, | ||
| .hljs-envvar, | ||
| .bash .hljs-variable, | ||
| .tex .hljs-special { | ||
| color: #fff; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-javadoc, | ||
| .hljs-annotation, | ||
| .hljs-template_comment, | ||
| .hljs-deletion, | ||
| .apache .hljs-sqbracket, | ||
| .tex .hljs-formula { | ||
| color: #888; | ||
| } | ||
| .hljs-number, | ||
| .hljs-date, | ||
| .hljs-regexp, | ||
| .hljs-literal, | ||
| .smalltalk .hljs-symbol, | ||
| .smalltalk .hljs-char, | ||
| .clojure .hljs-attribute { | ||
| color: #0f0; | ||
| } | ||
| .hljs-decorator, | ||
| .django .hljs-filter .hljs-argument, | ||
| .smalltalk .hljs-localvars, | ||
| .smalltalk .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .xml .hljs-pi, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .hljs-shebang, | ||
| .nginx .hljs-built_in, | ||
| .hljs-prompt { | ||
| color: #008080; | ||
| } | ||
| .hljs-keyword, | ||
| .css .hljs-id, | ||
| .hljs-title, | ||
| .hljs-type, | ||
| .vbscript .hljs-built_in, | ||
| .rsl .hljs-built_in, | ||
| .smalltalk .hljs-class, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .apache .hljs-tag, | ||
| .nginx .hljs-built_in, | ||
| .tex .hljs-command, | ||
| .tex .hljs-special, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| } |
| /* | ||
| Description: Foundation 4 docs style for highlight.js | ||
| Author: Dan Allen <dan.j.allen@gmail.com> | ||
| Website: http://foundation.zurb.com/docs/ | ||
| Version: 1.0 | ||
| Date: 2013-04-02 | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #eee; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-header, | ||
| .hljs-decorator, | ||
| .hljs-annotation { | ||
| color: #000077; | ||
| } | ||
| .hljs-horizontal_rule, | ||
| .hljs-link_url, | ||
| .hljs-emphasis, | ||
| .hljs-attribute { | ||
| color: #070; | ||
| } | ||
| .hljs-emphasis { | ||
| font-style: italic; | ||
| } | ||
| .hljs-link_label, | ||
| .hljs-strong, | ||
| .hljs-value, | ||
| .hljs-string, | ||
| .scss .hljs-value .hljs-string { | ||
| color: #d14; | ||
| } | ||
| .hljs-strong { | ||
| font-weight: bold; | ||
| } | ||
| .hljs-blockquote, | ||
| .hljs-comment { | ||
| color: #998; | ||
| font-style: italic; | ||
| } | ||
| .asciidoc .hljs-title, | ||
| .hljs-function .hljs-title { | ||
| color: #900; | ||
| } | ||
| .hljs-class { | ||
| color: #458; | ||
| } | ||
| .hljs-id, | ||
| .hljs-pseudo, | ||
| .hljs-constant, | ||
| .hljs-hexcolor { | ||
| color: teal; | ||
| } | ||
| .hljs-variable { | ||
| color: #336699; | ||
| } | ||
| .hljs-bullet, | ||
| .hljs-javadoc { | ||
| color: #997700; | ||
| } | ||
| .hljs-pi, | ||
| .hljs-doctype { | ||
| color: #3344bb; | ||
| } | ||
| .hljs-code, | ||
| .hljs-number { | ||
| color: #099; | ||
| } | ||
| .hljs-important { | ||
| color: #f00; | ||
| } | ||
| .smartquote, | ||
| .hljs-label { | ||
| color: #970; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-pragma { | ||
| color: #579; | ||
| } | ||
| .hljs-reserved, | ||
| .hljs-keyword, | ||
| .scss .hljs-value { | ||
| color: #000; | ||
| } | ||
| .hljs-regexp { | ||
| background-color: #fff0ff; | ||
| color: #880088; | ||
| } | ||
| .hljs-symbol { | ||
| color: #990073; | ||
| } | ||
| .hljs-symbol .hljs-string { | ||
| color: #a60; | ||
| } | ||
| .hljs-tag { | ||
| color: #007700; | ||
| } | ||
| .hljs-at_rule, | ||
| .hljs-at_rule .hljs-keyword { | ||
| color: #088; | ||
| } | ||
| .hljs-at_rule .hljs-preprocessor { | ||
| color: #808; | ||
| } | ||
| .scss .hljs-tag, | ||
| .scss .hljs-attribute { | ||
| color: #339; | ||
| } |
| /* | ||
| github.com style (c) Vasily Polovnyov <vast@whiteants.net> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| color: #333; | ||
| background: #f8f8f8; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-javadoc { | ||
| color: #998; | ||
| font-style: italic; | ||
| } | ||
| .hljs-keyword, | ||
| .css .rule .hljs-keyword, | ||
| .hljs-winutils, | ||
| .javascript .hljs-title, | ||
| .nginx .hljs-title, | ||
| .hljs-subst, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| color: #333; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-number, | ||
| .hljs-hexcolor, | ||
| .ruby .hljs-constant { | ||
| color: #008080; | ||
| } | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .tex .hljs-formula { | ||
| color: #d14; | ||
| } | ||
| .hljs-title, | ||
| .hljs-id, | ||
| .scss .hljs-preprocessor { | ||
| color: #900; | ||
| font-weight: bold; | ||
| } | ||
| .javascript .hljs-title, | ||
| .hljs-list .hljs-keyword, | ||
| .hljs-subst { | ||
| font-weight: normal; | ||
| } | ||
| .hljs-class .hljs-title, | ||
| .hljs-type, | ||
| .vhdl .hljs-literal, | ||
| .tex .hljs-command { | ||
| color: #458; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-tag, | ||
| .hljs-tag .hljs-title, | ||
| .hljs-rules .hljs-property, | ||
| .django .hljs-tag .hljs-keyword { | ||
| color: #000080; | ||
| font-weight: normal; | ||
| } | ||
| .hljs-attribute, | ||
| .hljs-variable, | ||
| .lisp .hljs-body { | ||
| color: #008080; | ||
| } | ||
| .hljs-regexp { | ||
| color: #009926; | ||
| } | ||
| .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .lisp .hljs-keyword, | ||
| .clojure .hljs-keyword, | ||
| .scheme .hljs-keyword, | ||
| .tex .hljs-special, | ||
| .hljs-prompt { | ||
| color: #990073; | ||
| } | ||
| .hljs-built_in { | ||
| color: #0086b3; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-shebang, | ||
| .hljs-cdata { | ||
| color: #999; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-deletion { | ||
| background: #fdd; | ||
| } | ||
| .hljs-addition { | ||
| background: #dfd; | ||
| } | ||
| .diff .hljs-change { | ||
| background: #0086b3; | ||
| } | ||
| .hljs-chunk { | ||
| color: #aaa; | ||
| } |
| /* | ||
| Google Code style (c) Aahan Krish <geekpanth3r@gmail.com> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: white; | ||
| color: black; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .hljs-javadoc { | ||
| color: #800; | ||
| } | ||
| .hljs-keyword, | ||
| .method, | ||
| .hljs-list .hljs-keyword, | ||
| .nginx .hljs-title, | ||
| .hljs-tag .hljs-title, | ||
| .setting .hljs-value, | ||
| .hljs-winutils, | ||
| .tex .hljs-command, | ||
| .http .hljs-title, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| color: #008; | ||
| } | ||
| .hljs-envvar, | ||
| .tex .hljs-special { | ||
| color: #660; | ||
| } | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-cdata, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-attr_selector, | ||
| .apache .hljs-cbracket, | ||
| .hljs-date, | ||
| .hljs-regexp, | ||
| .coffeescript .hljs-attribute { | ||
| color: #080; | ||
| } | ||
| .hljs-sub .hljs-identifier, | ||
| .hljs-pi, | ||
| .hljs-tag, | ||
| .hljs-tag .hljs-keyword, | ||
| .hljs-decorator, | ||
| .ini .hljs-title, | ||
| .hljs-shebang, | ||
| .hljs-prompt, | ||
| .hljs-hexcolor, | ||
| .hljs-rules .hljs-value, | ||
| .hljs-literal, | ||
| .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-number, | ||
| .css .hljs-function, | ||
| .clojure .hljs-attribute { | ||
| color: #066; | ||
| } | ||
| .hljs-class .hljs-title, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoctag, | ||
| .hljs-yardoctag, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-type, | ||
| .hljs-typename, | ||
| .hljs-tag .hljs-attribute, | ||
| .hljs-doctype, | ||
| .hljs-class .hljs-id, | ||
| .hljs-built_in, | ||
| .setting, | ||
| .hljs-params, | ||
| .hljs-variable { | ||
| color: #606; | ||
| } | ||
| .css .hljs-tag, | ||
| .hljs-rules .hljs-property, | ||
| .hljs-pseudo, | ||
| .hljs-subst { | ||
| color: #000; | ||
| } | ||
| .css .hljs-class, | ||
| .css .hljs-id { | ||
| color: #9b703f; | ||
| } | ||
| .hljs-value .hljs-important { | ||
| color: #ff7700; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-rules .hljs-keyword { | ||
| color: #c5af75; | ||
| } | ||
| .hljs-annotation, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in { | ||
| color: #9b859d; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-preprocessor *, | ||
| .hljs-pragma { | ||
| color: #444; | ||
| } | ||
| .tex .hljs-formula { | ||
| background-color: #eee; | ||
| font-style: italic; | ||
| } | ||
| .diff .hljs-header, | ||
| .hljs-chunk { | ||
| color: #808080; | ||
| font-weight: bold; | ||
| } | ||
| .diff .hljs-change { | ||
| background-color: #bccff9; | ||
| } | ||
| .hljs-addition { | ||
| background-color: #baeeba; | ||
| } | ||
| .hljs-deletion { | ||
| background-color: #ffc8bd; | ||
| } | ||
| .hljs-comment .hljs-yardoctag { | ||
| font-weight: bold; | ||
| } |
| /* | ||
| vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) | ||
| */ | ||
| /*background color*/ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #1d1f21; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| /*selection color*/ | ||
| .hljs::selection, | ||
| .hljs span::selection { | ||
| background: #373b41; | ||
| } | ||
| .hljs::-moz-selection, | ||
| .hljs span::-moz-selection { | ||
| background: #373b41; | ||
| } | ||
| /*foreground color*/ | ||
| .hljs, | ||
| .hljs-setting .hljs-value, | ||
| .hljs-expression .hljs-variable, | ||
| .hljs-expression .hljs-begin-block, | ||
| .hljs-expression .hljs-end-block, | ||
| .hljs-class .hljs-params, | ||
| .hljs-function .hljs-params, | ||
| .hljs-at_rule .hljs-preprocessor { | ||
| color: #c5c8c6; | ||
| } | ||
| /*color: fg_yellow*/ | ||
| .hljs-title, | ||
| .hljs-function .hljs-title, | ||
| .hljs-keyword .hljs-common, | ||
| .hljs-class .hljs-title, | ||
| .hljs-decorator, | ||
| .hljs-tag .hljs-title, | ||
| .hljs-header, | ||
| .hljs-sub, | ||
| .hljs-function { | ||
| color: #f0c674; | ||
| } | ||
| /*color: fg_comment*/ | ||
| .hljs-comment, | ||
| .hljs-javadoc, | ||
| .hljs-output .hljs-value, | ||
| .hljs-pi, | ||
| .hljs-shebang, | ||
| .hljs-template_comment, | ||
| .hljs-doctype { | ||
| color: #707880; | ||
| } | ||
| /*color: fg_red*/ | ||
| .hljs-number, | ||
| .hljs-symbol, | ||
| .hljs-literal, | ||
| .hljs-deletion, | ||
| .hljs-link_url, | ||
| .hljs-symbol .hljs-string, | ||
| .hljs-argument, | ||
| .hljs-hexcolor, | ||
| .hljs-input .hljs-prompt, | ||
| .hljs-char { | ||
| color: #cc6666 | ||
| } | ||
| /*color: fg_green*/ | ||
| .hljs-string, | ||
| .hljs-special, | ||
| .hljs-javadoctag, | ||
| .hljs-addition, | ||
| .hljs-important, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-at.rule .hljs-keyword, | ||
| .hljs-regexp, | ||
| .hljs-attr_selector { | ||
| color: #b5bd68; | ||
| } | ||
| /*color: fg_purple*/ | ||
| .hljs-variable, | ||
| .hljs-property, | ||
| .hljs-envar, | ||
| .hljs-code, | ||
| .hljs-expression, | ||
| .hljs-localvars, | ||
| .hljs-id, | ||
| .hljs-variable .hljs-filter, | ||
| .hljs-variable .hljs-filter .hljs-keyword, | ||
| .hljs-template_tag .hljs-filter .hljs-keyword { | ||
| color: #b294bb; | ||
| } | ||
| /*color: fg_blue*/ | ||
| .hljs-statement, | ||
| .hljs-label, | ||
| .hljs-keyword, | ||
| .hljs-xmlDocTag, | ||
| .hljs-function .hljs-keyword, | ||
| .hljs-chunk, | ||
| .hljs-cdata, | ||
| .hljs-link_label, | ||
| .hljs-bullet, | ||
| .hljs-class .hljs-keyword, | ||
| .hljs-smartquote, | ||
| .hljs-method, | ||
| .hljs-list .hljs-title, | ||
| .hljs-tag { | ||
| color: #81a2be; | ||
| } | ||
| /*color: fg_aqua*/ | ||
| .hljs-pseudo, | ||
| .hljs-exception, | ||
| .hljs-annotation, | ||
| .hljs-subst, | ||
| .hljs-change, | ||
| .hljs-cbracket, | ||
| .hljs-operator, | ||
| .hljs-horizontal_rule, | ||
| .hljs-preprocessor .hljs-keyword, | ||
| .hljs-typedef, | ||
| .hljs-template_tag, | ||
| .hljs-variable, | ||
| .hljs-variable .hljs-filter .hljs-argument, | ||
| .hljs-at_rule, | ||
| .hljs-at_rule .hljs-string, | ||
| .hljs-at_rule .hljs-keyword { | ||
| color: #8abeb7; | ||
| } | ||
| /*color: fg_orange*/ | ||
| .hljs-type, | ||
| .hljs-typename, | ||
| .hljs-inheritance .hljs-parent, | ||
| .hljs-constant, | ||
| .hljs-built_in, | ||
| .hljs-setting, | ||
| .hljs-structure, | ||
| .hljs-link_reference, | ||
| .hljs-attribute, | ||
| .hljs-blockquote, | ||
| .hljs-quoted, | ||
| .hljs-class, | ||
| .hljs-header { | ||
| color: #de935f; | ||
| } | ||
| .hljs-emphasis | ||
| { | ||
| font-style: italic; | ||
| } | ||
| .hljs-strong | ||
| { | ||
| font-weight: bold; | ||
| } | ||
+126
| /* | ||
| Intellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| color: #000; | ||
| background: #fff; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-subst, | ||
| .hljs-title, | ||
| .json .hljs-value { | ||
| font-weight: normal; | ||
| color: #000; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .hljs-javadoc, | ||
| .diff .hljs-header { | ||
| color: #808080; | ||
| font-style: italic; | ||
| } | ||
| .hljs-annotation, | ||
| .hljs-decorator, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-doctype, | ||
| .hljs-pi, | ||
| .hljs-chunk, | ||
| .hljs-shebang, | ||
| .apache .hljs-cbracket, | ||
| .hljs-prompt, | ||
| .http .hljs-title { | ||
| color: #808000; | ||
| } | ||
| .hljs-tag, | ||
| .hljs-pi { | ||
| background: #efefef; | ||
| } | ||
| .hljs-tag .hljs-title, | ||
| .hljs-id, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-literal, | ||
| .hljs-keyword, | ||
| .hljs-hexcolor, | ||
| .css .hljs-function, | ||
| .ini .hljs-title, | ||
| .css .hljs-class, | ||
| .hljs-list .hljs-keyword, | ||
| .nginx .hljs-title, | ||
| .tex .hljs-command, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| color: #000080; | ||
| } | ||
| .hljs-attribute, | ||
| .hljs-rules .hljs-keyword, | ||
| .hljs-number, | ||
| .hljs-date, | ||
| .hljs-regexp, | ||
| .tex .hljs-special { | ||
| font-weight: bold; | ||
| color: #0000ff; | ||
| } | ||
| .hljs-number, | ||
| .hljs-regexp { | ||
| font-weight: normal; | ||
| } | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-filter .hljs-argument, | ||
| .css .hljs-function .hljs-params, | ||
| .apache .hljs-tag { | ||
| color: #008000; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-char, | ||
| .tex .hljs-formula { | ||
| color: #000; | ||
| background: #d0eded; | ||
| font-style: italic; | ||
| } | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-yardoctag, | ||
| .hljs-javadoctag { | ||
| text-decoration: underline; | ||
| } | ||
| .hljs-variable, | ||
| .hljs-envvar, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in { | ||
| color: #660e7a; | ||
| } | ||
| .hljs-addition { | ||
| background: #baeeba; | ||
| } | ||
| .hljs-deletion { | ||
| background: #ffc8bd; | ||
| } | ||
| .diff .hljs-change { | ||
| background: #bccff9; | ||
| } |
| /* | ||
| IR_Black style (c) Vasily Mikhailitchenko <vaskas@programica.ru> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #000; | ||
| color: #f8f8f8; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-shebang, | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .hljs-javadoc { | ||
| color: #7c7c7c; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-tag, | ||
| .tex .hljs-command, | ||
| .hljs-request, | ||
| .hljs-status, | ||
| .clojure .hljs-attribute { | ||
| color: #96cbfe; | ||
| } | ||
| .hljs-sub .hljs-keyword, | ||
| .method, | ||
| .hljs-list .hljs-title, | ||
| .nginx .hljs-title { | ||
| color: #ffffb6; | ||
| } | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-cdata, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-attr_selector, | ||
| .apache .hljs-cbracket, | ||
| .hljs-date, | ||
| .coffeescript .hljs-attribute { | ||
| color: #a8ff60; | ||
| } | ||
| .hljs-subst { | ||
| color: #daefa3; | ||
| } | ||
| .hljs-regexp { | ||
| color: #e9c062; | ||
| } | ||
| .hljs-title, | ||
| .hljs-sub .hljs-identifier, | ||
| .hljs-pi, | ||
| .hljs-decorator, | ||
| .tex .hljs-special, | ||
| .hljs-type, | ||
| .hljs-constant, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoctag, | ||
| .hljs-yardoctag, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .nginx .hljs-built_in { | ||
| color: #ffffb6; | ||
| } | ||
| .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-number, | ||
| .hljs-variable, | ||
| .vbscript, | ||
| .hljs-literal { | ||
| color: #c6c5fe; | ||
| } | ||
| .css .hljs-tag { | ||
| color: #96cbfe; | ||
| } | ||
| .css .hljs-rules .hljs-property, | ||
| .css .hljs-id { | ||
| color: #ffffb6; | ||
| } | ||
| .css .hljs-class { | ||
| color: #fff; | ||
| } | ||
| .hljs-hexcolor { | ||
| color: #c6c5fe; | ||
| } | ||
| .hljs-number { | ||
| color:#ff73fd; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.7; | ||
| } |
| /* | ||
| Name: Kimbie (dark) | ||
| Author: Jan T. Sott | ||
| License: Creative Commons Attribution-ShareAlike 4.0 Unported License | ||
| URL: https://github.com/idleberg/Kimbie-highlight.js | ||
| */ | ||
| /* Kimbie Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #d6baad; | ||
| } | ||
| /* Kimbie Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #dc3958; | ||
| } | ||
| /* Kimbie Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #f79a32; | ||
| } | ||
| /* Kimbie Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #f06431; | ||
| } | ||
| /* Kimbie Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #889b4a; | ||
| } | ||
| /* Kimbie Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #088649; | ||
| } | ||
| /* Kimbie Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #8ab1b0; | ||
| } | ||
| /* Kimbie Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #98676a; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #221a0f; | ||
| color: #d3af86; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Name: Kimbie (light) | ||
| Author: Jan T. Sott | ||
| License: Creative Commons Attribution-ShareAlike 4.0 Unported License | ||
| URL: https://github.com/idleberg/Kimbie-highlight.js | ||
| */ | ||
| /* Kimbie Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #a57a4c; | ||
| } | ||
| /* Kimbie Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #dc3958; | ||
| } | ||
| /* Kimbie Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #f79a32; | ||
| } | ||
| /* Kimbie Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #f06431; | ||
| } | ||
| /* Kimbie Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #889b4a; | ||
| } | ||
| /* Kimbie Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #088649; | ||
| } | ||
| /* Kimbie Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #8ab1b0; | ||
| } | ||
| /* Kimbie Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #98676a; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #fbebd4; | ||
| color: #84613d; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Description: Magula style for highligh.js | ||
| Author: Ruslan Keba <rukeba@gmail.com> | ||
| Website: http://rukeba.com/ | ||
| Version: 1.0 | ||
| Date: 2009-01-03 | ||
| Music: Aphex Twin / Xtal | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background-color: #f4f4f4; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs, | ||
| .hljs-subst { | ||
| color: black; | ||
| } | ||
| .hljs-string, | ||
| .hljs-title, | ||
| .hljs-parent, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-rules .hljs-value, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-addition, | ||
| .hljs-flow, | ||
| .hljs-stream, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-cbracket, | ||
| .coffeescript .hljs-attribute { | ||
| color: #050; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-chunk { | ||
| color: #777; | ||
| } | ||
| .hljs-number, | ||
| .hljs-date, | ||
| .hljs-regexp, | ||
| .hljs-literal, | ||
| .smalltalk .hljs-symbol, | ||
| .smalltalk .hljs-char, | ||
| .hljs-change, | ||
| .tex .hljs-special { | ||
| color: #800; | ||
| } | ||
| .hljs-label, | ||
| .hljs-javadoc, | ||
| .ruby .hljs-string, | ||
| .hljs-decorator, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-localvars, | ||
| .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-envvar, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in, | ||
| .tex .hljs-formula, | ||
| .hljs-prompt, | ||
| .clojure .hljs-attribute { | ||
| color: #00e; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-id, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-title, | ||
| .hljs-built_in, | ||
| .smalltalk .hljs-class, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .xml .hljs-tag, | ||
| .tex .hljs-command, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| color: navy; | ||
| } | ||
| .nginx .hljs-built_in { | ||
| font-weight: normal; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } | ||
| /* --- */ | ||
| .apache .hljs-tag { | ||
| font-weight: bold; | ||
| color: blue; | ||
| } | ||
| /* | ||
| Five-color theme from a single blue hue. | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #eaeef3; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs, | ||
| .hljs-list .hljs-built_in { | ||
| color: #00193a; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-title, | ||
| .hljs-important, | ||
| .hljs-request, | ||
| .hljs-header, | ||
| .hljs-javadoctag { | ||
| font-weight: bold; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-chunk, | ||
| .hljs-template_comment { | ||
| color: #738191; | ||
| } | ||
| .hljs-string, | ||
| .hljs-title, | ||
| .hljs-parent, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-filename, | ||
| .hljs-value, | ||
| .hljs-addition, | ||
| .hljs-tag, | ||
| .hljs-argument, | ||
| .hljs-link_label, | ||
| .hljs-blockquote, | ||
| .hljs-header { | ||
| color: #0048ab; | ||
| } | ||
| .hljs-decorator, | ||
| .hljs-prompt, | ||
| .hljs-yardoctag, | ||
| .hljs-subst, | ||
| .hljs-symbol, | ||
| .hljs-doctype, | ||
| .hljs-regexp, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-pi, | ||
| .hljs-attribute, | ||
| .hljs-attr_selector, | ||
| .hljs-javadoc, | ||
| .hljs-xmlDocTag, | ||
| .hljs-deletion, | ||
| .hljs-shebang, | ||
| .hljs-string .hljs-variable, | ||
| .hljs-link_url, | ||
| .hljs-bullet, | ||
| .hljs-sqbracket, | ||
| .hljs-phony { | ||
| color: #4c81c9; | ||
| } |
| /* | ||
| Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #23241f; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs, | ||
| .hljs-tag, | ||
| .css .hljs-rules, | ||
| .css .hljs-value, | ||
| .css .hljs-function | ||
| .hljs-preprocessor, | ||
| .hljs-pragma { | ||
| color: #f8f8f2; | ||
| } | ||
| .hljs-strongemphasis, | ||
| .hljs-strong, | ||
| .hljs-emphasis { | ||
| color: #a8a8a2; | ||
| } | ||
| .hljs-bullet, | ||
| .hljs-blockquote, | ||
| .hljs-horizontal_rule, | ||
| .hljs-number, | ||
| .hljs-regexp, | ||
| .alias .hljs-keyword, | ||
| .hljs-literal, | ||
| .hljs-hexcolor { | ||
| color: #ae81ff; | ||
| } | ||
| .hljs-tag .hljs-value, | ||
| .hljs-code, | ||
| .hljs-title, | ||
| .css .hljs-class, | ||
| .hljs-class .hljs-title:last-child { | ||
| color: #a6e22e; | ||
| } | ||
| .hljs-link_url { | ||
| font-size: 80%; | ||
| } | ||
| .hljs-strong, | ||
| .hljs-strongemphasis { | ||
| font-weight: bold; | ||
| } | ||
| .hljs-emphasis, | ||
| .hljs-strongemphasis, | ||
| .hljs-class .hljs-title:last-child { | ||
| font-style: italic; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-function, | ||
| .hljs-change, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .nginx .hljs-title, | ||
| .tex .hljs-special, | ||
| .hljs-header, | ||
| .hljs-attribute, | ||
| .hljs-symbol, | ||
| .hljs-symbol .hljs-string, | ||
| .hljs-tag .hljs-title, | ||
| .hljs-value, | ||
| .alias .hljs-keyword:first-child, | ||
| .css .hljs-tag, | ||
| .css .unit, | ||
| .css .hljs-important { | ||
| color: #f92672; | ||
| } | ||
| .hljs-function .hljs-keyword, | ||
| .hljs-class .hljs-keyword:first-child, | ||
| .hljs-constant, | ||
| .css .hljs-attribute { | ||
| color: #66d9ef; | ||
| } | ||
| .hljs-variable, | ||
| .hljs-params, | ||
| .hljs-class .hljs-title { | ||
| color: #f8f8f2; | ||
| } | ||
| .hljs-string, | ||
| .css .hljs-id, | ||
| .hljs-subst, | ||
| .hljs-type, | ||
| .ruby .hljs-class .hljs-parent, | ||
| .hljs-built_in, | ||
| .django .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .django .hljs-filter .hljs-argument, | ||
| .smalltalk .hljs-localvars, | ||
| .smalltalk .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-addition, | ||
| .hljs-stream, | ||
| .hljs-envvar, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-command, | ||
| .hljs-prompt, | ||
| .hljs-link_label, | ||
| .hljs-link_url { | ||
| color: #e6db74; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-javadoc, | ||
| .hljs-annotation, | ||
| .hljs-decorator, | ||
| .hljs-template_comment, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket, | ||
| .tex .hljs-formula { | ||
| color: #75715e; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata, | ||
| .xml .php, | ||
| .php .xml { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Monokai style - ported by Luigi Maselli - http://grigio.org | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #272822; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-tag, | ||
| .hljs-tag .hljs-title, | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .hljs-strong, | ||
| .hljs-change, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .nginx .hljs-title, | ||
| .tex .hljs-special { | ||
| color: #f92672; | ||
| } | ||
| .hljs { | ||
| color: #ddd; | ||
| } | ||
| .hljs .hljs-constant, | ||
| .asciidoc .hljs-code { | ||
| color: #66d9ef; | ||
| } | ||
| .hljs-code, | ||
| .hljs-class .hljs-title, | ||
| .hljs-header { | ||
| color: white; | ||
| } | ||
| .hljs-link_label, | ||
| .hljs-attribute, | ||
| .hljs-symbol, | ||
| .hljs-symbol .hljs-string, | ||
| .hljs-value, | ||
| .hljs-regexp { | ||
| color: #bf79db; | ||
| } | ||
| .hljs-link_url, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-string, | ||
| .hljs-bullet, | ||
| .hljs-subst, | ||
| .hljs-title, | ||
| .hljs-emphasis, | ||
| .hljs-type, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .ruby .hljs-class .hljs-parent, | ||
| .hljs-built_in, | ||
| .django .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoc, | ||
| .django .hljs-filter .hljs-argument, | ||
| .smalltalk .hljs-localvars, | ||
| .smalltalk .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-addition, | ||
| .hljs-stream, | ||
| .hljs-envvar, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-command, | ||
| .hljs-prompt { | ||
| color: #a6e22e; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .smartquote, | ||
| .hljs-blockquote, | ||
| .hljs-horizontal_rule, | ||
| .hljs-decorator, | ||
| .hljs-template_comment, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket, | ||
| .tex .hljs-formula { | ||
| color: #75715e; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .css .hljs-id, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-title, | ||
| .hljs-header, | ||
| .hljs-type, | ||
| .vbscript .hljs-built_in, | ||
| .rsl .hljs-built_in, | ||
| .smalltalk .hljs-class, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .tex .hljs-special, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /** | ||
| * Obsidian style | ||
| * ported by Alexander Marenin (http://github.com/ioncreature) | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #282b2e; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .hljs-change, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .nginx .hljs-title, | ||
| .css .hljs-id, | ||
| .tex .hljs-special { | ||
| color: #93c763; | ||
| } | ||
| .hljs-number { | ||
| color: #ffcd22; | ||
| } | ||
| .hljs { | ||
| color: #e0e2e4; | ||
| } | ||
| .css .hljs-tag, | ||
| .css .hljs-pseudo { | ||
| color: #d0d2b5; | ||
| } | ||
| .hljs-attribute, | ||
| .hljs .hljs-constant { | ||
| color: #668bb0; | ||
| } | ||
| .xml .hljs-attribute { | ||
| color: #b3b689; | ||
| } | ||
| .xml .hljs-tag .hljs-value { | ||
| color: #e8e2b7; | ||
| } | ||
| .hljs-code, | ||
| .hljs-class .hljs-title, | ||
| .hljs-header { | ||
| color: white; | ||
| } | ||
| .hljs-class, | ||
| .hljs-hexcolor { | ||
| color: #93c763; | ||
| } | ||
| .hljs-regexp { | ||
| color: #d39745; | ||
| } | ||
| .hljs-at_rule, | ||
| .hljs-at_rule .hljs-keyword { | ||
| color: #a082bd; | ||
| } | ||
| .hljs-doctype { | ||
| color: #557182; | ||
| } | ||
| .hljs-link_url, | ||
| .hljs-tag, | ||
| .hljs-tag .hljs-title, | ||
| .hljs-bullet, | ||
| .hljs-subst, | ||
| .hljs-emphasis, | ||
| .hljs-type, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .ruby .hljs-class .hljs-parent, | ||
| .hljs-built_in, | ||
| .django .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoc, | ||
| .django .hljs-filter .hljs-argument, | ||
| .smalltalk .hljs-localvars, | ||
| .smalltalk .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-addition, | ||
| .hljs-stream, | ||
| .hljs-envvar, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-command, | ||
| .hljs-prompt { | ||
| color: #8cbbad; | ||
| } | ||
| .hljs-string { | ||
| color: #ec7600; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-blockquote, | ||
| .hljs-horizontal_rule, | ||
| .hljs-decorator, | ||
| .hljs-template_comment, | ||
| .hljs-pi, | ||
| .hljs-deletion, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket, | ||
| .tex .hljs-formula { | ||
| color: #818e96; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .css .hljs-id, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-title, | ||
| .hljs-header, | ||
| .hljs-type, | ||
| .vbscript .hljs-built_in, | ||
| .rsl .hljs-built_in, | ||
| .smalltalk .hljs-class, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .tex .hljs-special, | ||
| .hljs-request, | ||
| .hljs-at_rule .hljs-keyword, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Paraíso (dark) | ||
| Created by Jan T. Sott (http://github.com/idleberg) | ||
| Inspired by the art of Rubens LP (http://www.rubenslp.com.br) | ||
| */ | ||
| /* Paraíso Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #8d8687; | ||
| } | ||
| /* Paraíso Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #ef6155; | ||
| } | ||
| /* Paraíso Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #f99b15; | ||
| } | ||
| /* Paraíso Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #fec418; | ||
| } | ||
| /* Paraíso Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #48b685; | ||
| } | ||
| /* Paraíso Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #5bc4bf; | ||
| } | ||
| /* Paraíso Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #06b6ef; | ||
| } | ||
| /* Paraíso Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #815ba4; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #2f1e2e; | ||
| color: #a39e9b; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Paraíso (light) | ||
| Created by Jan T. Sott (http://github.com/idleberg) | ||
| Inspired by the art of Rubens LP (http://www.rubenslp.com.br) | ||
| */ | ||
| /* Paraíso Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #776e71; | ||
| } | ||
| /* Paraíso Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #ef6155; | ||
| } | ||
| /* Paraíso Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #f99b15; | ||
| } | ||
| /* Paraíso Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #fec418; | ||
| } | ||
| /* Paraíso Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #48b685; | ||
| } | ||
| /* Paraíso Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #5bc4bf; | ||
| } | ||
| /* Paraíso Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #06b6ef; | ||
| } | ||
| /* Paraíso Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #815ba4; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #e7e9db; | ||
| color: #4f424c; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Pojoaque Style by Jason Tate | ||
| http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html | ||
| Based on Solarized Style from http://ethanschoonover.com/solarized | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| color: #dccf8f; | ||
| background: url(./pojoaque.jpg) repeat scroll left top #181914; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-doctype, | ||
| .lisp .hljs-string, | ||
| .hljs-javadoc { | ||
| color: #586e75; | ||
| font-style: italic; | ||
| } | ||
| .hljs-keyword, | ||
| .css .rule .hljs-keyword, | ||
| .hljs-winutils, | ||
| .javascript .hljs-title, | ||
| .method, | ||
| .hljs-addition, | ||
| .css .hljs-tag, | ||
| .hljs-list .hljs-keyword, | ||
| .nginx .hljs-title { | ||
| color: #b64926; | ||
| } | ||
| .hljs-number, | ||
| .hljs-command, | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .tex .hljs-formula, | ||
| .hljs-regexp, | ||
| .hljs-hexcolor { | ||
| color: #468966; | ||
| } | ||
| .hljs-title, | ||
| .hljs-localvars, | ||
| .hljs-function .hljs-title, | ||
| .hljs-chunk, | ||
| .hljs-decorator, | ||
| .hljs-built_in, | ||
| .hljs-identifier, | ||
| .hljs-id { | ||
| color: #ffb03b; | ||
| } | ||
| .hljs-attribute, | ||
| .hljs-variable, | ||
| .lisp .hljs-body, | ||
| .smalltalk .hljs-number, | ||
| .hljs-constant, | ||
| .hljs-class .hljs-title, | ||
| .hljs-parent, | ||
| .hljs-type { | ||
| color: #b58900; | ||
| } | ||
| .css .hljs-attribute { | ||
| color: #b89859; | ||
| } | ||
| .css .hljs-number, | ||
| .css .hljs-hexcolor { | ||
| color: #dccf8f; | ||
| } | ||
| .css .hljs-class { | ||
| color: #d3a60c; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-pi, | ||
| .hljs-shebang, | ||
| .hljs-symbol, | ||
| .hljs-symbol .hljs-string, | ||
| .diff .hljs-change, | ||
| .hljs-special, | ||
| .hljs-attr_selector, | ||
| .hljs-important, | ||
| .hljs-subst, | ||
| .hljs-cdata { | ||
| color: #cb4b16; | ||
| } | ||
| .hljs-deletion { | ||
| color: #dc322f; | ||
| } | ||
| .tex .hljs-formula { | ||
| background: #073642; | ||
| } |
| /* | ||
| Railscasts-like style (c) Visoft, Inc. (Damien White) | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #232323; | ||
| color: #e6e1dc; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .hljs-javadoc, | ||
| .hljs-shebang { | ||
| color: #bc9458; | ||
| font-style: italic; | ||
| } | ||
| .hljs-keyword, | ||
| .ruby .hljs-function .hljs-keyword, | ||
| .hljs-request, | ||
| .hljs-status, | ||
| .nginx .hljs-title, | ||
| .method, | ||
| .hljs-list .hljs-title { | ||
| color: #c26230; | ||
| } | ||
| .hljs-string, | ||
| .hljs-number, | ||
| .hljs-regexp, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-cdata, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-attr_selector, | ||
| .apache .hljs-cbracket, | ||
| .hljs-date, | ||
| .tex .hljs-command, | ||
| .markdown .hljs-link_label { | ||
| color: #a5c261; | ||
| } | ||
| .hljs-subst { | ||
| color: #519f50; | ||
| } | ||
| .hljs-tag, | ||
| .hljs-tag .hljs-keyword, | ||
| .hljs-tag .hljs-title, | ||
| .hljs-doctype, | ||
| .hljs-sub .hljs-identifier, | ||
| .hljs-pi, | ||
| .input_number { | ||
| color: #e8bf6a; | ||
| } | ||
| .hljs-identifier { | ||
| color: #d0d0ff; | ||
| } | ||
| .hljs-class .hljs-title, | ||
| .hljs-type, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoctag, | ||
| .hljs-yardoctag, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc { | ||
| text-decoration: none; | ||
| } | ||
| .hljs-constant { | ||
| color: #da4939; | ||
| } | ||
| .hljs-symbol, | ||
| .hljs-built_in, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .ruby .hljs-symbol .hljs-identifier, | ||
| .markdown .hljs-link_url, | ||
| .hljs-attribute { | ||
| color: #6d9cbe; | ||
| } | ||
| .markdown .hljs-link_url { | ||
| text-decoration: underline; | ||
| } | ||
| .hljs-params, | ||
| .hljs-variable, | ||
| .clojure .hljs-attribute { | ||
| color: #d0d0ff; | ||
| } | ||
| .css .hljs-tag, | ||
| .hljs-rules .hljs-property, | ||
| .hljs-pseudo, | ||
| .tex .hljs-special { | ||
| color: #cda869; | ||
| } | ||
| .css .hljs-class { | ||
| color: #9b703f; | ||
| } | ||
| .hljs-rules .hljs-keyword { | ||
| color: #c5af75; | ||
| } | ||
| .hljs-rules .hljs-value { | ||
| color: #cf6a4c; | ||
| } | ||
| .css .hljs-id { | ||
| color: #8b98ab; | ||
| } | ||
| .hljs-annotation, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in { | ||
| color: #9b859d; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-preprocessor *, | ||
| .hljs-pragma { | ||
| color: #8996a8 !important; | ||
| } | ||
| .hljs-hexcolor, | ||
| .css .hljs-value .hljs-number { | ||
| color: #a5c261; | ||
| } | ||
| .hljs-title, | ||
| .hljs-decorator, | ||
| .css .hljs-function { | ||
| color: #ffc66d; | ||
| } | ||
| .diff .hljs-header, | ||
| .hljs-chunk { | ||
| background-color: #2f33ab; | ||
| color: #e6e1dc; | ||
| display: inline-block; | ||
| width: 100%; | ||
| } | ||
| .diff .hljs-change { | ||
| background-color: #4a410d; | ||
| color: #f8f8f8; | ||
| display: inline-block; | ||
| width: 100%; | ||
| } | ||
| .hljs-addition { | ||
| background-color: #144212; | ||
| color: #e6e1dc; | ||
| display: inline-block; | ||
| width: 100%; | ||
| } | ||
| .hljs-deletion { | ||
| background-color: #600; | ||
| color: #e6e1dc; | ||
| display: inline-block; | ||
| width: 100%; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.7; | ||
| } |
| /* | ||
| Style with support for rainbow parens | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #474949; | ||
| color: #d1d9e1; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-body, | ||
| .hljs-collection { | ||
| color: #d1d9e1; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-doctype, | ||
| .lisp .hljs-string, | ||
| .hljs-javadoc { | ||
| color: #969896; | ||
| font-style: italic; | ||
| } | ||
| .hljs-keyword, | ||
| .clojure .hljs-attribute, | ||
| .hljs-winutils, | ||
| .javascript .hljs-title, | ||
| .hljs-addition, | ||
| .css .hljs-tag { | ||
| color: #cc99cc; | ||
| } | ||
| .hljs-number { color: #f99157; } | ||
| .hljs-command, | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .tex .hljs-formula, | ||
| .hljs-regexp, | ||
| .hljs-hexcolor { | ||
| color: #8abeb7; | ||
| } | ||
| .hljs-title, | ||
| .hljs-localvars, | ||
| .hljs-function .hljs-title, | ||
| .hljs-chunk, | ||
| .hljs-decorator, | ||
| .hljs-built_in, | ||
| .hljs-identifier { | ||
| color: #b5bd68; | ||
| } | ||
| .hljs-class .hljs-keyword { | ||
| color: #f2777a; | ||
| } | ||
| .hljs-variable, | ||
| .smalltalk .hljs-number, | ||
| .hljs-constant, | ||
| .hljs-class .hljs-title, | ||
| .hljs-parent, | ||
| .haskell .hljs-label, | ||
| .hljs-id { | ||
| color: #ffcc66; | ||
| } | ||
| .hljs-tag .hljs-title, | ||
| .hljs-rules .hljs-property, | ||
| .django .hljs-tag .hljs-keyword { | ||
| font-weight: bold; | ||
| } | ||
| .hljs-attribute { | ||
| color: #81a2be; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-pi, | ||
| .hljs-shebang, | ||
| .hljs-symbol, | ||
| .hljs-symbol .hljs-string, | ||
| .diff .hljs-change, | ||
| .hljs-special, | ||
| .hljs-attr_selector, | ||
| .hljs-important, | ||
| .hljs-subst, | ||
| .hljs-cdata { | ||
| color: #f99157; | ||
| } | ||
| .hljs-deletion { | ||
| color: #dc322f; | ||
| } | ||
| .tex .hljs-formula { | ||
| background: #eee8d5; | ||
| } |
| /* | ||
| School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 15px 0.5em 0.5em 30px; | ||
| font-size: 11px !important; | ||
| line-height:16px !important; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| pre{ | ||
| background:#f6f6ae url(./school_book.png); | ||
| border-top: solid 2px #d2e8b9; | ||
| border-bottom: solid 1px #d2e8b9; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .hljs-change, | ||
| .hljs-winutils, | ||
| .hljs-flow, | ||
| .nginx .hljs-title, | ||
| .tex .hljs-special { | ||
| color:#005599; | ||
| font-weight:bold; | ||
| } | ||
| .hljs, | ||
| .hljs-subst, | ||
| .hljs-tag .hljs-keyword { | ||
| color: #3e5915; | ||
| } | ||
| .hljs-string, | ||
| .hljs-title, | ||
| .hljs-type, | ||
| .hljs-tag .hljs-value, | ||
| .css .hljs-rules .hljs-value, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .ruby .hljs-class .hljs-parent, | ||
| .hljs-built_in, | ||
| .django .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoc, | ||
| .ruby .hljs-string, | ||
| .django .hljs-filter .hljs-argument, | ||
| .smalltalk .hljs-localvars, | ||
| .smalltalk .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-addition, | ||
| .hljs-stream, | ||
| .hljs-envvar, | ||
| .apache .hljs-tag, | ||
| .apache .hljs-cbracket, | ||
| .nginx .hljs-built_in, | ||
| .tex .hljs-command, | ||
| .coffeescript .hljs-attribute { | ||
| color: #2c009f; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-decorator, | ||
| .hljs-template_comment, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-shebang, | ||
| .apache .hljs-sqbracket { | ||
| color: #e60415; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .css .hljs-id, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-title, | ||
| .hljs-type, | ||
| .vbscript .hljs-built_in, | ||
| .rsl .hljs-built_in, | ||
| .smalltalk .hljs-class, | ||
| .xml .hljs-tag .hljs-title, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .apache .hljs-tag, | ||
| .tex .hljs-command, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| font-weight: bold; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #002b36; | ||
| color: #839496; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-doctype, | ||
| .hljs-pi, | ||
| .lisp .hljs-string, | ||
| .hljs-javadoc { | ||
| color: #586e75; | ||
| } | ||
| /* Solarized Green */ | ||
| .hljs-keyword, | ||
| .hljs-winutils, | ||
| .method, | ||
| .hljs-addition, | ||
| .css .hljs-tag, | ||
| .hljs-request, | ||
| .hljs-status, | ||
| .nginx .hljs-title { | ||
| color: #859900; | ||
| } | ||
| /* Solarized Cyan */ | ||
| .hljs-number, | ||
| .hljs-command, | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-rules .hljs-value, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .tex .hljs-formula, | ||
| .hljs-regexp, | ||
| .hljs-hexcolor, | ||
| .hljs-link_url { | ||
| color: #2aa198; | ||
| } | ||
| /* Solarized Blue */ | ||
| .hljs-title, | ||
| .hljs-localvars, | ||
| .hljs-chunk, | ||
| .hljs-decorator, | ||
| .hljs-built_in, | ||
| .hljs-identifier, | ||
| .vhdl .hljs-literal, | ||
| .hljs-id, | ||
| .css .hljs-function { | ||
| color: #268bd2; | ||
| } | ||
| /* Solarized Yellow */ | ||
| .hljs-attribute, | ||
| .hljs-variable, | ||
| .lisp .hljs-body, | ||
| .smalltalk .hljs-number, | ||
| .hljs-constant, | ||
| .hljs-class .hljs-title, | ||
| .hljs-parent, | ||
| .hljs-type, | ||
| .hljs-link_reference { | ||
| color: #b58900; | ||
| } | ||
| /* Solarized Orange */ | ||
| .hljs-preprocessor, | ||
| .hljs-preprocessor .hljs-keyword, | ||
| .hljs-pragma, | ||
| .hljs-shebang, | ||
| .hljs-symbol, | ||
| .hljs-symbol .hljs-string, | ||
| .diff .hljs-change, | ||
| .hljs-special, | ||
| .hljs-attr_selector, | ||
| .hljs-subst, | ||
| .hljs-cdata, | ||
| .css .hljs-pseudo, | ||
| .hljs-header { | ||
| color: #cb4b16; | ||
| } | ||
| /* Solarized Red */ | ||
| .hljs-deletion, | ||
| .hljs-important { | ||
| color: #dc322f; | ||
| } | ||
| /* Solarized Violet */ | ||
| .hljs-link_label { | ||
| color: #6c71c4; | ||
| } | ||
| .tex .hljs-formula { | ||
| background: #073642; | ||
| } |
| /* | ||
| Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #fdf6e3; | ||
| color: #657b83; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-doctype, | ||
| .hljs-pi, | ||
| .lisp .hljs-string, | ||
| .hljs-javadoc { | ||
| color: #93a1a1; | ||
| } | ||
| /* Solarized Green */ | ||
| .hljs-keyword, | ||
| .hljs-winutils, | ||
| .method, | ||
| .hljs-addition, | ||
| .css .hljs-tag, | ||
| .hljs-request, | ||
| .hljs-status, | ||
| .nginx .hljs-title { | ||
| color: #859900; | ||
| } | ||
| /* Solarized Cyan */ | ||
| .hljs-number, | ||
| .hljs-command, | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-rules .hljs-value, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .tex .hljs-formula, | ||
| .hljs-regexp, | ||
| .hljs-hexcolor, | ||
| .hljs-link_url { | ||
| color: #2aa198; | ||
| } | ||
| /* Solarized Blue */ | ||
| .hljs-title, | ||
| .hljs-localvars, | ||
| .hljs-chunk, | ||
| .hljs-decorator, | ||
| .hljs-built_in, | ||
| .hljs-identifier, | ||
| .vhdl .hljs-literal, | ||
| .hljs-id, | ||
| .css .hljs-function { | ||
| color: #268bd2; | ||
| } | ||
| /* Solarized Yellow */ | ||
| .hljs-attribute, | ||
| .hljs-variable, | ||
| .lisp .hljs-body, | ||
| .smalltalk .hljs-number, | ||
| .hljs-constant, | ||
| .hljs-class .hljs-title, | ||
| .hljs-parent, | ||
| .hljs-type, | ||
| .hljs-link_reference { | ||
| color: #b58900; | ||
| } | ||
| /* Solarized Orange */ | ||
| .hljs-preprocessor, | ||
| .hljs-preprocessor .hljs-keyword, | ||
| .hljs-pragma, | ||
| .hljs-shebang, | ||
| .hljs-symbol, | ||
| .hljs-symbol .hljs-string, | ||
| .diff .hljs-change, | ||
| .hljs-special, | ||
| .hljs-attr_selector, | ||
| .hljs-subst, | ||
| .hljs-cdata, | ||
| .css .hljs-pseudo, | ||
| .hljs-header { | ||
| color: #cb4b16; | ||
| } | ||
| /* Solarized Red */ | ||
| .hljs-deletion, | ||
| .hljs-important { | ||
| color: #dc322f; | ||
| } | ||
| /* Solarized Violet */ | ||
| .hljs-link_label { | ||
| color: #6c71c4; | ||
| } | ||
| .tex .hljs-formula { | ||
| background: #eee8d5; | ||
| } |
| /* | ||
| Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #000; | ||
| color: #f8f8f8; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .hljs-javadoc { | ||
| color: #aeaeae; | ||
| font-style: italic; | ||
| } | ||
| .hljs-keyword, | ||
| .ruby .hljs-function .hljs-keyword, | ||
| .hljs-request, | ||
| .hljs-status, | ||
| .nginx .hljs-title { | ||
| color: #e28964; | ||
| } | ||
| .hljs-function .hljs-keyword, | ||
| .hljs-sub .hljs-keyword, | ||
| .method, | ||
| .hljs-list .hljs-title { | ||
| color: #99cf50; | ||
| } | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-cdata, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-attr_selector, | ||
| .apache .hljs-cbracket, | ||
| .hljs-date, | ||
| .tex .hljs-command, | ||
| .coffeescript .hljs-attribute { | ||
| color: #65b042; | ||
| } | ||
| .hljs-subst { | ||
| color: #daefa3; | ||
| } | ||
| .hljs-regexp { | ||
| color: #e9c062; | ||
| } | ||
| .hljs-title, | ||
| .hljs-sub .hljs-identifier, | ||
| .hljs-pi, | ||
| .hljs-tag, | ||
| .hljs-tag .hljs-keyword, | ||
| .hljs-decorator, | ||
| .hljs-shebang, | ||
| .hljs-prompt { | ||
| color: #89bdff; | ||
| } | ||
| .hljs-class .hljs-title, | ||
| .hljs-type, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoctag, | ||
| .hljs-yardoctag, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc { | ||
| text-decoration: underline; | ||
| } | ||
| .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-number { | ||
| color: #3387cc; | ||
| } | ||
| .hljs-params, | ||
| .hljs-variable, | ||
| .clojure .hljs-attribute { | ||
| color: #3e87e3; | ||
| } | ||
| .css .hljs-tag, | ||
| .hljs-rules .hljs-property, | ||
| .hljs-pseudo, | ||
| .tex .hljs-special { | ||
| color: #cda869; | ||
| } | ||
| .css .hljs-class { | ||
| color: #9b703f; | ||
| } | ||
| .hljs-rules .hljs-keyword { | ||
| color: #c5af75; | ||
| } | ||
| .hljs-rules .hljs-value { | ||
| color: #cf6a4c; | ||
| } | ||
| .css .hljs-id { | ||
| color: #8b98ab; | ||
| } | ||
| .hljs-annotation, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in { | ||
| color: #9b859d; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-pragma { | ||
| color: #8996a8; | ||
| } | ||
| .hljs-hexcolor, | ||
| .css .hljs-value .hljs-number { | ||
| color: #dd7b3b; | ||
| } | ||
| .css .hljs-function { | ||
| color: #dad085; | ||
| } | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .tex .hljs-formula { | ||
| background-color: #0e2231; | ||
| color: #f8f8f8; | ||
| font-style: italic; | ||
| } | ||
| .diff .hljs-change { | ||
| background-color: #4a410d; | ||
| color: #f8f8f8; | ||
| } | ||
| .hljs-addition { | ||
| background-color: #253b22; | ||
| color: #f8f8f8; | ||
| } | ||
| .hljs-deletion { | ||
| background-color: #420e09; | ||
| color: #f8f8f8; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Tomorrow Night Blue Theme */ | ||
| /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
| /* Original theme - https://github.com/chriskempson/tomorrow-theme */ | ||
| /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
| /* Tomorrow Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #7285b7; | ||
| } | ||
| /* Tomorrow Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #ff9da4; | ||
| } | ||
| /* Tomorrow Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #ffc58f; | ||
| } | ||
| /* Tomorrow Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #ffeead; | ||
| } | ||
| /* Tomorrow Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #d1f1a9; | ||
| } | ||
| /* Tomorrow Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #99ffff; | ||
| } | ||
| /* Tomorrow Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #bbdaff; | ||
| } | ||
| /* Tomorrow Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #ebbbff; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #002451; | ||
| color: white; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Tomorrow Night Bright Theme */ | ||
| /* Original theme - https://github.com/chriskempson/tomorrow-theme */ | ||
| /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
| /* Tomorrow Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #969896; | ||
| } | ||
| /* Tomorrow Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #d54e53; | ||
| } | ||
| /* Tomorrow Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #e78c45; | ||
| } | ||
| /* Tomorrow Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #e7c547; | ||
| } | ||
| /* Tomorrow Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #b9ca4a; | ||
| } | ||
| /* Tomorrow Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #70c0b1; | ||
| } | ||
| /* Tomorrow Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #7aa6da; | ||
| } | ||
| /* Tomorrow Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #c397d8; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: black; | ||
| color: #eaeaea; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Tomorrow Night Eighties Theme */ | ||
| /* Original theme - https://github.com/chriskempson/tomorrow-theme */ | ||
| /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
| /* Tomorrow Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #999999; | ||
| } | ||
| /* Tomorrow Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #f2777a; | ||
| } | ||
| /* Tomorrow Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #f99157; | ||
| } | ||
| /* Tomorrow Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #ffcc66; | ||
| } | ||
| /* Tomorrow Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #99cc99; | ||
| } | ||
| /* Tomorrow Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #66cccc; | ||
| } | ||
| /* Tomorrow Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #6699cc; | ||
| } | ||
| /* Tomorrow Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #cc99cc; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #2d2d2d; | ||
| color: #cccccc; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* Tomorrow Night Theme */ | ||
| /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
| /* Original theme - https://github.com/chriskempson/tomorrow-theme */ | ||
| /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
| /* Tomorrow Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #969896; | ||
| } | ||
| /* Tomorrow Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #cc6666; | ||
| } | ||
| /* Tomorrow Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #de935f; | ||
| } | ||
| /* Tomorrow Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #f0c674; | ||
| } | ||
| /* Tomorrow Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #b5bd68; | ||
| } | ||
| /* Tomorrow Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #8abeb7; | ||
| } | ||
| /* Tomorrow Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #81a2be; | ||
| } | ||
| /* Tomorrow Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #b294bb; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: #1d1f21; | ||
| color: #c5c8c6; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ | ||
| /* Tomorrow Comment */ | ||
| .hljs-comment, | ||
| .hljs-title { | ||
| color: #8e908c; | ||
| } | ||
| /* Tomorrow Red */ | ||
| .hljs-variable, | ||
| .hljs-attribute, | ||
| .hljs-tag, | ||
| .hljs-regexp, | ||
| .ruby .hljs-constant, | ||
| .xml .hljs-tag .hljs-title, | ||
| .xml .hljs-pi, | ||
| .xml .hljs-doctype, | ||
| .html .hljs-doctype, | ||
| .css .hljs-id, | ||
| .css .hljs-class, | ||
| .css .hljs-pseudo { | ||
| color: #c82829; | ||
| } | ||
| /* Tomorrow Orange */ | ||
| .hljs-number, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-literal, | ||
| .hljs-params, | ||
| .hljs-constant { | ||
| color: #f5871f; | ||
| } | ||
| /* Tomorrow Yellow */ | ||
| .ruby .hljs-class .hljs-title, | ||
| .css .hljs-rules .hljs-attribute { | ||
| color: #eab700; | ||
| } | ||
| /* Tomorrow Green */ | ||
| .hljs-string, | ||
| .hljs-value, | ||
| .hljs-inheritance, | ||
| .hljs-header, | ||
| .ruby .hljs-symbol, | ||
| .xml .hljs-cdata { | ||
| color: #718c00; | ||
| } | ||
| /* Tomorrow Aqua */ | ||
| .css .hljs-hexcolor { | ||
| color: #3e999f; | ||
| } | ||
| /* Tomorrow Blue */ | ||
| .hljs-function, | ||
| .python .hljs-decorator, | ||
| .python .hljs-title, | ||
| .ruby .hljs-function .hljs-title, | ||
| .ruby .hljs-title .hljs-keyword, | ||
| .perl .hljs-sub, | ||
| .javascript .hljs-title, | ||
| .coffeescript .hljs-title { | ||
| color: #4271ae; | ||
| } | ||
| /* Tomorrow Purple */ | ||
| .hljs-keyword, | ||
| .javascript .hljs-function { | ||
| color: #8959a8; | ||
| } | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| background: white; | ||
| color: #4d4d4c; | ||
| padding: 0.5em; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } |
| /* | ||
| Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: white; | ||
| color: black; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-template_comment, | ||
| .diff .hljs-header, | ||
| .hljs-chunk, | ||
| .apache .hljs-cbracket { | ||
| color: #008000; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-id, | ||
| .hljs-built_in,.css | ||
| .smalltalk .hljs-class, | ||
| .hljs-winutils, | ||
| .bash .hljs-variable, | ||
| .tex .hljs-command, | ||
| .hljs-request, | ||
| .hljs-status, | ||
| .nginx .hljs-title, | ||
| .xml .hljs-tag, | ||
| .xml .hljs-tag .hljs-value { | ||
| color: #00f; | ||
| } | ||
| .hljs-string, | ||
| .hljs-title, | ||
| .hljs-parent, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-rules .hljs-value, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .hljs-addition, | ||
| .hljs-flow, | ||
| .hljs-stream, | ||
| .apache .hljs-tag, | ||
| .hljs-date, | ||
| .tex .hljs-formula, | ||
| .coffeescript .hljs-attribute { | ||
| color: #a31515; | ||
| } | ||
| .ruby .hljs-string, | ||
| .hljs-decorator, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-localvars, | ||
| .hljs-array, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .hljs-pi, | ||
| .hljs-doctype, | ||
| .hljs-deletion, | ||
| .hljs-envvar, | ||
| .hljs-shebang, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .userType, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in, | ||
| .tex .hljs-special, | ||
| .hljs-prompt { | ||
| color: #2b91af; | ||
| } | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-javadoc, | ||
| .hljs-xmlDocTag { | ||
| color: #808080; | ||
| } | ||
| .hljs-type, | ||
| .hljs-typename { font-weight: bold; } | ||
| .vhdl .hljs-string { color: #666666; } | ||
| .vhdl .hljs-literal { color: #a31515; } | ||
| .vhdl .hljs-attribute { color: #00b0e8; } | ||
| .xml .hljs-attribute { color: #f00; } |
+159
| /* | ||
| XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com> | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #fff; | ||
| color: black; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-comment, | ||
| .hljs-template_comment, | ||
| .hljs-javadoc { | ||
| color: #006a00; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-literal, | ||
| .nginx .hljs-title { | ||
| color: #aa0d91; | ||
| } | ||
| .method, | ||
| .hljs-list .hljs-title, | ||
| .hljs-tag .hljs-title, | ||
| .setting .hljs-value, | ||
| .hljs-winutils, | ||
| .tex .hljs-command, | ||
| .http .hljs-title, | ||
| .hljs-request, | ||
| .hljs-status { | ||
| color: #008; | ||
| } | ||
| .hljs-envvar, | ||
| .tex .hljs-special { | ||
| color: #660; | ||
| } | ||
| .hljs-string { | ||
| color: #c41a16; | ||
| } | ||
| .hljs-tag .hljs-value, | ||
| .hljs-cdata, | ||
| .hljs-filter .hljs-argument, | ||
| .hljs-attr_selector, | ||
| .apache .hljs-cbracket, | ||
| .hljs-date, | ||
| .hljs-regexp { | ||
| color: #080; | ||
| } | ||
| .hljs-sub .hljs-identifier, | ||
| .hljs-pi, | ||
| .hljs-tag, | ||
| .hljs-tag .hljs-keyword, | ||
| .hljs-decorator, | ||
| .ini .hljs-title, | ||
| .hljs-shebang, | ||
| .hljs-prompt, | ||
| .hljs-hexcolor, | ||
| .hljs-rules .hljs-value, | ||
| .hljs-symbol, | ||
| .hljs-symbol .hljs-string, | ||
| .hljs-number, | ||
| .css .hljs-function, | ||
| .hljs-function .hljs-title, | ||
| .coffeescript .hljs-attribute { | ||
| color: #1c00cf; | ||
| } | ||
| .hljs-class .hljs-title, | ||
| .smalltalk .hljs-class, | ||
| .hljs-javadoctag, | ||
| .hljs-yardoctag, | ||
| .hljs-phpdoc, | ||
| .hljs-dartdoc, | ||
| .hljs-type, | ||
| .hljs-typename, | ||
| .hljs-tag .hljs-attribute, | ||
| .hljs-doctype, | ||
| .hljs-class .hljs-id, | ||
| .hljs-built_in, | ||
| .setting, | ||
| .hljs-params, | ||
| .clojure .hljs-attribute { | ||
| color: #5c2699; | ||
| } | ||
| .hljs-variable { | ||
| color: #3f6e74; | ||
| } | ||
| .css .hljs-tag, | ||
| .hljs-rules .hljs-property, | ||
| .hljs-pseudo, | ||
| .hljs-subst { | ||
| color: #000; | ||
| } | ||
| .css .hljs-class, | ||
| .css .hljs-id { | ||
| color: #9b703f; | ||
| } | ||
| .hljs-value .hljs-important { | ||
| color: #ff7700; | ||
| font-weight: bold; | ||
| } | ||
| .hljs-rules .hljs-keyword { | ||
| color: #c5af75; | ||
| } | ||
| .hljs-annotation, | ||
| .apache .hljs-sqbracket, | ||
| .nginx .hljs-built_in { | ||
| color: #9b859d; | ||
| } | ||
| .hljs-preprocessor, | ||
| .hljs-preprocessor *, | ||
| .hljs-pragma { | ||
| color: #643820; | ||
| } | ||
| .tex .hljs-formula { | ||
| background-color: #eee; | ||
| font-style: italic; | ||
| } | ||
| .diff .hljs-header, | ||
| .hljs-chunk { | ||
| color: #808080; | ||
| font-weight: bold; | ||
| } | ||
| .diff .hljs-change { | ||
| background-color: #bccff9; | ||
| } | ||
| .hljs-addition { | ||
| background-color: #baeeba; | ||
| } | ||
| .hljs-deletion { | ||
| background-color: #ffc8bd; | ||
| } | ||
| .hljs-comment .hljs-yardoctag { | ||
| font-weight: bold; | ||
| } | ||
| .method .hljs-id { | ||
| color: #000; | ||
| } |
| /* | ||
| Zenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru> | ||
| based on dark.css by Ivan Sagalaev | ||
| */ | ||
| .hljs { | ||
| display: block; | ||
| overflow-x: auto; | ||
| padding: 0.5em; | ||
| background: #3f3f3f; | ||
| color: #dcdcdc; | ||
| -webkit-text-size-adjust: none; | ||
| } | ||
| .hljs-keyword, | ||
| .hljs-tag, | ||
| .css .hljs-class, | ||
| .css .hljs-id, | ||
| .lisp .hljs-title, | ||
| .nginx .hljs-title, | ||
| .hljs-request, | ||
| .hljs-status, | ||
| .clojure .hljs-attribute { | ||
| color: #e3ceab; | ||
| } | ||
| .django .hljs-template_tag, | ||
| .django .hljs-variable, | ||
| .django .hljs-filter .hljs-argument { | ||
| color: #dcdcdc; | ||
| } | ||
| .hljs-number, | ||
| .hljs-date { | ||
| color: #8cd0d3; | ||
| } | ||
| .dos .hljs-envvar, | ||
| .dos .hljs-stream, | ||
| .hljs-variable, | ||
| .apache .hljs-sqbracket { | ||
| color: #efdcbc; | ||
| } | ||
| .dos .hljs-flow, | ||
| .diff .hljs-change, | ||
| .python .exception, | ||
| .python .hljs-built_in, | ||
| .hljs-literal, | ||
| .tex .hljs-special { | ||
| color: #efefaf; | ||
| } | ||
| .diff .hljs-chunk, | ||
| .hljs-subst { | ||
| color: #8f8f8f; | ||
| } | ||
| .dos .hljs-keyword, | ||
| .hljs-decorator, | ||
| .hljs-title, | ||
| .hljs-type, | ||
| .diff .hljs-header, | ||
| .ruby .hljs-class .hljs-parent, | ||
| .apache .hljs-tag, | ||
| .nginx .hljs-built_in, | ||
| .tex .hljs-command, | ||
| .hljs-prompt { | ||
| color: #efef8f; | ||
| } | ||
| .dos .hljs-winutils, | ||
| .ruby .hljs-symbol, | ||
| .ruby .hljs-symbol .hljs-string, | ||
| .ruby .hljs-string { | ||
| color: #dca3a3; | ||
| } | ||
| .diff .hljs-deletion, | ||
| .hljs-string, | ||
| .hljs-tag .hljs-value, | ||
| .hljs-preprocessor, | ||
| .hljs-pragma, | ||
| .hljs-built_in, | ||
| .hljs-javadoc, | ||
| .smalltalk .hljs-class, | ||
| .smalltalk .hljs-localvars, | ||
| .smalltalk .hljs-array, | ||
| .css .hljs-rules .hljs-value, | ||
| .hljs-attr_selector, | ||
| .hljs-pseudo, | ||
| .apache .hljs-cbracket, | ||
| .tex .hljs-formula, | ||
| .coffeescript .hljs-attribute { | ||
| color: #cc9393; | ||
| } | ||
| .hljs-shebang, | ||
| .diff .hljs-addition, | ||
| .hljs-comment, | ||
| .hljs-annotation, | ||
| .hljs-template_comment, | ||
| .hljs-pi, | ||
| .hljs-doctype { | ||
| color: #7f9f7f; | ||
| } | ||
| .coffeescript .javascript, | ||
| .javascript .xml, | ||
| .tex .hljs-formula, | ||
| .xml .javascript, | ||
| .xml .vbscript, | ||
| .xml .css, | ||
| .xml .hljs-cdata { | ||
| opacity: 0.5; | ||
| } | ||
@@ -37,12 +37,25 @@ Building and testing | ||
| Testing is done in a browser using the provided ``src/test.html`` file that | ||
| contains snippets for all the supported languages. You can use browser builds | ||
| with all or only some of the languages, with or without compression. | ||
| Testing is done using `mocha <https://visionmedia.github.io/mocha/>` and the | ||
| files are found in the ``test/`` directory. You can use the node build to | ||
| run the tests in the command line with ``npm test`` after installing the | ||
| dependencies with ``npm install``. | ||
| **Note**: for Debian-based machine, like Ubuntu, you might need to create an | ||
| alias or symbolic link for nodejs to node. The reason for this is the | ||
| dependencies that are requires to test highlight.js has a reference to | ||
| "node". | ||
| The normal tests themselves have more to do with auto-detection, but you | ||
| might want to see a visual representation of the highlighted language. To | ||
| accomplish this you can place a snippet of the language in ``src/test.html`` | ||
| and use the browser build type with or without compression. | ||
| The usual approach to debugging and testing a language is first building | ||
| highlight.js with only the language you're working on without compression | ||
| (to have readable code in browser error messages). After this you have to build | ||
| the entire package with all the languages and see if anything is broken. If your | ||
| language breaks auto-detection it should be fixed by | ||
| :ref:`improving relevance <relevance>`, which is a black art in and of itself. | ||
| When in doubt, please refer to the discussion group! | ||
| (to have readable code in browser error messages). After this you have to | ||
| build the entire package -- this time for node -- with all the languages, | ||
| place the snippet you used inside the browser in | ||
| ``test/detect/<language_name>/default.txt``, and run the testing suite to | ||
| see if any tests fail. If your language breaks auto-detection, it should be | ||
| fixed by :ref:`improving relevance <relevance>`, which is a black art in and | ||
| of itself. When in doubt, please refer to the discussion group! |
@@ -106,2 +106,18 @@ CSS classes reference | ||
| Groovy ("groovy) | ||
| ---------------- | ||
| * ``keyword``: keyword | ||
| * ``number``: number | ||
| * ``string``: string, map string keys and named argument labels | ||
| * ``regex``: regular expression | ||
| * ``comment``: comment | ||
| * ``annotation``: annotation | ||
| * ``javadoc``: javadoc comment | ||
| * ``javadoctag``: @-tag in javadoc | ||
| * ``class``: class header | ||
| * ``title``: class name inside a header | ||
| * ``label``: label | ||
| * ``shebang``: Groovy shell script header | ||
| Go ("go", "golang") | ||
@@ -248,6 +264,15 @@ ------------------- | ||
| * ``variable``: variable | ||
| * ``begin``:-block the beginning of a block | ||
| * ``end``:-block the ending of a block | ||
| * ``begin-block``: the beginning of a block | ||
| * ``end-block``: the ending of a block | ||
| * ``string``: string | ||
| Dust ("dust", "dst") | ||
| -------------------- | ||
| * ``expression``: expression to be evaluated | ||
| * ``variable``: variable | ||
| * ``begin-block``: the beginning of a block | ||
| * ``end-block``: the ending of a block | ||
| * ``string``: string | ||
| JSON ("json") | ||
@@ -316,2 +341,17 @@ ------------- | ||
| Dart ("dart") | ||
| -------------------- | ||
| * ``keyword``: keyword | ||
| * ``literal``: keyword that can be uses as identifier but have special meaning in some cases | ||
| * ``built_in``: some of basic built in classes and function | ||
| * ``number``: number | ||
| * ``string``: string | ||
| * ``subst``: in-string substitution (${...}) | ||
| * ``comment``: commment | ||
| * ``annotaion``: annotation | ||
| * ``dartdoc``: dartdoc comment | ||
| * ``class``: class header from "class" till "{" | ||
| * ``title``: class name | ||
| ActionScript ("actionscript", "as") | ||
@@ -468,2 +508,3 @@ ----------------------------------- | ||
| * ``class``: class header from "class" till "{" | ||
| * ``function``: method header | ||
| * ``title``: class or method name | ||
@@ -515,2 +556,4 @@ * ``params``: everything in parentheses inside a class header | ||
| * ``xmlDocTag``: xmldoc tag ("///", "<!--", "-->", "<..>") | ||
| * ``class``: class header from "class" till "{" | ||
| * ``function``: method header | ||
| * ``title``: title of namespace or class | ||
@@ -606,3 +649,2 @@ | ||
| * ``keyword``: keyword | ||
| * ``number``: number | ||
@@ -614,3 +656,3 @@ * ``string``: string | ||
| * ``list``: non-quoted list | ||
| * ``title``: first symbol in a non-quoted list | ||
| * ``keyword``: first symbol in a non-quoted list | ||
| * ``body``: remainder of the non-quoted list | ||
@@ -627,5 +669,20 @@ * ``quoted``: quoted list, both "(quote .. )" and "'(..)" | ||
| * ``attribute``: :keyword | ||
| * ``title``: function name (built-in or user defined) | ||
| * ``built_in``: built-in function name | ||
| * ``list``: non-quoted list | ||
| * ``keyword``: first symbol in a list | ||
| * ``built_in``: built-in function name as the first symbol in a list | ||
| Scheme ("scheme") | ||
| -------------------------- | ||
| * ``shebang``: script interpreter header | ||
| * ``comment``: comment | ||
| * ``string``: string | ||
| * ``number``: number | ||
| * ``regexp``: regexp | ||
| * ``variable``: single-quote 'identifier | ||
| * ``list``: non-quoted list | ||
| * ``keyword``: first symbol in a list | ||
| * ``built_in``: built-in function name as the first symbol in a list | ||
| * ``literal``: #t, #f, #\...\ | ||
| Ini ("ini") | ||
@@ -745,3 +802,2 @@ ----------- | ||
| * ``params``: everything in parentheses inside a class header | ||
| * ``inheritance``: keywords "extends" and "implements" inside class header | ||
| * ``preprocessor``: preprocessor directive | ||
@@ -1055,1 +1111,24 @@ | ||
| * ``preprocessor``: @attributes | ||
| G-Code ("gcode", "nc") | ||
| ------------------------------- | ||
| * ``keyword``: G words, looping constructs and conditional operators | ||
| * ``comment``: comment | ||
| * ``number``: number | ||
| * ``built_in``: trigonometric and mathematical functions | ||
| * ``title``: M words and variable registers | ||
| * ``preprocessor``: program number and ending character | ||
| * ``label``: block number | ||
| Q ("k", "kdb") | ||
| ------------------- | ||
| * ``comment``: comment | ||
| * ``string``: string constant | ||
| * ``number``: number | ||
| * ``keyword``: language keywords | ||
| * ``constant``: 0/1b | ||
| * ``typename``: built-in plain types (int, symbol etc.) | ||
| * ``built_in``: built-in function |
@@ -58,4 +58,6 @@ Language contributor checklist | ||
| Then put the fragment into the ``test.html`` similar to other languages | ||
| and test if it's properly detected and doesn't break detection of other languages. | ||
| Then put the fragment into the ``test.html`` and | ||
| ``test/language/<language_name>/default.txt``` similar to other languages | ||
| and test if it's properly detected and doesn't break detection of other | ||
| languages. | ||
@@ -62,0 +64,0 @@ |
+31
-22
@@ -21,3 +21,3 @@ var Highlight = function() { | ||
| classes = classes.map(function(c) {return c.replace(/^lang(uage)?-/, '');}); | ||
| return classes.filter(function(c) {return getLanguage(c) || c == 'no-highlight';})[0]; | ||
| return classes.filter(function(c) {return getLanguage(c) || /no(-?)highlight/.test(c);})[0]; | ||
| } | ||
@@ -43,4 +43,2 @@ | ||
| offset += child.nodeValue.length; | ||
| else if (tag(child) == 'br') | ||
| offset += 1; | ||
| else if (child.nodeType == 1) { | ||
@@ -53,7 +51,12 @@ result.push({ | ||
| offset = _nodeStream(child, offset); | ||
| result.push({ | ||
| event: 'stop', | ||
| offset: offset, | ||
| node: child | ||
| }); | ||
| // Prevent void elements from having an end tag that would actually | ||
| // double them in the output. There are more void elements in HTML | ||
| // but we list only those realistically expected in code display. | ||
| if (!tag(child).match(/br|hr|img|input/)) { | ||
| result.push({ | ||
| event: 'stop', | ||
| offset: offset, | ||
| node: child | ||
| }); | ||
| } | ||
| } | ||
@@ -229,4 +232,2 @@ } | ||
| mode.terminators = terminators.length ? langRe(terminators.join('|'), true) : {exec: function(s) {return null;}}; | ||
| mode.continuation = {}; | ||
| } | ||
@@ -310,3 +311,3 @@ | ||
| } | ||
| var result = top.subLanguage ? highlight(top.subLanguage, mode_buffer, true, top.continuation.top) : highlightAuto(mode_buffer); | ||
| var result = top.subLanguage ? highlight(top.subLanguage, mode_buffer, true, subLanguageTop) : highlightAuto(mode_buffer); | ||
| // Counting embedded language score towards the host language may be disabled | ||
@@ -320,3 +321,3 @@ // with zeroing the containing mode relevance. Usecase in point is Markdown that | ||
| if (top.subLanguageMode == 'continuous') { | ||
| top.continuation.top = result.top; | ||
| subLanguageTop = result.top; | ||
| } | ||
@@ -403,6 +404,7 @@ return buildSpan(result.language, result.value, false, true); | ||
| var top = continuation || language; | ||
| var subLanguageTop; | ||
| var result = ''; | ||
| for(var current = top; current != language; current = current.parent) { | ||
| if (current.className) { | ||
| result += buildSpan(current.className, result, true); | ||
| result = buildSpan(current.className, '', true) + result; | ||
| } | ||
@@ -508,14 +510,21 @@ } | ||
| function highlightBlock(block) { | ||
| var text = options.useBR ? block.innerHTML | ||
| .replace(/\n/g,'').replace(/<br>|<br [^>]*>/g, '\n').replace(/<[^>]*>/g,'') | ||
| : block.textContent; | ||
| var language = blockLanguage(block); | ||
| if (language == 'no-highlight') | ||
| if (/no(-?)highlight/.test(language)) | ||
| return; | ||
| var node; | ||
| if (options.useBR) { | ||
| node = document.createElementNS('http://www.w3.org/1999/xhtml', 'div'); | ||
| node.innerHTML = block.innerHTML.replace(/\n/g, '').replace(/<br[ \/]*>/g, '\n'); | ||
| } else { | ||
| node = block; | ||
| } | ||
| var text = node.textContent; | ||
| var result = language ? highlight(language, text, true) : highlightAuto(text); | ||
| var original = nodeStream(block); | ||
| if (original.length) { | ||
| var pre = document.createElementNS('http://www.w3.org/1999/xhtml', 'pre'); | ||
| pre.innerHTML = result.value; | ||
| result.value = mergeStreams(original, nodeStream(pre), text); | ||
| var originalStream = nodeStream(node); | ||
| if (originalStream.length) { | ||
| var resultNode = document.createElementNS('http://www.w3.org/1999/xhtml', 'div'); | ||
| resultNode.innerHTML = result.value; | ||
| result.value = mergeStreams(originalStream, nodeStream(resultNode), text); | ||
| } | ||
@@ -522,0 +531,0 @@ result.value = fixMarkup(result.value); |
+77
-71
| var Highlight = require('./highlight'); | ||
| var hljs = new Highlight(); | ||
| hljs.registerLanguage('bash', require('./languages/bash.js')); | ||
| hljs.registerLanguage('fix', require('./languages/fix.js')); | ||
| hljs.registerLanguage('nsis', require('./languages/nsis.js')); | ||
| hljs.registerLanguage('xml', require('./languages/xml.js')); | ||
| hljs.registerLanguage('asciidoc', require('./languages/asciidoc.js')); | ||
| hljs.registerLanguage('rsl', require('./languages/rsl.js')); | ||
| hljs.registerLanguage('autohotkey', require('./languages/autohotkey.js')); | ||
| hljs.registerLanguage('elixir', require('./languages/elixir.js')); | ||
| hljs.registerLanguage('django', require('./languages/django.js')); | ||
| hljs.registerLanguage('vhdl', require('./languages/vhdl.js')); | ||
| hljs.registerLanguage('haxe', require('./languages/haxe.js')); | ||
| hljs.registerLanguage('erlang', require('./languages/erlang.js')); | ||
| hljs.registerLanguage('cs', require('./languages/cs.js')); | ||
| hljs.registerLanguage('protobuf', require('./languages/protobuf.js')); | ||
| hljs.registerLanguage('vim', require('./languages/vim.js')); | ||
| hljs.registerLanguage('brainfuck', require('./languages/brainfuck.js')); | ||
| hljs.registerLanguage('ruby', require('./languages/ruby.js')); | ||
| hljs.registerLanguage('nimrod', require('./languages/nimrod.js')); | ||
| hljs.registerLanguage('rust', require('./languages/rust.js')); | ||
| hljs.registerLanguage('ruleslanguage', require('./languages/ruleslanguage.js')); | ||
| hljs.registerLanguage('rib', require('./languages/rib.js')); | ||
| hljs.registerLanguage('diff', require('./languages/diff.js')); | ||
| hljs.registerLanguage('haml', require('./languages/haml.js')); | ||
| hljs.registerLanguage('coffeescript', require('./languages/coffeescript.js')); | ||
| hljs.registerLanguage('mel', require('./languages/mel.js')); | ||
| hljs.registerLanguage('nginx', require('./languages/nginx.js')); | ||
| hljs.registerLanguage('oxygene', require('./languages/oxygene.js')); | ||
| hljs.registerLanguage('livecodeserver', require('./languages/livecodeserver.js')); | ||
| hljs.registerLanguage('monkey', require('./languages/monkey.js')); | ||
| hljs.registerLanguage('dust', require('./languages/dust.js')); | ||
| hljs.registerLanguage('go', require('./languages/go.js')); | ||
| hljs.registerLanguage('json', require('./languages/json.js')); | ||
| hljs.registerLanguage('cmake', require('./languages/cmake.js')); | ||
| hljs.registerLanguage('clojure', require('./languages/clojure.js')); | ||
| hljs.registerLanguage('scheme', require('./languages/scheme.js')); | ||
| hljs.registerLanguage('lasso', require('./languages/lasso.js')); | ||
| hljs.registerLanguage('http', require('./languages/http.js')); | ||
| hljs.registerLanguage('javascript', require('./languages/javascript.js')); | ||
| hljs.registerLanguage('mizar', require('./languages/mizar.js')); | ||
| hljs.registerLanguage('markdown', require('./languages/markdown.js')); | ||
| hljs.registerLanguage('dart', require('./languages/dart.js')); | ||
| hljs.registerLanguage('glsl', require('./languages/glsl.js')); | ||
| hljs.registerLanguage('rsl', require('./languages/rsl.js')); | ||
| hljs.registerLanguage('lua', require('./languages/lua.js')); | ||
| hljs.registerLanguage('xml', require('./languages/xml.js')); | ||
| hljs.registerLanguage('markdown', require('./languages/markdown.js')); | ||
| hljs.registerLanguage('css', require('./languages/css.js')); | ||
| hljs.registerLanguage('capnproto', require('./languages/capnproto.js')); | ||
| hljs.registerLanguage('lisp', require('./languages/lisp.js')); | ||
| hljs.registerLanguage('profile', require('./languages/profile.js')); | ||
| hljs.registerLanguage('http', require('./languages/http.js')); | ||
| hljs.registerLanguage('java', require('./languages/java.js')); | ||
| hljs.registerLanguage('gherkin', require('./languages/gherkin.js')); | ||
| hljs.registerLanguage('fsharp', require('./languages/fsharp.js')); | ||
| hljs.registerLanguage('mathematica', require('./languages/mathematica.js')); | ||
| hljs.registerLanguage('swift', require('./languages/swift.js')); | ||
| hljs.registerLanguage('php', require('./languages/php.js')); | ||
| hljs.registerLanguage('haskell', require('./languages/haskell.js')); | ||
| hljs.registerLanguage('1c', require('./languages/1c.js')); | ||
| hljs.registerLanguage('x86asm', require('./languages/x86asm.js')); | ||
| hljs.registerLanguage('python', require('./languages/python.js')); | ||
| hljs.registerLanguage('smalltalk', require('./languages/smalltalk.js')); | ||
| hljs.registerLanguage('tex', require('./languages/tex.js')); | ||
| hljs.registerLanguage('actionscript', require('./languages/actionscript.js')); | ||
| hljs.registerLanguage('sql', require('./languages/sql.js')); | ||
| hljs.registerLanguage('nix', require('./languages/nix.js')); | ||
| hljs.registerLanguage('handlebars', require('./languages/handlebars.js')); | ||
| hljs.registerLanguage('thrift', require('./languages/thrift.js')); | ||
| hljs.registerLanguage('gherkin', require('./languages/gherkin.js')); | ||
| hljs.registerLanguage('php', require('./languages/php.js')); | ||
| hljs.registerLanguage('applescript', require('./languages/applescript.js')); | ||
| hljs.registerLanguage('profile', require('./languages/profile.js')); | ||
| hljs.registerLanguage('brainfuck', require('./languages/brainfuck.js')); | ||
| hljs.registerLanguage('makefile', require('./languages/makefile.js')); | ||
| hljs.registerLanguage('vbnet', require('./languages/vbnet.js')); | ||
| hljs.registerLanguage('vala', require('./languages/vala.js')); | ||
| hljs.registerLanguage('vbscript', require('./languages/vbscript.js')); | ||
| hljs.registerLanguage('bash', require('./languages/bash.js')); | ||
| hljs.registerLanguage('gcode', require('./languages/gcode.js')); | ||
| hljs.registerLanguage('nimrod', require('./languages/nimrod.js')); | ||
| hljs.registerLanguage('vim', require('./languages/vim.js')); | ||
| hljs.registerLanguage('scss', require('./languages/scss.js')); | ||
| hljs.registerLanguage('gradle', require('./languages/gradle.js')); | ||
| hljs.registerLanguage('delphi', require('./languages/delphi.js')); | ||
| hljs.registerLanguage('cpp', require('./languages/cpp.js')); | ||
| hljs.registerLanguage('perl', require('./languages/perl.js')); | ||
| hljs.registerLanguage('haskell', require('./languages/haskell.js')); | ||
| hljs.registerLanguage('smalltalk', require('./languages/smalltalk.js')); | ||
| hljs.registerLanguage('ini', require('./languages/ini.js')); | ||
| hljs.registerLanguage('livecodeserver', require('./languages/livecodeserver.js')); | ||
| hljs.registerLanguage('rib', require('./languages/rib.js')); | ||
| hljs.registerLanguage('d', require('./languages/d.js')); | ||
| hljs.registerLanguage('vbnet', require('./languages/vbnet.js')); | ||
| hljs.registerLanguage('apache', require('./languages/apache.js')); | ||
| hljs.registerLanguage('ruleslanguage', require('./languages/ruleslanguage.js')); | ||
| hljs.registerLanguage('mathematica', require('./languages/mathematica.js')); | ||
| hljs.registerLanguage('scala', require('./languages/scala.js')); | ||
| hljs.registerLanguage('tex', require('./languages/tex.js')); | ||
| hljs.registerLanguage('java', require('./languages/java.js')); | ||
| hljs.registerLanguage('r', require('./languages/r.js')); | ||
| hljs.registerLanguage('axapta', require('./languages/axapta.js')); | ||
| hljs.registerLanguage('perl', require('./languages/perl.js')); | ||
| hljs.registerLanguage('scala', require('./languages/scala.js')); | ||
| hljs.registerLanguage('cmake', require('./languages/cmake.js')); | ||
| hljs.registerLanguage('actionscript', require('./languages/actionscript.js')); | ||
| hljs.registerLanguage('nix', require('./languages/nix.js')); | ||
| hljs.registerLanguage('q', require('./languages/q.js')); | ||
| hljs.registerLanguage('lisp', require('./languages/lisp.js')); | ||
| hljs.registerLanguage('ruby', require('./languages/ruby.js')); | ||
| hljs.registerLanguage('haml', require('./languages/haml.js')); | ||
| hljs.registerLanguage('avrasm', require('./languages/avrasm.js')); | ||
| hljs.registerLanguage('dos', require('./languages/dos.js')); | ||
| hljs.registerLanguage('erlang', require('./languages/erlang.js')); | ||
| hljs.registerLanguage('1c', require('./languages/1c.js')); | ||
| hljs.registerLanguage('cs', require('./languages/cs.js')); | ||
| hljs.registerLanguage('protobuf', require('./languages/protobuf.js')); | ||
| hljs.registerLanguage('rust', require('./languages/rust.js')); | ||
| hljs.registerLanguage('fsharp', require('./languages/fsharp.js')); | ||
| hljs.registerLanguage('lua', require('./languages/lua.js')); | ||
| hljs.registerLanguage('fix', require('./languages/fix.js')); | ||
| hljs.registerLanguage('parser3', require('./languages/parser3.js')); | ||
| hljs.registerLanguage('scilab', require('./languages/scilab.js')); | ||
| hljs.registerLanguage('diff', require('./languages/diff.js')); | ||
| hljs.registerLanguage('typescript', require('./languages/typescript.js')); | ||
| hljs.registerLanguage('ocaml', require('./languages/ocaml.js')); | ||
| hljs.registerLanguage('autohotkey', require('./languages/autohotkey.js')); | ||
| hljs.registerLanguage('groovy', require('./languages/groovy.js')); | ||
| hljs.registerLanguage('objectivec', require('./languages/objectivec.js')); | ||
| hljs.registerLanguage('avrasm', require('./languages/avrasm.js')); | ||
| hljs.registerLanguage('vhdl', require('./languages/vhdl.js')); | ||
| hljs.registerLanguage('coffeescript', require('./languages/coffeescript.js')); | ||
| hljs.registerLanguage('mizar', require('./languages/mizar.js')); | ||
| hljs.registerLanguage('nginx', require('./languages/nginx.js')); | ||
| hljs.registerLanguage('css', require('./languages/css.js')); | ||
| hljs.registerLanguage('thrift', require('./languages/thrift.js')); | ||
| hljs.registerLanguage('capnproto', require('./languages/capnproto.js')); | ||
| hljs.registerLanguage('erlang-repl', require('./languages/erlang-repl.js')); | ||
| hljs.registerLanguage('r', require('./languages/r.js')); | ||
| hljs.registerLanguage('json', require('./languages/json.js')); | ||
| hljs.registerLanguage('django', require('./languages/django.js')); | ||
| hljs.registerLanguage('delphi', require('./languages/delphi.js')); | ||
| hljs.registerLanguage('vbscript', require('./languages/vbscript.js')); | ||
| hljs.registerLanguage('oxygene', require('./languages/oxygene.js')); | ||
| hljs.registerLanguage('mel', require('./languages/mel.js')); | ||
| hljs.registerLanguage('dos', require('./languages/dos.js')); | ||
| hljs.registerLanguage('apache', require('./languages/apache.js')); | ||
| hljs.registerLanguage('scss', require('./languages/scss.js')); | ||
| hljs.registerLanguage('monkey', require('./languages/monkey.js')); | ||
| hljs.registerLanguage('applescript', require('./languages/applescript.js')); | ||
| hljs.registerLanguage('lasso', require('./languages/lasso.js')); | ||
| hljs.registerLanguage('cpp', require('./languages/cpp.js')); | ||
| hljs.registerLanguage('python', require('./languages/python.js')); | ||
| hljs.registerLanguage('x86asm', require('./languages/x86asm.js')); | ||
| hljs.registerLanguage('matlab', require('./languages/matlab.js')); | ||
| hljs.registerLanguage('scilab', require('./languages/scilab.js')); | ||
| hljs.registerLanguage('makefile', require('./languages/makefile.js')); | ||
| hljs.registerLanguage('asciidoc', require('./languages/asciidoc.js')); | ||
| hljs.registerLanguage('parser3', require('./languages/parser3.js')); | ||
| hljs.registerLanguage('clojure', require('./languages/clojure.js')); | ||
| hljs.registerLanguage('elixir', require('./languages/elixir.js')); | ||
| hljs.registerLanguage('typescript', require('./languages/typescript.js')); | ||
| hljs.registerLanguage('go', require('./languages/go.js')); | ||
| hljs.registerLanguage('nsis', require('./languages/nsis.js')); | ||
| module.exports = hljs; |
@@ -24,7 +24,3 @@ module.exports = function(hljs) { | ||
| contains: [ | ||
| { | ||
| className: 'inheritance', | ||
| beginKeywords: 'extends implements', | ||
| relevance: 10 | ||
| }, | ||
| {beginKeywords: 'extends implements'}, | ||
| hljs.UNDERSCORE_TITLE_MODE | ||
@@ -31,0 +27,0 @@ ] |
@@ -5,3 +5,3 @@ module.exports = function(hljs) { | ||
| // Clojure keywords | ||
| 'def cond apply if-not if-let if not not= = < < > <= <= >= == + / * - rem '+ | ||
| 'def cond apply if-not if-let if not not= = < > <= >= == + / * - rem '+ | ||
| 'quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? '+ | ||
@@ -74,10 +74,10 @@ 'set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? '+ | ||
| }; | ||
| var TITLE = { | ||
| var NAME = { | ||
| keywords: keywords, | ||
| lexemes: CLJ_IDENT_RE, | ||
| className: 'title', begin: CLJ_IDENT_RE, | ||
| className: 'keyword', begin: CLJ_IDENT_RE, | ||
| starts: BODY | ||
| }; | ||
| LIST.contains = [{className: 'comment', begin: 'comment'}, TITLE, BODY]; | ||
| LIST.contains = [{className: 'comment', begin: 'comment'}, NAME, BODY]; | ||
| BODY.contains = [LIST, STRING, HINT, HINT_COL, COMMENT, KEY, COLLECTION, NUMBER]; | ||
@@ -84,0 +84,0 @@ COLLECTION.contains = [LIST, STRING, HINT, COMMENT, KEY, COLLECTION, NUMBER]; |
@@ -63,3 +63,5 @@ module.exports = function(hljs) { | ||
| { | ||
| begin: '/\\S(\\\\.|[^\\n])*?/[gim]*(?=\\s|\\W|$)' // \S is required to parse x / 2 / 3 as two divisions | ||
| // regex can't start with space to parse x / 2 / 3 as two divisions | ||
| // regex can't start with *, and it supports an "illegal" in the main mode | ||
| begin: /\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/ | ||
| } | ||
@@ -83,2 +85,3 @@ ] | ||
| keywords: KEYWORDS, | ||
| illegal: /\/\*/, | ||
| contains: EXPRESSIONS.concat([ | ||
@@ -92,3 +95,3 @@ { | ||
| className: 'function', | ||
| begin: '(' + JS_IDENT_RE + '\\s*=\\s*)?(\\(.*\\))?\\s*\\B[-=]>', end: '[-=]>', | ||
| begin: '(^\\s*|\\B)(' + JS_IDENT_RE + '\\s*=\\s*)?(\\(.*\\))?\\s*\\B[-=]>', end: '[-=]>', | ||
| returnBegin: true, | ||
@@ -99,3 +102,3 @@ contains: [ | ||
| className: 'params', | ||
| begin: '\\(', returnBegin: true, | ||
| begin: '\\([^\\(]', returnBegin: true, | ||
| /* We need another contained nameless mode to not have every nested | ||
@@ -102,0 +105,0 @@ pair of parens to be called "params" */ |
+31
-8
@@ -10,5 +10,7 @@ module.exports = function(hljs) { | ||
| 'uint ulong unchecked unsafe ushort using virtual volatile void while async await ' + | ||
| 'protected public private internal ' + | ||
| // Contextual keywords. | ||
| 'ascending descending from get group into join let orderby partial select set value var ' + | ||
| 'where yield'; | ||
| var GENERIC_IDENT_RE = hljs.IDENT_RE + '(<' + hljs.IDENT_RE + '>)?'; | ||
| return { | ||
@@ -55,17 +57,38 @@ aliases: ['csharp'], | ||
| { | ||
| beginKeywords: 'protected public private internal', end: /[{;=]/, | ||
| beginKeywords: 'class namespace interface', end: /[{;=]/, | ||
| illegal: /[^\s:]/, | ||
| contains: [ | ||
| hljs.TITLE_MODE, | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE | ||
| ] | ||
| }, | ||
| { | ||
| // this prevents 'new Name(...)' from being recognized as a function definition | ||
| beginKeywords: 'new', end: /\s/, | ||
| relevance: 0 | ||
| }, | ||
| { | ||
| className: 'function', | ||
| begin: '(' + GENERIC_IDENT_RE + '\\s+)+' + hljs.IDENT_RE + '\\s*\\(', returnBegin: true, end: /[{;=]/, | ||
| excludeEnd: true, | ||
| keywords: KEYWORDS, | ||
| contains: [ | ||
| { | ||
| beginKeywords: 'class namespace interface', | ||
| starts: { | ||
| contains: [hljs.TITLE_MODE] | ||
| } | ||
| begin: hljs.IDENT_RE + '\\s*\\(', returnBegin: true, | ||
| contains: [hljs.TITLE_MODE] | ||
| }, | ||
| { | ||
| begin: hljs.IDENT_RE + '\\s*\\(', returnBegin: true, | ||
| className: 'params', | ||
| begin: /\(/, end: /\)/, | ||
| keywords: KEYWORDS, | ||
| contains: [ | ||
| hljs.TITLE_MODE | ||
| hljs.APOS_STRING_MODE, | ||
| hljs.QUOTE_STRING_MODE, | ||
| hljs.C_NUMBER_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE | ||
| ] | ||
| } | ||
| }, | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE | ||
| ] | ||
@@ -72,0 +95,0 @@ } |
+26
-11
| module.exports = function(hljs) { | ||
| var COMMENT = { | ||
| className: 'comment', | ||
| begin: /@?rem\b/, end: /$/, | ||
| relevance: 10 | ||
| }; | ||
| var LABEL = { | ||
| className: 'label', | ||
| begin: '^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)', | ||
| relevance: 0 | ||
| }; | ||
| return { | ||
@@ -6,27 +16,32 @@ aliases: ['bat', 'cmd'], | ||
| keywords: { | ||
| flow: 'if else goto for in do call exit not exist errorlevel defined equ neq lss leq gtr geq', | ||
| flow: 'if else goto for in do call exit not exist errorlevel defined', | ||
| operator: 'equ neq lss leq gtr geq', | ||
| keyword: 'shift cd dir echo setlocal endlocal set pause copy', | ||
| stream: 'prn nul lpt3 lpt2 lpt1 con com4 com3 com2 com1 aux', | ||
| winutils: 'ping net ipconfig taskkill xcopy ren del' | ||
| winutils: 'ping net ipconfig taskkill xcopy ren del', | ||
| built_in: 'append assoc at attrib break cacls cd chcp chdir chkdsk chkntfs cls cmd color ' + | ||
| 'comp compact convert date dir diskcomp diskcopy doskey erase fs ' + | ||
| 'find findstr format ftype graftabl help keyb label md mkdir mode more move path ' + | ||
| 'pause print popd pushd promt rd recover rem rename replace restore rmdir shift' + | ||
| 'sort start subst time title tree type ver verify vol', | ||
| }, | ||
| contains: [ | ||
| { | ||
| className: 'envvar', begin: '%%[^ ]' | ||
| className: 'envvar', begin: /%%[^ ]|%[^ ]+?%|![^ ]+?!/ | ||
| }, | ||
| { | ||
| className: 'envvar', begin: '%[^ ]+?%' | ||
| className: 'function', | ||
| begin: LABEL.begin, end: 'goto:eof', | ||
| contains: [ | ||
| hljs.inherit(hljs.TITLE_MODE, {begin: '([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*'}), | ||
| COMMENT | ||
| ] | ||
| }, | ||
| { | ||
| className: 'envvar', begin: '![^ ]+?!' | ||
| }, | ||
| { | ||
| className: 'number', begin: '\\b\\d+', | ||
| relevance: 0 | ||
| }, | ||
| { | ||
| className: 'comment', | ||
| begin: '@?rem', end: '$' | ||
| } | ||
| COMMENT | ||
| ] | ||
| }; | ||
| }; |
@@ -6,4 +6,4 @@ module.exports = function(hljs) { | ||
| keyword: | ||
| 'after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun let ' + | ||
| 'not of orelse|10 query receive rem try when xor', | ||
| 'after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if ' + | ||
| 'let not of orelse|10 query receive rem try when xor', | ||
| literal: | ||
@@ -10,0 +10,0 @@ 'false true' |
| module.exports = function(hljs) { | ||
| var TYPEPARAM = { | ||
| begin: '<', end: '>', | ||
| contains: [ | ||
| hljs.inherit(hljs.TITLE_MODE, {begin: /'[a-zA-Z0-9_]+/}) | ||
| ] | ||
| }; | ||
| return { | ||
| aliases: ['fs'], | ||
| keywords: | ||
| // monad builder keywords (at top, matches before non-bang kws) | ||
| 'yield! return! let! do!' + | ||
| // regular keywords | ||
| 'abstract and as assert base begin class default delegate do done ' + | ||
@@ -29,3 +39,4 @@ 'downcast downto elif else end exception extern false finally for ' + | ||
| contains: [ | ||
| hljs.UNDERSCORE_TITLE_MODE | ||
| hljs.UNDERSCORE_TITLE_MODE, | ||
| TYPEPARAM | ||
| ] | ||
@@ -35,3 +46,4 @@ }, | ||
| className: 'annotation', | ||
| begin: '\\[<', end: '>\\]' | ||
| begin: '\\[<', end: '>\\]', | ||
| relevance: 10 | ||
| }, | ||
@@ -38,0 +50,0 @@ { |
| module.exports = function (hljs) { | ||
| return { | ||
| aliases: ['feature'], | ||
| keywords: 'Feature Background Ability Business\ Need Scenario Scenarios Scenario\ Outline Scenario\ Template Examples Given And Then But When', | ||
@@ -4,0 +5,0 @@ contains: [ |
+34
-17
| module.exports = function(hljs) { | ||
| var GENERIC_IDENT_RE = hljs.UNDERSCORE_IDENT_RE + '(<' + hljs.UNDERSCORE_IDENT_RE + '>)?'; | ||
| var KEYWORDS = | ||
@@ -6,3 +7,3 @@ 'false synchronized int abstract float private char boolean static null if const ' + | ||
| 'enum else break transient new catch instanceof byte super volatile case assert short ' + | ||
| 'package default double public try this switch continue throws'; | ||
| 'package default double public try this switch continue throws protected public private'; | ||
| return { | ||
@@ -16,6 +17,6 @@ aliases: ['jsp'], | ||
| begin: '/\\*\\*', end: '\\*/', | ||
| relevance: 0, | ||
| contains: [{ | ||
| className: 'javadoctag', begin: '(^|\\s)@[A-Za-z]+' | ||
| }], | ||
| relevance: 10 | ||
| }] | ||
| }, | ||
@@ -27,23 +28,39 @@ hljs.C_LINE_COMMENT_MODE, | ||
| { | ||
| beginKeywords: 'protected public private', end: /[{;=]/, | ||
| className: 'class', | ||
| beginKeywords: 'class interface', end: /[{;=]/, excludeEnd: true, | ||
| keywords: 'class interface', | ||
| illegal: /[:"\[\]]/, | ||
| contains: [ | ||
| {beginKeywords: 'extends implements'}, | ||
| hljs.UNDERSCORE_TITLE_MODE | ||
| ] | ||
| }, | ||
| { | ||
| // this prevents 'new Name(...)' from being recognized as a function definition | ||
| beginKeywords: 'new', end: /\s/, | ||
| relevance: 0 | ||
| }, | ||
| { | ||
| className: 'function', | ||
| begin: '(' + GENERIC_IDENT_RE + '\\s+)+' + hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true, end: /[{;=]/, | ||
| excludeEnd: true, | ||
| keywords: KEYWORDS, | ||
| contains: [ | ||
| { | ||
| className: 'class', | ||
| beginKeywords: 'class interface', endsWithParent: true, excludeEnd: true, | ||
| illegal: /[:"\[\]]/, | ||
| contains: [ | ||
| { | ||
| beginKeywords: 'extends implements', | ||
| relevance: 10 | ||
| }, | ||
| hljs.UNDERSCORE_TITLE_MODE | ||
| ] | ||
| begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true, | ||
| contains: [hljs.UNDERSCORE_TITLE_MODE] | ||
| }, | ||
| { | ||
| begin: hljs.UNDERSCORE_IDENT_RE + '\\s*\\(', returnBegin: true, | ||
| className: 'params', | ||
| begin: /\(/, end: /\)/, | ||
| keywords: KEYWORDS, | ||
| contains: [ | ||
| hljs.UNDERSCORE_TITLE_MODE | ||
| hljs.APOS_STRING_MODE, | ||
| hljs.QUOTE_STRING_MODE, | ||
| hljs.C_NUMBER_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE | ||
| ] | ||
| } | ||
| }, | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE | ||
| ] | ||
@@ -50,0 +67,0 @@ }, |
@@ -25,3 +25,3 @@ module.exports = function(hljs) { | ||
| className: 'comment', | ||
| begin: ';', end: '$' | ||
| begin: ';', end: '$', relevance: 0 | ||
| }; | ||
@@ -49,3 +49,3 @@ var VARIABLE = { | ||
| begin: '\\(quote ', end: '\\)', | ||
| keywords: {title: 'quote'} | ||
| keywords: 'quote' | ||
| } | ||
@@ -66,3 +66,3 @@ ] | ||
| }; | ||
| LIST.contains = [{className: 'title', begin: LISP_IDENT_RE}, BODY]; | ||
| LIST.contains = [{className: 'keyword', begin: LISP_IDENT_RE}, BODY]; | ||
| BODY.contains = [QUOTED, QUOTED_ATOM, LIST, LITERAL, NUMBER, STRING, COMMENT, VARIABLE, KEYWORD]; | ||
@@ -69,0 +69,0 @@ |
@@ -37,2 +37,3 @@ module.exports = function(hljs) { | ||
| begin: /^\t+/, end: /$/, | ||
| relevance: 0, | ||
| contains: [ | ||
@@ -39,0 +40,0 @@ hljs.QUOTE_STRING_MODE, |
@@ -61,3 +61,3 @@ module.exports = function(hljs) { | ||
| { | ||
| begin: '\\[.+?\\][\\(\\[].+?[\\)\\]]', | ||
| begin: '\\[.+?\\][\\(\\[].*?[\\)\\]]', | ||
| returnBegin: true, | ||
@@ -86,3 +86,3 @@ contains: [ | ||
| { | ||
| begin: '^\\[\.+\\]:', end: '$', | ||
| begin: '^\\[\.+\\]:', | ||
| returnBegin: true, | ||
@@ -92,8 +92,8 @@ contains: [ | ||
| className: 'link_reference', | ||
| begin: '\\[', end: '\\]', | ||
| excludeBegin: true, excludeEnd: true | ||
| }, | ||
| { | ||
| className: 'link_url', | ||
| begin: '\\s', end: '$' | ||
| begin: '\\[', end: '\\]:', | ||
| excludeBegin: true, excludeEnd: true, | ||
| starts: { | ||
| className: 'link_url', | ||
| end: '$' | ||
| } | ||
| } | ||
@@ -100,0 +100,0 @@ ] |
@@ -32,3 +32,4 @@ module.exports = function(hljs) { | ||
| className: 'url', | ||
| begin: '([a-z]+):/', end: '\\s', endsWithParent: true, excludeEnd: true | ||
| begin: '([a-z]+):/', end: '\\s', endsWithParent: true, excludeEnd: true, | ||
| contains: [VAR] | ||
| }, | ||
@@ -35,0 +36,0 @@ { |
@@ -16,3 +16,3 @@ module.exports = function(hljs) { | ||
| built_in: | ||
| 'NSString NSDictionary CGRect CGPoint UIButton UILabel UITextView UIWebView MKMapView ' + | ||
| 'NSString NSData NSDictionary CGRect CGPoint UIButton UILabel UITextView UIWebView MKMapView ' + | ||
| 'NSView NSViewController NSWindow NSWindowController NSSet NSUUID NSIndexSet ' + | ||
@@ -29,2 +29,3 @@ 'UISegmentedControl NSObject UITableViewDelegate UITableViewDataSource NSThread ' + | ||
| 'NSUserDefaults UIWindow NSRange NSArray NSError NSURLRequest NSURLConnection ' + | ||
| 'NSURLSession NSURLSessionDataTask NSURLSessionDownloadTask NSURLSessionUploadTask NSURLResponse' + | ||
| 'UIInterfaceOrientation MPMoviePlayerController dispatch_once_t ' + | ||
@@ -31,0 +32,0 @@ 'dispatch_queue_t dispatch_sync dispatch_async dispatch_once' |
@@ -85,6 +85,3 @@ module.exports = function(hljs) { | ||
| contains: [ | ||
| { | ||
| beginKeywords: 'extends implements', | ||
| relevance: 10 | ||
| }, | ||
| {beginKeywords: 'extends implements'}, | ||
| hljs.UNDERSCORE_TITLE_MODE | ||
@@ -91,0 +88,0 @@ ] |
+15
-33
@@ -102,4 +102,3 @@ module.exports = function(hljs) { | ||
| className: 'symbol', | ||
| begin: ':', | ||
| contains: [STRING, {begin: RUBY_METHOD_RE}], | ||
| begin: hljs.UNDERSCORE_IDENT_RE + '(\\!|\\?)?:', | ||
| relevance: 0 | ||
@@ -109,3 +108,4 @@ }, | ||
| className: 'symbol', | ||
| begin: hljs.UNDERSCORE_IDENT_RE + '(\\!|\\?)?:', | ||
| begin: ':', | ||
| contains: [STRING, {begin: RUBY_METHOD_RE}], | ||
| relevance: 0 | ||
@@ -145,35 +145,17 @@ }, | ||
| PARAMS.contains = RUBY_DEFAULT_CONTAINS; | ||
| var IRB_DEFAULT = [ | ||
| { | ||
| relevance: 1, | ||
| className: 'output', | ||
| begin: '^\\s*=> ', end: "$", | ||
| returnBegin: true, | ||
| contains: [ | ||
| { | ||
| className: 'status', | ||
| begin: '^\\s*=>' | ||
| }, | ||
| { | ||
| begin: ' ', end: '$', | ||
| contains: RUBY_DEFAULT_CONTAINS | ||
| } | ||
| ] | ||
| begin: /^\s*=>/, | ||
| className: 'status', | ||
| starts: { | ||
| end: '$', contains: RUBY_DEFAULT_CONTAINS | ||
| } | ||
| }, | ||
| { | ||
| relevance: 1, | ||
| className: 'input', | ||
| begin: '^[^ ][^=>]*>+ ', end: "$", | ||
| returnBegin: true, | ||
| contains: [ | ||
| { | ||
| className: 'prompt', | ||
| begin: '^[^ ][^=>]*>+' | ||
| }, | ||
| { | ||
| begin: ' ', end: '$', | ||
| contains: RUBY_DEFAULT_CONTAINS | ||
| } | ||
| ] | ||
| className: 'prompt', | ||
| begin: /^\S[^=>\n]*>+/, | ||
| starts: { | ||
| end: '$', contains: RUBY_DEFAULT_CONTAINS | ||
| } | ||
| } | ||
@@ -185,4 +167,4 @@ ]; | ||
| keywords: RUBY_KEYWORDS, | ||
| contains: IRB_DEFAULT.concat(RUBY_DEFAULT_CONTAINS) | ||
| contains: [COMMENT].concat(IRB_DEFAULT).concat(RUBY_DEFAULT_CONTAINS) | ||
| }; | ||
| }; |
| module.exports = function(hljs) { | ||
| return { | ||
| aliases: ['rs'], | ||
| keywords: | ||
| 'alignof as be box break const continue crate do else enum extern ' + | ||
| 'false fn for if impl in let loop match mod mut offsetof once priv ' + | ||
| 'proc pub pure ref return self sizeof static struct super trait true ' + | ||
| 'type typeof unsafe unsized use virtual while yield ' + | ||
| 'int i8 i16 i32 i64 ' + | ||
| 'uint u8 u32 u64 ' + | ||
| 'float f32 f64 ' + | ||
| 'str char bool', | ||
| keywords: { | ||
| keyword: | ||
| 'alignof as be box break const continue crate do else enum extern ' + | ||
| 'false fn for if impl in let loop match mod mut offsetof once priv ' + | ||
| 'proc pub pure ref return self sizeof static struct super trait true ' + | ||
| 'type typeof unsafe unsized use virtual while yield ' + | ||
| 'int i8 i16 i32 i64 ' + | ||
| 'uint u8 u32 u64 ' + | ||
| 'float f32 f64 ' + | ||
| 'str char bool', | ||
| built_in: | ||
| 'assert! assert_eq! bitflags! bytes! cfg! col! concat! concat_idents! ' + | ||
| 'debug_assert! debug_assert_eq! env! fail! file! format! format_args! ' + | ||
| 'include_bin! include_str! line! local_data_key! module_path! ' + | ||
| 'option_env! print! println! select! stringify! try! unimplemented! ' + | ||
| 'unreachable! vec! write! writeln!' | ||
| }, | ||
| lexemes: hljs.IDENT_RE + '!?', | ||
| illegal: '</', | ||
@@ -14,0 +23,0 @@ contains: [ |
+51
-37
| module.exports = function(hljs) { | ||
| var ANNOTATION = { | ||
| className: 'annotation', begin: '@[A-Za-z]+' | ||
| }; | ||
| var STRING = { | ||
@@ -10,2 +12,3 @@ className: 'string', | ||
| }; | ||
| var SYMBOL = { | ||
@@ -15,42 +18,53 @@ className: 'symbol', | ||
| }; | ||
| var TYPE = { | ||
| className: 'type', | ||
| begin: '\\b[A-Z][A-Za-z0-9_]*', | ||
| relevance: 0 | ||
| }; | ||
| var NAME = { | ||
| className: 'title', | ||
| begin: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/, | ||
| relevance: 0 | ||
| } | ||
| var CLASS = { | ||
| className: 'class', | ||
| beginKeywords: 'class object trait type', | ||
| end: /[:={\[(\n;]/, | ||
| contains: [{className: 'keyword', beginKeywords: 'extends with', relevance: 10}, NAME] | ||
| }; | ||
| var METHOD = { | ||
| className: 'function', | ||
| beginKeywords: 'def val', | ||
| end: /[:={\[(\n;]/, | ||
| contains: [NAME] | ||
| }; | ||
| var JAVADOC = { | ||
| className: 'javadoc', | ||
| begin: '/\\*\\*', end: '\\*/', | ||
| contains: [{ | ||
| className: 'javadoctag', | ||
| begin: '@[A-Za-z]+' | ||
| }], | ||
| relevance: 10 | ||
| }; | ||
| return { | ||
| keywords: | ||
| 'type yield lazy override def with val var false true sealed abstract private trait ' + | ||
| 'object null if for while throw finally protected extends import final return else ' + | ||
| 'break new catch super class case package default try this match continue throws', | ||
| keywords: { | ||
| literal: 'true false null', | ||
| keyword: 'type yield lazy override def with val var sealed abstract private trait object if forSome for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit' | ||
| }, | ||
| contains: [ | ||
| { | ||
| className: 'javadoc', | ||
| begin: '/\\*\\*', end: '\\*/', | ||
| contains: [{ | ||
| className: 'javadoctag', | ||
| begin: '@[A-Za-z]+' | ||
| }], | ||
| relevance: 10 | ||
| }, | ||
| hljs.C_LINE_COMMENT_MODE, hljs.C_BLOCK_COMMENT_MODE, | ||
| STRING, hljs.QUOTE_STRING_MODE, | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE, | ||
| STRING, | ||
| hljs.QUOTE_STRING_MODE, | ||
| SYMBOL, | ||
| { | ||
| className: 'class', | ||
| begin: '((case )?class |object |trait )', // beginKeywords won't work because a single "case" shouldn't start this mode | ||
| end: '({|$)', excludeEnd: true, | ||
| illegal: ':', | ||
| keywords: 'case class trait object', | ||
| contains: [ | ||
| { | ||
| beginKeywords: 'extends with', | ||
| relevance: 10 | ||
| }, | ||
| hljs.UNDERSCORE_TITLE_MODE, | ||
| { | ||
| className: 'params', | ||
| begin: '\\(', end: '\\)', | ||
| contains: [ | ||
| hljs.QUOTE_STRING_MODE, STRING, | ||
| ANNOTATION | ||
| ] | ||
| } | ||
| ] | ||
| }, | ||
| TYPE, | ||
| METHOD, | ||
| CLASS, | ||
| hljs.C_NUMBER_MODE, | ||
@@ -57,0 +71,0 @@ ANNOTATION |
@@ -62,3 +62,3 @@ module.exports = function(hljs) { | ||
| className: 'func', | ||
| beginKeywords: 'func', excludeEnd: true, | ||
| beginKeywords: 'func', end: '{', excludeEnd: true, | ||
| contains: [ | ||
@@ -77,5 +77,9 @@ hljs.inherit(hljs.TITLE_MODE, { | ||
| begin: /\(/, end: /\)/, | ||
| keywords: SWIFT_KEYWORDS, | ||
| contains: [ | ||
| hljs.C_LINE_COMMENT_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE | ||
| 'self', | ||
| NUMBERS, | ||
| QUOTE_STRING_MODE, | ||
| hljs.C_BLOCK_COMMENT_MODE, | ||
| {begin: ':'} // relevance booster | ||
| ], | ||
@@ -82,0 +86,0 @@ illegal: /["']/ |
@@ -96,3 +96,3 @@ module.exports = function(hljs) { | ||
| { | ||
| className: 'title', begin: '[^ /><]+', relevance: 0 | ||
| className: 'title', begin: /[^ \/><\n\t]+/, relevance: 0 | ||
| }, | ||
@@ -99,0 +99,0 @@ TAG_INTERNALS |
+406
-358
| { | ||
| "description": "Syntax highlighting with language autodetection.", | ||
| "keywords": [ | ||
| "highlight", | ||
| "syntax" | ||
| ], | ||
| "main": "./lib/index.js", | ||
| "version": "8.1.0", | ||
| "homepage": "http://highlightjs.org/", | ||
| "bugs": { | ||
| "url": "https://github.com/isagalaev/highlight.js/issues" | ||
| }, | ||
| "contributors": [ | ||
| { | ||
| "email": "maniac@softwaremaniacs.org", | ||
| "name": "Ivan Sagalaev (original author)" | ||
| }, | ||
| "name": "Ivan Sagalaev (original author)", | ||
| "email": "maniac@softwaremaniacs.org" | ||
| }, | ||
| { | ||
| "email": "sourdrums@gmail.com", | ||
| "name": "Jeremy Hull" | ||
| }, | ||
| "name": "Jeremy Hull", | ||
| "email": "sourdrums@gmail.com" | ||
| }, | ||
| { | ||
| "email": "efimovov@gmail.com", | ||
| "name": "Oleg Efimov" | ||
| }, | ||
| "name": "Oleg Efimov", | ||
| "email": "efimovov@gmail.com" | ||
| }, | ||
| { | ||
| "email": "gojpeg@gmail.com", | ||
| "name": "Peter Leonov" | ||
| }, | ||
| "name": "Peter Leonov", | ||
| "email": "gojpeg@gmail.com" | ||
| }, | ||
| { | ||
| "email": "Victor.Karamzin@enterra-inc.com", | ||
| "name": "Victor Karamzin" | ||
| }, | ||
| "name": "Victor Karamzin", | ||
| "email": "Victor.Karamzin@enterra-inc.com" | ||
| }, | ||
| { | ||
| "email": "vsevolod.solovyov@gmail.com", | ||
| "name": "Vsevolod Solovyov" | ||
| }, | ||
| "name": "Vsevolod Solovyov", | ||
| "email": "vsevolod.solovyov@gmail.com" | ||
| }, | ||
| { | ||
| "email": "anton@kovalyov.net", | ||
| "name": "Anton Kovalyov" | ||
| }, | ||
| "name": "Anton Kovalyov", | ||
| "email": "anton@kovalyov.net" | ||
| }, | ||
| { | ||
| "email": "lenikita@yandex.ru", | ||
| "name": "Nikita Ledyaev" | ||
| }, | ||
| "name": "Nikita Ledyaev", | ||
| "email": "lenikita@yandex.ru" | ||
| }, | ||
| { | ||
| "email": "qewerty@gmail.com", | ||
| "name": "Konstantin Evdokimenko" | ||
| }, | ||
| "name": "Konstantin Evdokimenko", | ||
| "email": "qewerty@gmail.com" | ||
| }, | ||
| { | ||
| "email": "dmitri@roudakov.ru", | ||
| "name": "Dmitri Roudakov" | ||
| }, | ||
| "name": "Dmitri Roudakov", | ||
| "email": "dmitri@roudakov.ru" | ||
| }, | ||
| { | ||
| "email": "ivanov@supersoft.ru", | ||
| "name": "Yuri Ivanov" | ||
| }, | ||
| "name": "Yuri Ivanov", | ||
| "email": "ivanov@supersoft.ru" | ||
| }, | ||
| { | ||
| "email": "vooon341@mail.ru", | ||
| "name": "Vladimir Ermakov" | ||
| }, | ||
| "name": "Vladimir Ermakov", | ||
| "email": "vooon341@mail.ru" | ||
| }, | ||
| { | ||
| "email": "xonixx@gmail.com", | ||
| "name": "Vladimir Gubarkov" | ||
| }, | ||
| "name": "Vladimir Gubarkov", | ||
| "email": "xonixx@gmail.com" | ||
| }, | ||
| { | ||
| "email": "exogen@gmail.com", | ||
| "name": "Brian Beck" | ||
| }, | ||
| "name": "Brian Beck", | ||
| "email": "exogen@gmail.com" | ||
| }, | ||
| { | ||
| "email": "majestic2k@gmail.com", | ||
| "name": "MajestiC" | ||
| }, | ||
| "name": "MajestiC", | ||
| "email": "majestic2k@gmail.com" | ||
| }, | ||
| { | ||
| "email": "vast@whiteants.net", | ||
| "name": "Vasily Polovnyov" | ||
| }, | ||
| "name": "Vasily Polovnyov", | ||
| "email": "vast@whiteants.net" | ||
| }, | ||
| { | ||
| "email": "voldmar@voldmar.ru", | ||
| "name": "Vladimir Epifanov" | ||
| }, | ||
| "name": "Vladimir Epifanov", | ||
| "email": "voldmar@voldmar.ru" | ||
| }, | ||
| { | ||
| "email": "sam@rmcreative.ru", | ||
| "name": "Alexander Makarov" | ||
| }, | ||
| "name": "Alexander Makarov", | ||
| "email": "sam@rmcreative.ru" | ||
| }, | ||
| { | ||
| "email": "vahtenberg@gmail.com", | ||
| "name": "Vah" | ||
| }, | ||
| "name": "Vah", | ||
| "email": "vahtenberg@gmail.com" | ||
| }, | ||
| { | ||
| "email": "drake.guan@gmail.com", | ||
| "name": "Shuen-Huei Guan" | ||
| }, | ||
| "name": "Shuen-Huei Guan", | ||
| "email": "drake.guan@gmail.com" | ||
| }, | ||
| { | ||
| "email": "jason@diamond.name", | ||
| "name": "Jason Diamond" | ||
| }, | ||
| "name": "Jason Diamond", | ||
| "email": "jason@diamond.name" | ||
| }, | ||
| { | ||
| "email": "mgabru@gmail.com", | ||
| "name": "Michal Gabrukiewicz" | ||
| }, | ||
| "name": "Michal Gabrukiewicz", | ||
| "email": "mgabru@gmail.com" | ||
| }, | ||
| { | ||
| "email": "rukeba@gmail.com", | ||
| "name": "Ruslan Keba" | ||
| }, | ||
| "name": "Ruslan Keba", | ||
| "email": "rukeba@gmail.com" | ||
| }, | ||
| { | ||
| "email": "segyrn@yandex.ru", | ||
| "name": "Sergey Baranov" | ||
| }, | ||
| "name": "Sergey Baranov", | ||
| "email": "segyrn@yandex.ru" | ||
| }, | ||
| { | ||
| "email": "yur4ik7@ukr.net", | ||
| "name": "Zaripov Yura" | ||
| }, | ||
| "name": "Zaripov Yura", | ||
| "email": "yur4ik7@ukr.net" | ||
| }, | ||
| { | ||
| "email": "oleg@volchkov.net", | ||
| "name": "Oleg Volchkov" | ||
| }, | ||
| "name": "Oleg Volchkov", | ||
| "email": "oleg@volchkov.net" | ||
| }, | ||
| { | ||
| "email": "vaskas@programica.ru", | ||
| "name": "Vasily Mikhailitchenko" | ||
| }, | ||
| "name": "Vasily Mikhailitchenko", | ||
| "email": "vaskas@programica.ru" | ||
| }, | ||
| { | ||
| "email": "jan.berkel@gmail.com", | ||
| "name": "Jan Berkel" | ||
| }, | ||
| "name": "Jan Berkel", | ||
| "email": "jan.berkel@gmail.com" | ||
| }, | ||
| { | ||
| "email": "vladmos@gmail.com", | ||
| "name": "Vladimir Moskva" | ||
| }, | ||
| "name": "Vladimir Moskva", | ||
| "email": "vladmos@gmail.com" | ||
| }, | ||
| { | ||
| "email": "lsegal@soen.ca", | ||
| "name": "Loren Segal" | ||
| }, | ||
| "name": "Loren Segal", | ||
| "email": "lsegal@soen.ca" | ||
| }, | ||
| { | ||
| "email": "dmmdrs@mail.ru", | ||
| "name": "Andrew Fedorov" | ||
| }, | ||
| "name": "Andrew Fedorov", | ||
| "email": "dmmdrs@mail.ru" | ||
| }, | ||
| { | ||
| "email": "igor@kalnitsky.org", | ||
| "name": "Igor Kalnitsky" | ||
| }, | ||
| "name": "Igor Kalnitsky", | ||
| "email": "igor@kalnitsky.org" | ||
| }, | ||
| { | ||
| "email": "valerii.hiora@gmail.com", | ||
| "name": "Valerii Hiora" | ||
| }, | ||
| "name": "Valerii Hiora", | ||
| "email": "valerii.hiora@gmail.com" | ||
| }, | ||
| { | ||
| "email": "nikolay.desh@gmail.com", | ||
| "name": "Nikolay Zakharov" | ||
| }, | ||
| "name": "Nikolay Zakharov", | ||
| "email": "nikolay.desh@gmail.com" | ||
| }, | ||
| { | ||
| "email": "arhibot@gmail.com", | ||
| "name": "Dmitry Kovega" | ||
| }, | ||
| "name": "Dmitry Kovega", | ||
| "email": "arhibot@gmail.com" | ||
| }, | ||
| { | ||
| "email": "sergey@ignatov.spb.su", | ||
| "name": "Sergey Ignatov" | ||
| }, | ||
| "name": "Sergey Ignatov", | ||
| "email": "sergey@ignatov.spb.su" | ||
| }, | ||
| { | ||
| "email": "self@antono.info", | ||
| "name": "Antono Vasiljev" | ||
| }, | ||
| "name": "Antono Vasiljev", | ||
| "email": "self@antono.info" | ||
| }, | ||
| { | ||
| "email": "steplg@gmail.com", | ||
| "name": "Stephan Kountso" | ||
| }, | ||
| "name": "Stephan Kountso", | ||
| "email": "steplg@gmail.com" | ||
| }, | ||
| { | ||
| "email": "pumbur@pumbur.net", | ||
| "name": "pumbur" | ||
| }, | ||
| "name": "pumbur", | ||
| "email": "pumbur@pumbur.net" | ||
| }, | ||
| { | ||
| "email": "john.crepezzi@gmail.com", | ||
| "name": "John Crepezzi" | ||
| }, | ||
| "name": "John Crepezzi", | ||
| "email": "john.crepezzi@gmail.com" | ||
| }, | ||
| { | ||
| "email": "andrey.vlasovskikh@gmail.com", | ||
| "name": "Andrey Vlasovskikh" | ||
| }, | ||
| "name": "Andrey Vlasovskikh", | ||
| "email": "andrey.vlasovskikh@gmail.com" | ||
| }, | ||
| { | ||
| "email": "myadzel@gmail.com", | ||
| "name": "Alexander Myadzel" | ||
| }, | ||
| "name": "Alexander Myadzel", | ||
| "email": "myadzel@gmail.com" | ||
| }, | ||
| { | ||
| "email": "imbolk@gmail.com", | ||
| "name": "Evgeny Stepanischev" | ||
| }, | ||
| "name": "Evgeny Stepanischev", | ||
| "email": "imbolk@gmail.com" | ||
| }, | ||
| { | ||
| "email": "dnagir@gmail.com", | ||
| "name": "Dmytrii Nagirniak" | ||
| }, | ||
| "name": "Dmytrii Nagirniak", | ||
| "email": "dnagir@gmail.com" | ||
| }, | ||
| { | ||
| "email": "grigio.org@gmail.com", | ||
| "name": "Luigi Maselli" | ||
| }, | ||
| "name": "Luigi Maselli", | ||
| "email": "grigio.org@gmail.com" | ||
| }, | ||
| { | ||
| "email": "bardadymchik@gmail.com", | ||
| "name": "Denis Bardadym" | ||
| }, | ||
| "name": "Denis Bardadym", | ||
| "email": "bardadymchik@gmail.com" | ||
| }, | ||
| { | ||
| "email": "geekpanth3r@gmail.com", | ||
| "name": "Aahan Krish" | ||
| }, | ||
| "name": "Aahan Krish", | ||
| "email": "geekpanth3r@gmail.com" | ||
| }, | ||
| { | ||
| "email": "baryshev@gmail.com", | ||
| "name": "Ilya Baryshev" | ||
| }, | ||
| "name": "Ilya Baryshev", | ||
| "email": "baryshev@gmail.com" | ||
| }, | ||
| { | ||
| "email": "aleksandar@ruzicic.info", | ||
| "name": "Aleksandar Ruzicic" | ||
| }, | ||
| "name": "Aleksandar Ruzicic", | ||
| "email": "aleksandar@ruzicic.info" | ||
| }, | ||
| { | ||
| "email": "joe@rstudio.org", | ||
| "name": "Joe Cheng" | ||
| }, | ||
| "name": "Joe Cheng", | ||
| "email": "joe@rstudio.org" | ||
| }, | ||
| { | ||
| "email": "angelgarcia.mail@gmail.com", | ||
| "name": "Angel G. Olloqui" | ||
| }, | ||
| "name": "Angel G. Olloqui", | ||
| "email": "angelgarcia.mail@gmail.com" | ||
| }, | ||
| { | ||
| "email": "adminz@web-cms-designs.com", | ||
| "name": "Jason Tate" | ||
| }, | ||
| "name": "Jason Tate", | ||
| "email": "adminz@web-cms-designs.com" | ||
| }, | ||
| { | ||
| "email": "me@stikhomirov.com", | ||
| "name": "Sergey Tikhomirov" | ||
| }, | ||
| "name": "Sergey Tikhomirov", | ||
| "email": "me@stikhomirov.com" | ||
| }, | ||
| { | ||
| "email": "marc.fornos@gmail.com", | ||
| "name": "Marc Fornos" | ||
| }, | ||
| "name": "Marc Fornos", | ||
| "email": "marc.fornos@gmail.com" | ||
| }, | ||
| { | ||
| "email": "yjimbo@gmail.com", | ||
| "name": "Yoshihide Jimbo" | ||
| }, | ||
| "name": "Yoshihide Jimbo", | ||
| "email": "yjimbo@gmail.com" | ||
| }, | ||
| { | ||
| "email": "casey.duncan@gmail.com", | ||
| "name": "Casey Duncan" | ||
| }, | ||
| "name": "Casey Duncan", | ||
| "email": "casey.duncan@gmail.com" | ||
| }, | ||
| { | ||
| "email": "nizhibitsky@gmail.com", | ||
| "name": "Eugene Nizhibitsky" | ||
| }, | ||
| "name": "Eugene Nizhibitsky", | ||
| "email": "nizhibitsky@gmail.com" | ||
| }, | ||
| { | ||
| "email": "gimenete@gmail.com", | ||
| "name": "Alberto Gimeno" | ||
| }, | ||
| "name": "Alberto Gimeno", | ||
| "email": "gimenete@gmail.com" | ||
| }, | ||
| { | ||
| "email": "kimmel.k.programmer@gmail.com", | ||
| "name": "Kirk Kimmel" | ||
| }, | ||
| "name": "Kirk Kimmel", | ||
| "email": "kimmel.k.programmer@gmail.com" | ||
| }, | ||
| { | ||
| "email": "nathan@nathanamy.org", | ||
| "name": "Nathan Grigg" | ||
| }, | ||
| "name": "Nathan Grigg", | ||
| "email": "nathan@nathanamy.org" | ||
| }, | ||
| { | ||
| "email": "drdrang@gmail.com", | ||
| "name": "Dr. Drang" | ||
| }, | ||
| "name": "Dr. Drang", | ||
| "email": "drdrang@gmail.com" | ||
| }, | ||
| { | ||
| "email": "robin.ward@gmail.com", | ||
| "name": "Robin Ward" | ||
| }, | ||
| "name": "Robin Ward", | ||
| "email": "robin.ward@gmail.com" | ||
| }, | ||
| { | ||
| "email": "me@dmedvinsky.name", | ||
| "name": "Dmitry Medvinsky" | ||
| }, | ||
| "name": "Dmitry Medvinsky", | ||
| "email": "me@dmedvinsky.name" | ||
| }, | ||
| { | ||
| "email": "jason.a.jacobson@gmail.com", | ||
| "name": "Jason Jacobson" | ||
| }, | ||
| "name": "Jason Jacobson", | ||
| "email": "jason.a.jacobson@gmail.com" | ||
| }, | ||
| { | ||
| "email": "jonas@follesoe.no", | ||
| "name": "Jonas Follesø" | ||
| }, | ||
| "name": "Jonas Follesø", | ||
| "email": "jonas@follesoe.no" | ||
| }, | ||
| { | ||
| "email": "dan.j.allen@gmail.com", | ||
| "name": "Dan Allen" | ||
| }, | ||
| "name": "Dan Allen", | ||
| "email": "dan.j.allen@gmail.com" | ||
| }, | ||
| { | ||
| "email": "i@noformnocontent.com", | ||
| "name": "noformnocontent" | ||
| }, | ||
| "name": "noformnocontent", | ||
| "email": "i@noformnocontent.com" | ||
| }, | ||
| { | ||
| "email": "damien.white@visoftinc.com", | ||
| "name": "Damien White" | ||
| }, | ||
| "name": "Damien White", | ||
| "email": "damien.white@visoftinc.com" | ||
| }, | ||
| { | ||
| "email": "great_muchacho@mail.ru", | ||
| "name": "Alexander Marenin" | ||
| }, | ||
| "name": "Alexander Marenin", | ||
| "email": "great_muchacho@mail.ru" | ||
| }, | ||
| { | ||
| "email": "cedric.nehemie@gmail.com", | ||
| "name": "Cédric Néhémie" | ||
| }, | ||
| "name": "Cédric Néhémie", | ||
| "email": "cedric.nehemie@gmail.com" | ||
| }, | ||
| { | ||
| "email": "simon@angryrobotzombie.com", | ||
| "name": "Simon Madine" | ||
| }, | ||
| "name": "Simon Madine", | ||
| "email": "simon@angryrobotzombie.com" | ||
| }, | ||
| { | ||
| "email": "contact@sierrasoftworks.com", | ||
| "name": "Benjamin Pannell" | ||
| }, | ||
| "name": "Benjamin Pannell", | ||
| "email": "contact@sierrasoftworks.com" | ||
| }, | ||
| { | ||
| "email": "eric@lassosoft.com", | ||
| "name": "Eric Knibbe" | ||
| }, | ||
| "name": "Eric Knibbe", | ||
| "email": "eric@lassosoft.com" | ||
| }, | ||
| { | ||
| "email": "ren.chiang@gmail.com", | ||
| "name": "Poren Chiang" | ||
| }, | ||
| "name": "Poren Chiang", | ||
| "email": "ren.chiang@gmail.com" | ||
| }, | ||
| { | ||
| "email": "kelleyvanevert@gmail.com", | ||
| "name": "Kelley van Evert" | ||
| }, | ||
| "name": "Kelley van Evert", | ||
| "email": "kelleyvanevert@gmail.com" | ||
| }, | ||
| { | ||
| "email": "kurt@kurtemch.com", | ||
| "name": "Kurt Emch" | ||
| }, | ||
| "name": "Kurt Emch", | ||
| "email": "kurt@kurtemch.com" | ||
| }, | ||
| { | ||
| "email": "mehdi@dogguy.org", | ||
| "name": "Mehdi Dogguy" | ||
| }, | ||
| "name": "Mehdi Dogguy", | ||
| "email": "mehdi@dogguy.org" | ||
| }, | ||
| { | ||
| "email": "nicolas.braud-santoni@ens-cachan.fr", | ||
| "name": "Nicolas Braud-Santoni" | ||
| }, | ||
| "name": "Nicolas Braud-Santoni", | ||
| "email": "nicolas.braud-santoni@ens-cachan.fr" | ||
| }, | ||
| { | ||
| "email": "rabit@revigniter.com", | ||
| "name": "Ralf Bitter" | ||
| }, | ||
| "name": "Ralf Bitter", | ||
| "email": "rabit@revigniter.com" | ||
| }, | ||
| { | ||
| "email": "sylvestre.ledru@scilab-enterprises.com", | ||
| "name": "Sylvestre Ledru" | ||
| }, | ||
| "name": "Sylvestre Ledru", | ||
| "email": "sylvestre.ledru@scilab-enterprises.com" | ||
| }, | ||
| { | ||
| "email": "hello@troykershaw.com", | ||
| "name": "Troy Kershaw" | ||
| }, | ||
| "name": "Troy Kershaw", | ||
| "email": "hello@troykershaw.com" | ||
| }, | ||
| { | ||
| "email": "zena.treep@gmail.com", | ||
| "name": "Zena Treep" | ||
| }, | ||
| "name": "Zena Treep", | ||
| "email": "zena.treep@gmail.com" | ||
| }, | ||
| { | ||
| "email": "dkvasnicka@vendavo.com", | ||
| "name": "Daniel Kvasnicka" | ||
| }, | ||
| "name": "Daniel Kvasnicka", | ||
| "email": "dkvasnicka@vendavo.com" | ||
| }, | ||
| { | ||
| "email": "ck@remobjects.com", | ||
| "name": "Carlo Kok" | ||
| }, | ||
| "name": "Carlo Kok", | ||
| "email": "ck@remobjects.com" | ||
| }, | ||
| { | ||
| "email": "info@atelierbramdehaan.nl", | ||
| "name": "Bram de Haan" | ||
| }, | ||
| "name": "Bram de Haan", | ||
| "email": "info@atelierbramdehaan.nl" | ||
| }, | ||
| { | ||
| "email": "dlimpid@gmail.com", | ||
| "name": "Seongwon Lee" | ||
| }, | ||
| "name": "Seongwon Lee", | ||
| "email": "dlimpid@gmail.com" | ||
| }, | ||
| { | ||
| "email": "megalivoithos@gmail.com", | ||
| "name": "Zaven Muradyan" | ||
| }, | ||
| "name": "Zaven Muradyan", | ||
| "email": "megalivoithos@gmail.com" | ||
| }, | ||
| { | ||
| "email": "git@idleberg.com", | ||
| "name": "Jan T. Sott" | ||
| }, | ||
| "name": "Jan T. Sott", | ||
| "email": "git@idleberg.com" | ||
| }, | ||
| { | ||
| "email": "brent@brentium.com", | ||
| "name": "Brent Bradbury" | ||
| }, | ||
| "name": "Brent Bradbury", | ||
| "email": "brent@brentium.com" | ||
| }, | ||
| { | ||
| "email": "martindlling@gmail.com", | ||
| "name": "Martin Dilling-Hansen" | ||
| }, | ||
| "name": "Martin Dilling-Hansen", | ||
| "email": "martindlling@gmail.com" | ||
| }, | ||
| { | ||
| "email": "vassilevsky@gmail.com", | ||
| "name": "Ilya Vassilevsky" | ||
| }, | ||
| "name": "Ilya Vassilevsky", | ||
| "email": "vassilevsky@gmail.com" | ||
| }, | ||
| { | ||
| "email": "josh@isotope11.com", | ||
| "name": "Josh Adams" | ||
| }, | ||
| "name": "Josh Adams", | ||
| "email": "josh@isotope11.com" | ||
| }, | ||
| { | ||
| "email": "daniel.tao@gmail.com", | ||
| "name": "Dan Tao" | ||
| }, | ||
| "name": "Dan Tao", | ||
| "email": "daniel.tao@gmail.com" | ||
| }, | ||
| { | ||
| "email": "hello@jenius.me", | ||
| "name": "Jeff Escalante" | ||
| }, | ||
| "name": "Jeff Escalante", | ||
| "email": "hello@jenius.me" | ||
| }, | ||
| { | ||
| "email": "yangjvn@126.com", | ||
| "name": "Jun Yang" | ||
| }, | ||
| "name": "Jun Yang", | ||
| "email": "yangjvn@126.com" | ||
| }, | ||
| { | ||
| "email": "info@neor.ru", | ||
| "name": "Nikolay Lisienko" | ||
| }, | ||
| "name": "Nikolay Lisienko", | ||
| "email": "info@neor.ru" | ||
| }, | ||
| { | ||
| "email": "post@auge8472.de", | ||
| "name": "Heiko August" | ||
| }, | ||
| "name": "Heiko August", | ||
| "email": "post@auge8472.de" | ||
| }, | ||
| { | ||
| "email": "domen@dev.si", | ||
| "name": "Domen Kožar" | ||
| }, | ||
| "name": "Domen Kožar", | ||
| "email": "domen@dev.si" | ||
| }, | ||
| { | ||
| "email": "travis.a.odom@gmail.com", | ||
| "name": "Travis Odom" | ||
| }, | ||
| "name": "Travis Odom", | ||
| "email": "travis.a.odom@gmail.com" | ||
| }, | ||
| { | ||
| "email": "innocenat@gmail.com", | ||
| "name": "innocenat" | ||
| }, | ||
| "name": "innocenat", | ||
| "email": "innocenat@gmail.com" | ||
| }, | ||
| { | ||
| "email": "devolonter@gmail.com", | ||
| "name": "Arthur Bikmullin" | ||
| }, | ||
| "name": "Arthur Bikmullin", | ||
| "email": "devolonter@gmail.com" | ||
| }, | ||
| { | ||
| "email": "phi@ruby-reactive.org", | ||
| "name": "Pascal Hurni" | ||
| }, | ||
| "name": "Pascal Hurni", | ||
| "email": "phi@ruby-reactive.org" | ||
| }, | ||
| { | ||
| "email": "romanshmatov@gmail.com", | ||
| "name": "Roman Shmatov" | ||
| }, | ||
| "name": "Roman Shmatov", | ||
| "email": "romanshmatov@gmail.com" | ||
| }, | ||
| { | ||
| "email": "nic@letolab.com", | ||
| "name": "Nic West" | ||
| }, | ||
| "name": "Nic West", | ||
| "email": "nic@letolab.com" | ||
| }, | ||
| { | ||
| "email": "panu.horsmalahti@iki.fi", | ||
| "name": "Panu Horsmalahti" | ||
| }, | ||
| "name": "Panu Horsmalahti", | ||
| "email": "panu.horsmalahti@iki.fi" | ||
| }, | ||
| { | ||
| "email": "tamas.flaviu@gmail.com", | ||
| "name": "Flaviu Tamas" | ||
| }, | ||
| "name": "Flaviu Tamas", | ||
| "email": "tamas.flaviu@gmail.com" | ||
| }, | ||
| { | ||
| "email": "mee.damian@gmail.com", | ||
| "name": "Damian Mee" | ||
| }, | ||
| "name": "Damian Mee", | ||
| "email": "mee.damian@gmail.com" | ||
| }, | ||
| { | ||
| "email": "ikasoki@gmail.com", | ||
| "name": "Christopher Kaster" | ||
| }, | ||
| "name": "Christopher Kaster", | ||
| "email": "ikasoki@gmail.com" | ||
| }, | ||
| { | ||
| "email": "chris@eidhof.nl", | ||
| "name": "Chris Eidhof" | ||
| }, | ||
| "name": "Chris Eidhof", | ||
| "email": "chris@eidhof.nl" | ||
| }, | ||
| { | ||
| "email": "natecook@gmail.com", | ||
| "name": "Nate Cook" | ||
| }, | ||
| "name": "Nate Cook", | ||
| "email": "natecook@gmail.com" | ||
| }, | ||
| { | ||
| "email": "matt@diephouse.com", | ||
| "name": "Matt Diephouse" | ||
| "name": "Matt Diephouse", | ||
| "email": "matt@diephouse.com" | ||
| }, | ||
| { | ||
| "name": "Erik Osheim", | ||
| "email": "d_m@plastic-idolatry.com" | ||
| }, | ||
| { | ||
| "name": "Guillaume Laforge", | ||
| "email": "glaforge@gmail.com" | ||
| }, | ||
| { | ||
| "name": "Lucas Mazza", | ||
| "email": "lucastmazza@gmail.com" | ||
| }, | ||
| { | ||
| "name": "Maxim Dikun", | ||
| "email": "dikmax@gmail.com" | ||
| }, | ||
| { | ||
| "name": "Henrik Feldt", | ||
| "email": "henrik@haf.se" | ||
| }, | ||
| { | ||
| "name": "Anton Kochkov", | ||
| "email": "anton.kochkov@gmail.com" | ||
| }, | ||
| { | ||
| "name": "Michael Allen", | ||
| "email": "Michael.Allen@benefitfocus.com" | ||
| }, | ||
| { | ||
| "name": "JP Verkamp", | ||
| "email": "me@jverkamp.com" | ||
| }, | ||
| { | ||
| "name": "Adam Joseph Cook", | ||
| "email": "adam.joseph.cook@gmail.com" | ||
| }, | ||
| { | ||
| "name": "Sergey Vidyuk", | ||
| "email": "svidyuk@gmail.com" | ||
| } | ||
| ], | ||
| ], | ||
| "engines": { | ||
| "node": "*" | ||
| }, | ||
| "devDependencies": { | ||
| "glob": "^4.0.5", | ||
| "jsdom": "^0.11.1", | ||
| "should": "^4.0.4", | ||
| "mocha": "^1.21.4" | ||
| }, | ||
| "licenses": [ | ||
| { | ||
| "url": "https://github.com/isagalaev/highlight.js/blob/master/LICENSE", | ||
| "type": "BSD" | ||
| "type": "BSD", | ||
| "url": "https://github.com/isagalaev/highlight.js/blob/master/LICENSE" | ||
| } | ||
| ], | ||
| ], | ||
| "name": "highlight.js", | ||
| "author": { | ||
| "email": "maniac@softwaremaniacs.org", | ||
| "name": "Ivan Sagalaev" | ||
| }, | ||
| "name": "Ivan Sagalaev", | ||
| "email": "maniac@softwaremaniacs.org" | ||
| }, | ||
| "description": "Syntax highlighting with language autodetection.", | ||
| "scripts": { | ||
| "test": "./node_modules/.bin/mocha test/" | ||
| }, | ||
| "main": "./lib/index.js", | ||
| "version": "8.2.0", | ||
| "repository": { | ||
| "url": "git://github.com/isagalaev/highlight.js.git", | ||
| "type": "git" | ||
| }, | ||
| "scripts": {}, | ||
| "name": "highlight.js", | ||
| "bugs": { | ||
| "url": "https://github.com/isagalaev/highlight.js/issues" | ||
| }, | ||
| "engines": { | ||
| "node": "*" | ||
| } | ||
| "type": "git", | ||
| "url": "git://github.com/isagalaev/highlight.js.git" | ||
| }, | ||
| "homepage": "https://highlightjs.org/", | ||
| "keywords": [ | ||
| "highlight", | ||
| "syntax" | ||
| ] | ||
| } |
+7
-5
| # Highlight.js | ||
| [](https://travis-ci.org/isagalaev/highlight.js) | ||
| Highlight.js is a syntax highlighter written in JavaScript. It works in the | ||
@@ -30,6 +32,6 @@ browser as well as on the server. It works with pretty much any markup, | ||
| To disable highlighting altogether use the `no-highlight` class: | ||
| To disable highlighting altogether use the `nohighlight` class: | ||
| ```html | ||
| <pre><code class="no-highlight">...</code></pre> | ||
| <pre><code class="nohighlight">...</code></pre> | ||
| ``` | ||
@@ -50,3 +52,3 @@ | ||
| }); | ||
| };) | ||
| }); | ||
| ``` | ||
@@ -87,3 +89,3 @@ | ||
| The official site for the library is at <http://highlightjs.org/>. | ||
| The official site for the library is at <https://highlightjs.org/>. | ||
@@ -98,3 +100,3 @@ Further in-depth documentation for the API and other topics is at | ||
| [3]: http://highlightjs.readthedocs.org/en/latest/api.html#configure-options | ||
| [4]: http://highlightjs.org/download/ | ||
| [4]: https://highlightjs.org/download/ | ||
| [5]: http://highlightjs.readthedocs.org/en/latest/building-testing.html | ||
@@ -101,0 +103,0 @@ [8]: http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
540314
26.01%157
53.92%12761
74.26%102
2%4
Infinity%35
2.94%