yard-api 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/yard-api/version.rb +1 -1
- data/templates/api/fulldoc/html/css/common.css +281 -0
- data/templates/api/fulldoc/html/css/highlight.css +70 -0
- data/templates/api/fulldoc/html/js/highlight/CHANGES.md +953 -0
- data/templates/api/fulldoc/html/js/highlight/LICENSE +24 -0
- data/templates/api/fulldoc/html/js/highlight/README.md +101 -0
- data/templates/api/fulldoc/html/js/highlight/README.ru.md +101 -0
- data/templates/api/fulldoc/html/js/highlight/highlight.pack.js +1 -0
- data/templates/api/fulldoc/html/js/highlight/styles/arta.css +141 -0
- data/templates/api/fulldoc/html/js/highlight/styles/ascetic.css +53 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-dune.dark.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-dune.light.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-forest.dark.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-forest.light.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-heath.dark.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-heath.light.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-lakeside.dark.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-lakeside.light.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-seaside.dark.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/atelier-seaside.light.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/brown_paper.css +105 -0
- data/templates/api/fulldoc/html/js/highlight/styles/brown_papersq.png +0 -0
- data/templates/api/fulldoc/html/js/highlight/styles/codepen-embed.css +108 -0
- data/templates/api/fulldoc/html/js/highlight/styles/color-brewer.css +169 -0
- data/templates/api/fulldoc/html/js/highlight/styles/dark.css +105 -0
- data/templates/api/fulldoc/html/js/highlight/styles/default.css +153 -0
- data/templates/api/fulldoc/html/js/highlight/styles/docco.css +136 -0
- data/templates/api/fulldoc/html/js/highlight/styles/far.css +112 -0
- data/templates/api/fulldoc/html/js/highlight/styles/foundation.css +136 -0
- data/templates/api/fulldoc/html/js/highlight/styles/github.css +127 -0
- data/templates/api/fulldoc/html/js/highlight/styles/googlecode.css +148 -0
- data/templates/api/fulldoc/html/js/highlight/styles/hybrid.css +171 -0
- data/templates/api/fulldoc/html/js/highlight/styles/idea.css +126 -0
- data/templates/api/fulldoc/html/js/highlight/styles/ir_black.css +110 -0
- data/templates/api/fulldoc/html/js/highlight/styles/kimbie.dark.css +96 -0
- data/templates/api/fulldoc/html/js/highlight/styles/kimbie.light.css +96 -0
- data/templates/api/fulldoc/html/js/highlight/styles/magula.css +122 -0
- data/templates/api/fulldoc/html/js/highlight/styles/mono-blue.css +70 -0
- data/templates/api/fulldoc/html/js/highlight/styles/monokai.css +127 -0
- data/templates/api/fulldoc/html/js/highlight/styles/monokai_sublime.css +148 -0
- data/templates/api/fulldoc/html/js/highlight/styles/obsidian.css +154 -0
- data/templates/api/fulldoc/html/js/highlight/styles/paraiso.dark.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/paraiso.light.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/pojoaque.css +108 -0
- data/templates/api/fulldoc/html/js/highlight/styles/pojoaque.jpg +0 -0
- data/templates/api/fulldoc/html/js/highlight/styles/railscasts.css +185 -0
- data/templates/api/fulldoc/html/js/highlight/styles/rainbow.css +109 -0
- data/templates/api/fulldoc/html/js/highlight/styles/school_book.css +113 -0
- data/templates/api/fulldoc/html/js/highlight/styles/school_book.png +0 -0
- data/templates/api/fulldoc/html/js/highlight/styles/solarized_dark.css +109 -0
- data/templates/api/fulldoc/html/js/highlight/styles/solarized_light.css +109 -0
- data/templates/api/fulldoc/html/js/highlight/styles/sunburst.css +165 -0
- data/templates/api/fulldoc/html/js/highlight/styles/tomorrow-night-blue.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/tomorrow-night-bright.css +94 -0
- data/templates/api/fulldoc/html/js/highlight/styles/tomorrow-night-eighties.css +94 -0
- data/templates/api/fulldoc/html/js/highlight/styles/tomorrow-night.css +95 -0
- data/templates/api/fulldoc/html/js/highlight/styles/tomorrow.css +92 -0
- data/templates/api/fulldoc/html/js/highlight/styles/vs.css +94 -0
- data/templates/api/fulldoc/html/js/highlight/styles/xcode.css +159 -0
- data/templates/api/fulldoc/html/js/highlight/styles/zenburn.css +119 -0
- data/templates/api/fulldoc/html/js/jquery-1.11.1.min.js +4 -0
- data/yard-api.gemspec +1 -1
- metadata +61 -1
@@ -0,0 +1,24 @@
|
|
1
|
+
Copyright (c) 2006, Ivan Sagalaev
|
2
|
+
All rights reserved.
|
3
|
+
Redistribution and use in source and binary forms, with or without
|
4
|
+
modification, are permitted provided that the following conditions are met:
|
5
|
+
|
6
|
+
* Redistributions of source code must retain the above copyright
|
7
|
+
notice, this list of conditions and the following disclaimer.
|
8
|
+
* Redistributions in binary form must reproduce the above copyright
|
9
|
+
notice, this list of conditions and the following disclaimer in the
|
10
|
+
documentation and/or other materials provided with the distribution.
|
11
|
+
* Neither the name of highlight.js nor the names of its contributors
|
12
|
+
may be used to endorse or promote products derived from this software
|
13
|
+
without specific prior written permission.
|
14
|
+
|
15
|
+
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY
|
16
|
+
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
17
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
18
|
+
DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
|
19
|
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
20
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
21
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
22
|
+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
23
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
24
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# Highlight.js
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/isagalaev/highlight.js.svg?branch=master)](https://travis-ci.org/isagalaev/highlight.js)
|
4
|
+
|
5
|
+
Highlight.js is a syntax highlighter written in JavaScript. It works in the
|
6
|
+
browser as well as on the server. It works with pretty much any markup,
|
7
|
+
doesn't depend on any framework and has automatic language detection.
|
8
|
+
|
9
|
+
|
10
|
+
## Getting Started
|
11
|
+
|
12
|
+
The bare minimum for using highlight.js on a web page is linking to the library
|
13
|
+
along with one of the styles and calling [`initHighlightingOnLoad`][1]:
|
14
|
+
|
15
|
+
```html
|
16
|
+
<link rel="stylesheet" href="/path/to/styles/default.css">
|
17
|
+
<script src="/path/to/highlight.pack.js"></script>
|
18
|
+
<script>hljs.initHighlightingOnLoad();</script>
|
19
|
+
```
|
20
|
+
|
21
|
+
This will find and highlight code inside of `<pre><code>` tags trying to detect
|
22
|
+
the language automatically. If automatic detection doesn't work for you, you can
|
23
|
+
specify the language in the class attribute:
|
24
|
+
|
25
|
+
```html
|
26
|
+
<pre><code class="html">...</code></pre>
|
27
|
+
```
|
28
|
+
|
29
|
+
The list of supported language classes is available in the [class reference][8].
|
30
|
+
Classes can also be prefixed with either `language-` or `lang-`.
|
31
|
+
|
32
|
+
To disable highlighting altogether use the `nohighlight` class:
|
33
|
+
|
34
|
+
```html
|
35
|
+
<pre><code class="nohighlight">...</code></pre>
|
36
|
+
```
|
37
|
+
|
38
|
+
## Custom Initialization
|
39
|
+
|
40
|
+
When you need a bit more control over the initialization of
|
41
|
+
highlight.js, you can use the [`highlightBlock`][2] and [`configure`][3]
|
42
|
+
functions. This allows you to control *what* to highlight and *when*.
|
43
|
+
|
44
|
+
Here's an equivalent way to calling [`initHighlightingOnLoad`][1] using jQuery:
|
45
|
+
|
46
|
+
```javascript
|
47
|
+
$(document).ready(function() {
|
48
|
+
$('pre code').each(function(i, block) {
|
49
|
+
hljs.highlightBlock(block);
|
50
|
+
});
|
51
|
+
});
|
52
|
+
```
|
53
|
+
|
54
|
+
You can use any tags instead of `<pre><code>` to mark up your code. If you don't
|
55
|
+
use a container that preserve line breaks you will need to configure
|
56
|
+
highlight.js to use the `<br>` tag:
|
57
|
+
|
58
|
+
```javascript
|
59
|
+
hljs.configure({useBR: true});
|
60
|
+
|
61
|
+
$('div.code').each(function(i, block) {
|
62
|
+
hljs.highlightBlock(block);
|
63
|
+
});
|
64
|
+
```
|
65
|
+
|
66
|
+
For other options refer to the documentation for [`configure`][3].
|
67
|
+
|
68
|
+
|
69
|
+
## Getting the Library
|
70
|
+
|
71
|
+
You can get highlight.js as a hosted or custom-build browser script or as a
|
72
|
+
server module. Head over to the [download page][4] for all the options.
|
73
|
+
|
74
|
+
Note, that the library is not supposed to work straight from the source on
|
75
|
+
GitHub, it requires building. If none of the pre-packaged options work for you
|
76
|
+
refer to the [building documentation][5].
|
77
|
+
|
78
|
+
|
79
|
+
## License
|
80
|
+
|
81
|
+
Highlight.js is released under the BSD License. See [LICENSE][10] file for
|
82
|
+
details.
|
83
|
+
|
84
|
+
|
85
|
+
## Links
|
86
|
+
|
87
|
+
The official site for the library is at <https://highlightjs.org/>.
|
88
|
+
|
89
|
+
Further in-depth documentation for the API and other topics is at
|
90
|
+
<http://highlightjs.readthedocs.org/>.
|
91
|
+
|
92
|
+
Authors and contributors are listed in the [AUTHORS.en.txt][9] file.
|
93
|
+
|
94
|
+
[1]: http://highlightjs.readthedocs.org/en/latest/api.html#inithighlightingonload
|
95
|
+
[2]: http://highlightjs.readthedocs.org/en/latest/api.html#highlightblock-block
|
96
|
+
[3]: http://highlightjs.readthedocs.org/en/latest/api.html#configure-options
|
97
|
+
[4]: https://highlightjs.org/download/
|
98
|
+
[5]: http://highlightjs.readthedocs.org/en/latest/building-testing.html
|
99
|
+
[8]: http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html
|
100
|
+
[9]: https://github.com/isagalaev/highlight.js/blob/master/AUTHORS.en.txt
|
101
|
+
[10]: https://github.com/isagalaev/highlight.js/blob/master/LICENSE
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# Highlight.js
|
2
|
+
|
3
|
+
Highlight.js — это подсветчик синтаксиса, написанный на JavaScript. Он работает
|
4
|
+
и в браузере, и на сервере. Он работает с практически любой HTML разметкой, не
|
5
|
+
зависит от каких-либо фреймворков и умеет автоматически определять язык.
|
6
|
+
|
7
|
+
|
8
|
+
## Начало работы
|
9
|
+
|
10
|
+
Минимум, что нужно сделать для использования highlight.js на веб-странице — это
|
11
|
+
подключить библиотеку, CSS-стили и вызывать [`initHighlightingOnLoad`][1]:
|
12
|
+
|
13
|
+
```html
|
14
|
+
<link rel="stylesheet" href="/path/to/styles/default.css">
|
15
|
+
<script src="/path/to/highlight.pack.js"></script>
|
16
|
+
<script>hljs.initHighlightingOnLoad();</script>
|
17
|
+
```
|
18
|
+
|
19
|
+
Библиотека найдёт и раскрасит код внутри тегов `<pre><code>`, попытавшись
|
20
|
+
автоматически определить язык. Когда автоопределение не срабатывает, можно явно
|
21
|
+
указать язык в атрибуте class:
|
22
|
+
|
23
|
+
```html
|
24
|
+
<pre><code class="html">...</code></pre>
|
25
|
+
```
|
26
|
+
|
27
|
+
Список поддерживаемых классов языков доступен в [справочнике по классам][8].
|
28
|
+
Класс также можно предваоить префиксами `language-` или `lang-`.
|
29
|
+
|
30
|
+
Чтобы отключить подсветку для какого-то блока, используйте класс `nohighlight`:
|
31
|
+
|
32
|
+
```html
|
33
|
+
<pre><code class="nohighlight">...</code></pre>
|
34
|
+
```
|
35
|
+
|
36
|
+
## Инициализация вручную
|
37
|
+
|
38
|
+
Чтобы иметь чуть больше контроля за инициализацией подсветки, вы можете
|
39
|
+
использовать функции [`highlightBlock`][2] и [`configure`][3]. Таким образом
|
40
|
+
можно управлять тем, *что* подсвечивать и *когда*.
|
41
|
+
|
42
|
+
Вот пример инициализация, эквивалентной вызову [`initHighlightingOnLoad`][1], но
|
43
|
+
с использованием jQuery:
|
44
|
+
|
45
|
+
```javascript
|
46
|
+
$(document).ready(function() {
|
47
|
+
$('pre code').each(function(i, block) {
|
48
|
+
hljs.highlightBlock(block);
|
49
|
+
});
|
50
|
+
});
|
51
|
+
```
|
52
|
+
|
53
|
+
Вы можете использовать любые теги разметки вместо `<pre><code>`. Если
|
54
|
+
используете контейнер, не сохраняющий переводы строк, вам нужно сказать
|
55
|
+
highlight.js использовать для них тег `<br>`:
|
56
|
+
|
57
|
+
```javascript
|
58
|
+
hljs.configure({useBR: true});
|
59
|
+
|
60
|
+
$('div.code').each(function(i, block) {
|
61
|
+
hljs.highlightBlock(block);
|
62
|
+
});
|
63
|
+
```
|
64
|
+
|
65
|
+
Другие опции можно найти в документации функции [`configure`][3].
|
66
|
+
|
67
|
+
|
68
|
+
## Установка библиотеки
|
69
|
+
|
70
|
+
Highlight.js можно использовать в браузере прямо с CDN хостинга или скачать
|
71
|
+
индивидуальную сборку, а также установив модуль на сервере. На
|
72
|
+
[страница загрузки][4] подробно описаны все варианты.
|
73
|
+
|
74
|
+
Обратите внимание, что библиотека не предназначена для использования в виде
|
75
|
+
исходного кода на GitHub, а требует отдельной сборки. Если вам не подходит ни
|
76
|
+
один из готовых вариантов, читайте [документацию по сборке][5].
|
77
|
+
|
78
|
+
|
79
|
+
## Лицензия
|
80
|
+
|
81
|
+
Highlight.js распространяется под лицензией BSD. Подробнее читайте файл
|
82
|
+
[LICENSE][10].
|
83
|
+
|
84
|
+
|
85
|
+
## Ссылки
|
86
|
+
|
87
|
+
Официальный сайт билиотеки расположен по адресу <https://highlightjs.org/>.
|
88
|
+
|
89
|
+
Более подробная документация по API и другим темам расположена на
|
90
|
+
<http://highlightjs.readthedocs.org/>.
|
91
|
+
|
92
|
+
Авторы и контрибьютора перечислена в файле [AUTHORS.ru.txt][9] file.
|
93
|
+
|
94
|
+
[1]: http://highlightjs.readthedocs.org/en/latest/api.html#inithighlightingonload
|
95
|
+
[2]: http://highlightjs.readthedocs.org/en/latest/api.html#highlightblock-block
|
96
|
+
[3]: http://highlightjs.readthedocs.org/en/latest/api.html#configure-options
|
97
|
+
[4]: https://highlightjs.org/download/
|
98
|
+
[5]: http://highlightjs.readthedocs.org/en/latest/building-testing.html
|
99
|
+
[8]: http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html
|
100
|
+
[9]: https://github.com/isagalaev/highlight.js/blob/master/AUTHORS.ru.txt
|
101
|
+
[10]: https://github.com/isagalaev/highlight.js/blob/master/LICENSE
|
@@ -0,0 +1 @@
|
|
1
|
+
var hljs=new function(){function j(v){return v.replace(/&/gm,"&").replace(/</gm,"<").replace(/>/gm,">")}function t(v){return v.nodeName.toLowerCase()}function h(w,x){var v=w&&w.exec(x);return v&&v.index==0}function r(w){var v=(w.className+" "+(w.parentNode?w.parentNode.className:"")).split(/\s+/);v=v.map(function(x){return x.replace(/^lang(uage)?-/,"")});return v.filter(function(x){return i(x)||/no(-?)highlight/.test(x)})[0]}function o(x,y){var v={};for(var w in x){v[w]=x[w]}if(y){for(var w in y){v[w]=y[w]}}return v}function u(x){var v=[];(function w(y,z){for(var A=y.firstChild;A;A=A.nextSibling){if(A.nodeType==3){z+=A.nodeValue.length}else{if(A.nodeType==1){v.push({event:"start",offset:z,node:A});z=w(A,z);if(!t(A).match(/br|hr|img|input/)){v.push({event:"stop",offset:z,node:A})}}}}return z})(x,0);return v}function q(w,y,C){var x=0;var F="";var z=[];function B(){if(!w.length||!y.length){return w.length?w:y}if(w[0].offset!=y[0].offset){return(w[0].offset<y[0].offset)?w:y}return y[0].event=="start"?w:y}function A(H){function G(I){return" "+I.nodeName+'="'+j(I.value)+'"'}F+="<"+t(H)+Array.prototype.map.call(H.attributes,G).join("")+">"}function E(G){F+="</"+t(G)+">"}function v(G){(G.event=="start"?A:E)(G.node)}while(w.length||y.length){var D=B();F+=j(C.substr(x,D[0].offset-x));x=D[0].offset;if(D==w){z.reverse().forEach(E);do{v(D.splice(0,1)[0]);D=B()}while(D==w&&D.length&&D[0].offset==x);z.reverse().forEach(A)}else{if(D[0].event=="start"){z.push(D[0].node)}else{z.pop()}v(D.splice(0,1)[0])}}return F+j(C.substr(x))}function m(y){function v(z){return(z&&z.source)||z}function w(A,z){return RegExp(v(A),"m"+(y.cI?"i":"")+(z?"g":""))}function x(D,C){if(D.compiled){return}D.compiled=true;D.k=D.k||D.bK;if(D.k){var z={};var E=function(G,F){if(y.cI){F=F.toLowerCase()}F.split(" ").forEach(function(H){var I=H.split("|");z[I[0]]=[G,I[1]?Number(I[1]):1]})};if(typeof D.k=="string"){E("keyword",D.k)}else{Object.keys(D.k).forEach(function(F){E(F,D.k[F])})}D.k=z}D.lR=w(D.l||/\b[A-Za-z0-9_]+\b/,true);if(C){if(D.bK){D.b="\\b("+D.bK.split(" ").join("|")+")\\b"}if(!D.b){D.b=/\B|\b/}D.bR=w(D.b);if(!D.e&&!D.eW){D.e=/\B|\b/}if(D.e){D.eR=w(D.e)}D.tE=v(D.e)||"";if(D.eW&&C.tE){D.tE+=(D.e?"|":"")+C.tE}}if(D.i){D.iR=w(D.i)}if(D.r===undefined){D.r=1}if(!D.c){D.c=[]}var B=[];D.c.forEach(function(F){if(F.v){F.v.forEach(function(G){B.push(o(F,G))})}else{B.push(F=="self"?D:F)}});D.c=B;D.c.forEach(function(F){x(F,D)});if(D.starts){x(D.starts,C)}var A=D.c.map(function(F){return F.bK?"\\.?("+F.b+")\\.?":F.b}).concat([D.tE,D.i]).map(v).filter(Boolean);D.t=A.length?w(A.join("|"),true):{exec:function(F){return null}}}x(y)}function c(T,L,J,R){function v(V,W){for(var U=0;U<W.c.length;U++){if(h(W.c[U].bR,V)){return W.c[U]}}}function z(V,U){if(h(V.eR,U)){return V}if(V.eW){return z(V.parent,U)}}function A(U,V){return !J&&h(V.iR,U)}function E(W,U){var V=M.cI?U[0].toLowerCase():U[0];return W.k.hasOwnProperty(V)&&W.k[V]}function w(aa,Y,X,W){var U=W?"":b.classPrefix,V='<span class="'+U,Z=X?"":"</span>";V+=aa+'">';return V+Y+Z}function N(){if(!I.k){return j(C)}var U="";var X=0;I.lR.lastIndex=0;var V=I.lR.exec(C);while(V){U+=j(C.substr(X,V.index-X));var W=E(I,V);if(W){H+=W[1];U+=w(W[0],j(V[0]))}else{U+=j(V[0])}X=I.lR.lastIndex;V=I.lR.exec(C)}return U+j(C.substr(X))}function F(){if(I.sL&&!f[I.sL]){return j(C)}var U=I.sL?c(I.sL,C,true,S):e(C);if(I.r>0){H+=U.r}if(I.subLanguageMode=="continuous"){S=U.top}return w(U.language,U.value,false,true)}function Q(){return I.sL!==undefined?F():N()}function P(W,V){var U=W.cN?w(W.cN,"",true):"";if(W.rB){D+=U;C=""}else{if(W.eB){D+=j(V)+U;C=""}else{D+=U;C=V}}I=Object.create(W,{parent:{value:I}})}function G(U,Y){C+=U;if(Y===undefined){D+=Q();return 0}var W=v(Y,I);if(W){D+=Q();P(W,Y);return W.rB?0:Y.length}var X=z(I,Y);if(X){var V=I;if(!(V.rE||V.eE)){C+=Y}D+=Q();do{if(I.cN){D+="</span>"}H+=I.r;I=I.parent}while(I!=X.parent);if(V.eE){D+=j(Y)}C="";if(X.starts){P(X.starts,"")}return V.rE?0:Y.length}if(A(Y,I)){throw new Error('Illegal lexeme "'+Y+'" for mode "'+(I.cN||"<unnamed>")+'"')}C+=Y;return Y.length||1}var M=i(T);if(!M){throw new Error('Unknown language: "'+T+'"')}m(M);var I=R||M;var S;var D="";for(var K=I;K!=M;K=K.parent){if(K.cN){D=w(K.cN,"",true)+D}}var C="";var H=0;try{var B,y,x=0;while(true){I.t.lastIndex=x;B=I.t.exec(L);if(!B){break}y=G(L.substr(x,B.index-x),B[0]);x=B.index+y}G(L.substr(x));for(var K=I;K.parent;K=K.parent){if(K.cN){D+="</span>"}}return{r:H,value:D,language:T,top:I}}catch(O){if(O.message.indexOf("Illegal")!=-1){return{r:0,value:j(L)}}else{throw O}}}function e(y,x){x=x||b.languages||Object.keys(f);var v={r:0,value:j(y)};var w=v;x.forEach(function(z){if(!i(z)){return}var A=c(z,y,false);A.language=z;if(A.r>w.r){w=A}if(A.r>v.r){w=v;v=A}});if(w.language){v.second_best=w}return v}function g(v){if(b.tabReplace){v=v.replace(/^((<[^>]+>|\t)+)/gm,function(w,z,y,x){return z.replace(/\t/g,b.tabReplace)})}if(b.useBR){v=v.replace(/\n/g,"<br>")}return v}function p(A){var B=r(A);if(/no(-?)highlight/.test(B)){return}var y;if(b.useBR){y=document.createElementNS("http://www.w3.org/1999/xhtml","div");y.innerHTML=A.innerHTML.replace(/\n/g,"").replace(/<br[ \/]*>/g,"\n")}else{y=A}var z=y.textContent;var v=B?c(B,z,true):e(z);var x=u(y);if(x.length){var w=document.createElementNS("http://www.w3.org/1999/xhtml","div");w.innerHTML=v.value;v.value=q(x,u(w),z)}v.value=g(v.value);A.innerHTML=v.value;A.className+=" hljs "+(!B&&v.language||"");A.result={language:v.language,re:v.r};if(v.second_best){A.second_best={language:v.second_best.language,re:v.second_best.r}}}var b={classPrefix:"hljs-",tabReplace:null,useBR:false,languages:undefined};function s(v){b=o(b,v)}function l(){if(l.called){return}l.called=true;var v=document.querySelectorAll("pre code");Array.prototype.forEach.call(v,p)}function a(){addEventListener("DOMContentLoaded",l,false);addEventListener("load",l,false)}var f={};var n={};function d(v,x){var w=f[v]=x(this);if(w.aliases){w.aliases.forEach(function(y){n[y]=v})}}function k(){return Object.keys(f)}function i(v){return f[v]||f[n[v]]}this.highlight=c;this.highlightAuto=e;this.fixMarkup=g;this.highlightBlock=p;this.configure=s;this.initHighlighting=l;this.initHighlightingOnLoad=a;this.registerLanguage=d;this.listLanguages=k;this.getLanguage=i;this.inherit=o;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";this.BNR="\\b(0b[01]+)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.BE={b:"\\\\[\\s\\S]",r:0};this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE]};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE]};this.PWM={b:/\b(a|an|the|are|I|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such)\b/};this.CLCM={cN:"comment",b:"//",e:"$",c:[this.PWM]};this.CBCM={cN:"comment",b:"/\\*",e:"\\*/",c:[this.PWM]};this.HCM={cN:"comment",b:"#",e:"$",c:[this.PWM]};this.NM={cN:"number",b:this.NR,r:0};this.CNM={cN:"number",b:this.CNR,r:0};this.BNM={cN:"number",b:this.BNR,r:0};this.CSSNM={cN:"number",b:this.NR+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",r:0};this.RM={cN:"regexp",b:/\//,e:/\/[gim]*/,i:/\n/,c:[this.BE,{b:/\[/,e:/\]/,r:0,c:[this.BE]}]};this.TM={cN:"title",b:this.IR,r:0};this.UTM={cN:"title",b:this.UIR,r:0}}();hljs.registerLanguage("bash",function(b){var a={cN:"variable",v:[{b:/\$[\w\d#@][\w\d_]*/},{b:/\$\{(.*?)\}/}]};var d={cN:"string",b:/"/,e:/"/,c:[b.BE,a,{cN:"variable",b:/\$\(/,e:/\)/,c:[b.BE]}]};var c={cN:"string",b:/'/,e:/'/};return{aliases:["sh","zsh"],l:/-?[a-z\.]+/,k:{keyword:"if then else elif fi for break continue while in do done exit return set declare case esac export exec",literal:"true false",built_in:"printf echo read cd pwd pushd popd dirs let eval unset typeset readonly getopts source shopt caller type hash bind help sudo",operator:"-ne -eq -lt -gt -f -d -e -s -l -a"},c:[{cN:"shebang",b:/^#![^\n]+sh\s*$/,r:10},{cN:"function",b:/\w[\w\d_]*\s*\(\s*\)\s*\{/,rB:true,c:[b.inherit(b.TM,{b:/\w[\w\d_]*/})],r:0},b.HCM,b.NM,d,c,a]}});hljs.registerLanguage("cs",function(c){var b="abstract as base bool break byte case catch char checked const continue decimal default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in int interface internal is lock long new null object operator out override params private protected public readonly ref return sbyte sealed short sizeof stackalloc static string struct switch this throw true try typeof uint ulong unchecked unsafe ushort using virtual volatile void while async await protected public private internal ascending descending from get group into join let orderby partial select set value var where yield";var a=c.IR+"(<"+c.IR+">)?";return{aliases:["csharp"],k:b,i:/::/,c:[{cN:"comment",b:"///",e:"$",rB:true,c:[{cN:"xmlDocTag",v:[{b:"///",r:0},{b:"<!--|-->"},{b:"</?",e:">"}]}]},c.CLCM,c.CBCM,{cN:"preprocessor",b:"#",e:"$",k:"if else elif endif define undef warning error line region endregion pragma checksum"},{cN:"string",b:'@"',e:'"',c:[{b:'""'}]},c.ASM,c.QSM,c.CNM,{bK:"class namespace interface",e:/[{;=]/,i:/[^\s:]/,c:[c.TM,c.CLCM,c.CBCM]},{bK:"new",e:/\s/,r:0},{cN:"function",b:"("+a+"\\s+)+"+c.IR+"\\s*\\(",rB:true,e:/[{;=]/,eE:true,k:b,c:[{b:c.IR+"\\s*\\(",rB:true,c:[c.TM]},{cN:"params",b:/\(/,e:/\)/,k:b,c:[c.ASM,c.QSM,c.CNM,c.CBCM]},c.CLCM,c.CBCM]}]}});hljs.registerLanguage("ruby",function(f){var j="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var i="and false then defined module in return redo if BEGIN retry end for true self when next until do begin unless END rescue nil else break undef not super class case require yield alias while ensure elsif or include attr_reader attr_writer attr_accessor";var b={cN:"yardoctag",b:"@[A-Za-z]+"};var c={cN:"value",b:"#<",e:">"};var k={cN:"comment",v:[{b:"#",e:"$",c:[b]},{b:"^\\=begin",e:"^\\=end",c:[b],r:10},{b:"^__END__",e:"\\n$"}]};var d={cN:"subst",b:"#\\{",e:"}",k:i};var e={cN:"string",c:[f.BE,d],v:[{b:/'/,e:/'/},{b:/"/,e:/"/},{b:"%[qw]?\\(",e:"\\)"},{b:"%[qw]?\\[",e:"\\]"},{b:"%[qw]?{",e:"}"},{b:"%[qw]?<",e:">"},{b:"%[qw]?/",e:"/"},{b:"%[qw]?%",e:"%"},{b:"%[qw]?-",e:"-"},{b:"%[qw]?\\|",e:"\\|"},{b:/\B\?(\\\d{1,3}|\\x[A-Fa-f0-9]{1,2}|\\u[A-Fa-f0-9]{4}|\\?\S)\b/}]};var a={cN:"params",b:"\\(",e:"\\)",k:i};var h=[e,c,k,{cN:"class",bK:"class module",e:"$|;",i:/=/,c:[f.inherit(f.TM,{b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?"}),{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+f.IR+"::)?"+f.IR}]},k]},{cN:"function",bK:"def",e:" |$|;",r:0,c:[f.inherit(f.TM,{b:j}),a,k]},{cN:"constant",b:"(::)?(\\b[A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:f.UIR+"(\\!|\\?)?:",r:0},{cN:"symbol",b:":",c:[e,{b:j}],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},{b:"("+f.RSR+")\\s*",c:[c,k,{cN:"regexp",c:[f.BE,d],i:/\n/,v:[{b:"/",e:"/[a-z]*"},{b:"%r{",e:"}[a-z]*"},{b:"%r\\(",e:"\\)[a-z]*"},{b:"%r!",e:"![a-z]*"},{b:"%r\\[",e:"\\][a-z]*"}]}],r:0}];d.c=h;a.c=h;var g=[{b:/^\s*=>/,cN:"status",starts:{e:"$",c:h}},{cN:"prompt",b:/^\S[^=>\n]*>+/,starts:{e:"$",c:h}}];return{aliases:["rb","gemspec","podspec","thor","irb"],k:i,c:[k].concat(g).concat(h)}});hljs.registerLanguage("diff",function(a){return{aliases:["patch"],c:[{cN:"chunk",r:10,v:[{b:/^\@\@ +\-\d+,\d+ +\+\d+,\d+ +\@\@$/},{b:/^\*\*\* +\d+,\d+ +\*\*\*\*$/},{b:/^\-\-\- +\d+,\d+ +\-\-\-\-$/}]},{cN:"header",v:[{b:/Index: /,e:/$/},{b:/=====/,e:/=====$/},{b:/^\-\-\-/,e:/$/},{b:/^\*{3} /,e:/$/},{b:/^\+\+\+/,e:/$/},{b:/\*{5}/,e:/\*{5}$/}]},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"change",b:"^\\!",e:"$"}]}});hljs.registerLanguage("javascript",function(a){return{aliases:["js"],k:{keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const class",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document"},c:[{cN:"pi",b:/^\s*('|")use strict('|")/,r:10},a.ASM,a.QSM,a.CLCM,a.CBCM,a.CNM,{b:"("+a.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[a.CLCM,a.CBCM,a.RM,{b:/</,e:/>;/,r:0,sL:"xml"}],r:0},{cN:"function",bK:"function",e:/\{/,eE:true,c:[a.inherit(a.TM,{b:/[A-Za-z$_][0-9A-Za-z$_]*/}),{cN:"params",b:/\(/,e:/\)/,c:[a.CLCM,a.CBCM],i:/["'\(]/}],i:/\[|%/},{b:/\$[(.]/},{b:"\\."+a.IR,r:0}]}});hljs.registerLanguage("xml",function(a){var c="[A-Za-z0-9\\._:-]+";var d={b:/<\?(php)?(?!\w)/,e:/\?>/,sL:"php",subLanguageMode:"continuous"};var b={eW:true,i:/</,r:0,c:[d,{cN:"attribute",b:c,r:0},{b:"=",r:0,c:[{cN:"value",v:[{b:/"/,e:/"/},{b:/'/,e:/'/},{b:/[^\s\/>]+/}]}]}]};return{aliases:["html","xhtml","rss","atom","xsl","plist"],cI:true,c:[{cN:"doctype",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"<!--",e:"-->",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style(?=\\s|>|$)",e:">",k:{title:"style"},c:[b],starts:{e:"</style>",rE:true,sL:"css"}},{cN:"tag",b:"<script(?=\\s|>|$)",e:">",k:{title:"script"},c:[b],starts:{e:"<\/script>",rE:true,sL:"javascript"}},{b:"<%",e:"%>",sL:"vbscript"},d,{cN:"pi",b:/<\?\w+/,e:/\?>/,r:10},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"title",b:/[^ \/><\n\t]+/,r:0},b]}]}});hljs.registerLanguage("markdown",function(a){return{aliases:["md","mkdown","mkd"],c:[{cN:"header",v:[{b:"^#{1,6}",e:"$"},{b:"^.+?\\n[=-]{2,}$"}]},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",v:[{b:"\\*.+?\\*"},{b:"_.+?_",r:0}]},{cN:"blockquote",b:"^>\\s+",e:"$"},{cN:"code",v:[{b:"`.+?`"},{b:"^( {4}|\t)",e:"$",r:0}]},{cN:"horizontal_rule",b:"^[-\\*]{3,}",e:"$"},{b:"\\[.+?\\][\\(\\[].*?[\\)\\]]",rB:true,c:[{cN:"link_label",b:"\\[",e:"\\]",eB:true,rE:true,r:0},{cN:"link_url",b:"\\]\\(",e:"\\)",eB:true,eE:true},{cN:"link_reference",b:"\\]\\[",e:"\\]",eB:true,eE:true}],r:10},{b:"^\\[.+\\]:",rB:true,c:[{cN:"link_reference",b:"\\[",e:"\\]:",eB:true,eE:true,starts:{cN:"link_url",e:"$"}}]}]}});hljs.registerLanguage("css",function(a){var b="[a-zA-Z-][a-zA-Z0-9_-]*";var c={cN:"function",b:b+"\\(",rB:true,eE:true,e:"\\("};return{cI:true,i:"[=/|']",c:[a.CBCM,{cN:"id",b:"\\#[A-Za-z0-9_-]+"},{cN:"class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"attr_selector",b:"\\[",e:"\\]",i:"$"},{cN:"pseudo",b:":(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\\"\\']+"},{cN:"at_rule",b:"@(font-face|page)",l:"[a-z-]+",k:"font-face page"},{cN:"at_rule",b:"@",e:"[{;]",c:[{cN:"keyword",b:/\S+/},{b:/\s/,eW:true,eE:true,r:0,c:[c,a.ASM,a.QSM,a.CSSNM]}]},{cN:"tag",b:b,r:0},{cN:"rules",b:"{",e:"}",i:"[^\\s]",r:0,c:[a.CBCM,{cN:"rule",b:"[^\\s]",rB:true,e:";",eW:true,c:[{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:true,i:"[^\\s]",starts:{cN:"value",eW:true,eE:true,c:[c,a.CSSNM,a.QSM,a.ASM,a.CBCM,{cN:"hexcolor",b:"#[0-9A-Fa-f]+"},{cN:"important",b:"!important"}]}}]}]}]}});hljs.registerLanguage("http",function(a){return{i:"\\S",c:[{cN:"status",b:"^HTTP/[0-9\\.]+",e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{cN:"request",b:"^[A-Z]+ (.*?) HTTP/[0-9\\.]+$",rB:true,e:"$",c:[{cN:"string",b:" ",e:" ",eB:true,eE:true}]},{cN:"attribute",b:"^\\w",e:": ",eE:true,i:"\\n|\\s|=",starts:{cN:"string",e:"$"}},{b:"\\n\\n",starts:{sL:"",eW:true}}]}});hljs.registerLanguage("java",function(c){var b=c.UIR+"(<"+c.UIR+">)?";var a="false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws protected public private";return{aliases:["jsp"],k:a,i:/<\//,c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",r:0,c:[{cN:"javadoctag",b:"(^|\\s)@[A-Za-z]+"}]},c.CLCM,c.CBCM,c.ASM,c.QSM,{cN:"class",bK:"class interface",e:/[{;=]/,eE:true,k:"class interface",i:/[:"\[\]]/,c:[{bK:"extends implements"},c.UTM]},{bK:"new",e:/\s/,r:0},{cN:"function",b:"("+b+"\\s+)+"+c.UIR+"\\s*\\(",rB:true,e:/[{;=]/,eE:true,k:a,c:[{b:c.UIR+"\\s*\\(",rB:true,c:[c.UTM]},{cN:"params",b:/\(/,e:/\)/,k:a,c:[c.ASM,c.QSM,c.CNM,c.CBCM]},c.CLCM,c.CBCM]},c.CNM,{cN:"annotation",b:"@[A-Za-z]+"}]}});hljs.registerLanguage("php",function(b){var e={cN:"variable",b:"(\\$|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"};var a={cN:"preprocessor",b:/<\?(php)?|\?>/};var c={cN:"string",c:[b.BE,a],v:[{b:'b"',e:'"'},{b:"b'",e:"'"},b.inherit(b.ASM,{i:null}),b.inherit(b.QSM,{i:null})]};var d={v:[b.BNM,b.CNM]};return{aliases:["php3","php4","php5","php6"],cI:true,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception default die require __FUNCTION__ enddeclare final try switch continue endfor endif declare unset true false trait goto instanceof insteadof __DIR__ __NAMESPACE__ yield finally",c:[b.CLCM,b.HCM,{cN:"comment",b:"/\\*",e:"\\*/",c:[{cN:"phpdoc",b:"\\s@[A-Za-z]+"},a]},{cN:"comment",b:"__halt_compiler.+?;",eW:true,k:"__halt_compiler",l:b.UIR},{cN:"string",b:"<<<['\"]?\\w+['\"]?$",e:"^\\w+;",c:[b.BE]},a,e,{cN:"function",bK:"function",e:/[;{]/,eE:true,i:"\\$|\\[|%",c:[b.UTM,{cN:"params",b:"\\(",e:"\\)",c:["self",e,b.CBCM,c,d]}]},{cN:"class",bK:"class interface",e:"{",eE:true,i:/[:\(\$"]/,c:[{bK:"extends implements"},b.UTM]},{bK:"namespace",e:";",i:/[\.']/,c:[b.UTM]},{bK:"use",e:";",c:[b.UTM]},{b:"=>"},c,d]}});hljs.registerLanguage("python",function(a){var f={cN:"prompt",b:/^(>>>|\.\.\.) /};var b={cN:"string",c:[a.BE],v:[{b:/(u|b)?r?'''/,e:/'''/,c:[f],r:10},{b:/(u|b)?r?"""/,e:/"""/,c:[f],r:10},{b:/(u|r|ur)'/,e:/'/,r:10},{b:/(u|r|ur)"/,e:/"/,r:10},{b:/(b|br)'/,e:/'/},{b:/(b|br)"/,e:/"/},a.ASM,a.QSM]};var d={cN:"number",r:0,v:[{b:a.BNR+"[lLjJ]?"},{b:"\\b(0o[0-7]+)[lLjJ]?"},{b:a.CNR+"[lLjJ]?"}]};var e={cN:"params",b:/\(/,e:/\)/,c:["self",f,d,b]};var c={e:/:/,i:/[${=;\n]/,c:[a.UTM,e]};return{aliases:["py","gyp"],k:{keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda nonlocal|10 None True False",built_in:"Ellipsis NotImplemented"},i:/(<\/|->|\?)/,c:[f,d,b,a.HCM,a.inherit(c,{cN:"function",bK:"def",r:10}),a.inherit(c,{cN:"class",bK:"class"}),{cN:"decorator",b:/@/,e:/$/},{b:/\b(print|exec)\(/}]}});hljs.registerLanguage("sql",function(a){var b={cN:"comment",b:"--",e:"$"};return{cI:true,i:/[<>]/,c:[{cN:"operator",bK:"begin end start commit rollback savepoint lock alter create drop rename call delete do handler insert load replace select truncate update set show pragma grant merge describe use explain help declare prepare execute deallocate savepoint release unlock purge reset change stop analyze cache flush optimize repair kill install uninstall checksum restore check backup",e:/;/,eW:true,k:{keyword:"abs absolute acos action add adddate addtime aes_decrypt aes_encrypt after aggregate all allocate alter analyze and any are as asc ascii asin assertion at atan atan2 atn2 authorization authors avg backup before begin benchmark between bin binlog bit_and bit_count bit_length bit_or bit_xor both by cache call cascade cascaded case cast catalog ceil ceiling chain change changed char_length character_length charindex charset check checksum checksum_agg choose close coalesce coercibility collate collation collationproperty column columns columns_updated commit compress concat concat_ws concurrent connect connection connection_id consistent constraint constraints continue contributors conv convert convert_tz corresponding cos cot count count_big crc32 create cross cume_dist curdate current current_date current_time current_timestamp current_user cursor curtime data database databases datalength date_add date_format date_sub dateadd datediff datefromparts datename datepart datetime2fromparts datetimeoffsetfromparts day dayname dayofmonth dayofweek dayofyear deallocate declare decode default deferrable deferred degrees delayed delete des_decrypt des_encrypt des_key_file desc describe descriptor diagnostics difference disconnect distinct distinctrow div do domain double drop dumpfile each else elt enclosed encode encrypt end end-exec engine engines eomonth errors escape escaped event eventdata events except exception exec execute exists exp explain export_set extended external extract fast fetch field fields find_in_set first first_value floor flush for force foreign format found found_rows from from_base64 from_days from_unixtime full function get get_format get_lock getdate getutcdate global go goto grant grants greatest group group_concat grouping grouping_id gtid_subset gtid_subtract handler having help hex high_priority hosts hour ident_current ident_incr ident_seed identified identity if ifnull ignore iif ilike immediate in index indicator inet6_aton inet6_ntoa inet_aton inet_ntoa infile initially inner innodb input insert install instr intersect into is is_free_lock is_ipv4 is_ipv4_compat is_ipv4_mapped is_not is_not_null is_used_lock isdate isnull isolation join key kill language last last_day last_insert_id last_value lcase lead leading least leaves left len lenght level like limit lines ln load load_file local localtime localtimestamp locate lock log log10 log2 logfile logs low_priority lower lpad ltrim make_set makedate maketime master master_pos_wait match matched max md5 medium merge microsecond mid min minute mod mode module month monthname mutex name_const names national natural nchar next no no_write_to_binlog not now nullif nvarchar oct octet_length of old_password on only open optimize option optionally or ord order outer outfile output pad parse partial partition password patindex percent_rank percentile_cont percentile_disc period_add period_diff pi plugin position pow power pragma precision prepare preserve primary prior privileges procedure procedure_analyze processlist profile profiles public publishingservername purge quarter query quick quote quotename radians rand read references regexp relative relaylog release release_lock rename repair repeat replace replicate reset restore restrict return returns reverse revoke right rlike rollback rollup round row row_count rows rpad rtrim savepoint schema scroll sec_to_time second section select serializable server session session_user set sha sha1 sha2 share show sign sin size slave sleep smalldatetimefromparts snapshot some soname soundex sounds_like space sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sql_variant_property sqlstate sqrt square start starting status std stddev stddev_pop stddev_samp stdev stdevp stop str str_to_date straight_join strcmp string stuff subdate substr substring subtime subtring_index sum switchoffset sysdate sysdatetime sysdatetimeoffset system_user sysutcdatetime table tables tablespace tan temporary terminated tertiary_weights then time time_format time_to_sec timediff timefromparts timestamp timestampadd timestampdiff timezone_hour timezone_minute to to_base64 to_days to_seconds todatetimeoffset trailing transaction translation trigger trigger_nestlevel triggers trim truncate try_cast try_convert try_parse ucase uncompress uncompressed_length unhex unicode uninstall union unique unix_timestamp unknown unlock update upgrade upped upper usage use user user_resources using utc_date utc_time utc_timestamp uuid uuid_short validate_password_strength value values var var_pop var_samp variables variance varp version view warnings week weekday weekofyear weight_string when whenever where with work write xml xor year yearweek zon",literal:"true false null",built_in:"array bigint binary bit blob boolean char character date dec decimal float int integer interval number numeric real serial smallint varchar varying int8 serial8 text"},c:[{cN:"string",b:"'",e:"'",c:[a.BE,{b:"''"}]},{cN:"string",b:'"',e:'"',c:[a.BE,{b:'""'}]},{cN:"string",b:"`",e:"`",c:[a.BE]},a.CNM,a.CBCM,b]},a.CBCM,b]}});hljs.registerLanguage("ini",function(a){return{cI:true,i:/\S/,c:[{cN:"comment",b:";",e:"$"},{cN:"title",b:"^\\[",e:"\\]"},{cN:"setting",b:"^[a-z0-9\\[\\]_-]+[ \\t]*=[ \\t]*",e:"$",c:[{cN:"value",eW:true,k:"on off true false yes no",c:[a.QSM,a.NM],r:0}]}]}});hljs.registerLanguage("perl",function(c){var d="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when";var f={cN:"subst",b:"[$@]\\{",e:"\\}",k:d};var g={b:"->{",e:"}"};var a={cN:"variable",v:[{b:/\$\d/},{b:/[\$\%\@](\^\w\b|#\w+(\:\:\w+)*|{\w+}|\w+(\:\:\w*)*)/},{b:/[\$\%\@][^\s\w{]/,r:0}]};var e={cN:"comment",b:"^(__END__|__DATA__)",e:"\\n$",r:5};var h=[c.BE,f,a];var b=[a,c.HCM,e,{cN:"comment",b:"^\\=\\w",e:"\\=cut",eW:true},g,{cN:"string",c:h,v:[{b:"q[qwxr]?\\s*\\(",e:"\\)",r:5},{b:"q[qwxr]?\\s*\\[",e:"\\]",r:5},{b:"q[qwxr]?\\s*\\{",e:"\\}",r:5},{b:"q[qwxr]?\\s*\\|",e:"\\|",r:5},{b:"q[qwxr]?\\s*\\<",e:"\\>",r:5},{b:"qw\\s+q",e:"q",r:5},{b:"'",e:"'",c:[c.BE]},{b:'"',e:'"'},{b:"`",e:"`",c:[c.BE]},{b:"{\\w+}",c:[],r:0},{b:"-?\\w+\\s*\\=\\>",c:[],r:0}]},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{b:"(\\/\\/|"+c.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[c.HCM,e,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[c.BE],r:0}]},{cN:"sub",bK:"sub",e:"(\\s*\\(.*?\\))?[;{]",r:5},{cN:"operator",b:"-\\w\\b",r:0}];f.c=b;g.c=b;return{aliases:["pl"],k:d,c:b}});hljs.registerLanguage("objectivec",function(a){var d={keyword:"int float while char export sizeof typedef const struct for union unsigned long volatile static bool mutable if do return goto void enum else break extern asm case short default double register explicit signed typename this switch continue wchar_t inline readonly assign readwrite self @synchronized id typeof nonatomic super unichar IBOutlet IBAction strong weak copy in out inout bycopy byref oneway __strong __weak __block __autoreleasing @private @protected @public @try @property @end @throw @catch @finally @autoreleasepool @synthesize @dynamic @selector @optional @required",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"NSString NSData NSDictionary CGRect CGPoint UIButton UILabel UITextView UIWebView MKMapView NSView NSViewController NSWindow NSWindowController NSSet NSUUID NSIndexSet UISegmentedControl NSObject UITableViewDelegate UITableViewDataSource NSThread UIActivityIndicator UITabbar UIToolBar UIBarButtonItem UIImageView NSAutoreleasePool UITableView BOOL NSInteger CGFloat NSException NSLog NSMutableString NSMutableArray NSMutableDictionary NSURL NSIndexPath CGSize UITableViewCell UIView UIViewController UINavigationBar UINavigationController UITabBarController UIPopoverController UIPopoverControllerDelegate UIImage NSNumber UISearchBar NSFetchedResultsController NSFetchedResultsChangeType UIScrollView UIScrollViewDelegate UIEdgeInsets UIColor UIFont UIApplication NSNotFound NSNotificationCenter NSNotification UILocalNotification NSBundle NSFileManager NSTimeInterval NSDate NSCalendar NSUserDefaults UIWindow NSRange NSArray NSError NSURLRequest NSURLConnection NSURLSession NSURLSessionDataTask NSURLSessionDownloadTask NSURLSessionUploadTask NSURLResponseUIInterfaceOrientation MPMoviePlayerController dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"};var c=/[a-zA-Z@][a-zA-Z0-9_]*/;var b="@interface @class @protocol @implementation";return{aliases:["m","mm","objc","obj-c"],k:d,l:c,i:"</",c:[a.CLCM,a.CBCM,a.CNM,a.QSM,{cN:"string",v:[{b:'@"',e:'"',i:"\\n",c:[a.BE]},{b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"}]},{cN:"preprocessor",b:"#",e:"$",c:[{cN:"title",v:[{b:'"',e:'"'},{b:"<",e:">"}]}]},{cN:"class",b:"("+b.split(" ").join("|")+")\\b",e:"({|$)",eE:true,k:b,l:c,c:[a.UTM]},{cN:"variable",b:"\\."+a.UIR,r:0}]}});hljs.registerLanguage("coffeescript",function(c){var b={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off",reserved:"case default function var void with const let enum export import native __hasProp __extends __slice __bind __indexOf",built_in:"npm require console print module global window document"};var a="[A-Za-z$_][0-9A-Za-z$_]*";var f=c.inherit(c.TM,{b:a});var e={cN:"subst",b:/#\{/,e:/}/,k:b};var d=[c.BNM,c.inherit(c.CNM,{starts:{e:"(\\s*/)?",r:0}}),{cN:"string",v:[{b:/'''/,e:/'''/,c:[c.BE]},{b:/'/,e:/'/,c:[c.BE]},{b:/"""/,e:/"""/,c:[c.BE,e]},{b:/"/,e:/"/,c:[c.BE,e]}]},{cN:"regexp",v:[{b:"///",e:"///",c:[e,c.HCM]},{b:"//[gim]*",r:0},{b:/\/(?![ *])(\\\/|.)*?\/[gim]*(?=\W|$)/}]},{cN:"property",b:"@"+a},{b:"`",e:"`",eB:true,eE:true,sL:"javascript"}];e.c=d;return{aliases:["coffee","cson","iced"],k:b,i:/\/\*/,c:d.concat([{cN:"comment",b:"###",e:"###"},c.HCM,{cN:"function",b:"(^\\s*|\\B)("+a+"\\s*=\\s*)?(\\(.*\\))?\\s*\\B[-=]>",e:"[-=]>",rB:true,c:[f,{cN:"params",b:"\\([^\\(]",rB:true,c:[{b:/\(/,e:/\)/,k:b,c:["self"].concat(d)}]}]},{cN:"class",bK:"class",e:"$",i:/[:="\[\]]/,c:[{bK:"extends",eW:true,i:/[:="\[\]]/,c:[f]},f]},{cN:"attribute",b:a+":",e:":",rB:true,eE:true,r:0}])}});hljs.registerLanguage("nginx",function(c){var b={cN:"variable",v:[{b:/\$\d+/},{b:/\$\{/,e:/}/},{b:"[\\$\\@]"+c.UIR}]};var a={eW:true,l:"[a-z/_]+",k:{built_in:"on off yes no true false none blocked debug info notice warn error crit select break last permanent redirect kqueue rtsig epoll poll /dev/poll"},r:0,i:"=>",c:[c.HCM,{cN:"string",c:[c.BE,b],v:[{b:/"/,e:/"/},{b:/'/,e:/'/}]},{cN:"url",b:"([a-z]+):/",e:"\\s",eW:true,eE:true,c:[b]},{cN:"regexp",c:[c.BE,b],v:[{b:"\\s\\^",e:"\\s|{|;",rE:true},{b:"~\\*?\\s+",e:"\\s|{|;",rE:true},{b:"\\*(\\.[a-z\\-]+)+"},{b:"([a-z\\-]+\\.)+\\*"}]},{cN:"number",b:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{cN:"number",b:"\\b\\d+[kKmMgGdshdwy]*\\b",r:0},b]};return{aliases:["nginxconf"],c:[c.HCM,{b:c.UIR+"\\s",e:";|{",rB:true,c:[{cN:"title",b:c.UIR,starts:a}],r:0}],i:"[^\\s\\}]"}});hljs.registerLanguage("json",function(a){var e={literal:"true false null"};var d=[a.QSM,a.CNM];var c={cN:"value",e:",",eW:true,eE:true,c:d,k:e};var b={b:"{",e:"}",c:[{cN:"attribute",b:'\\s*"',e:'"\\s*:\\s*',eB:true,eE:true,c:[a.BE],i:"\\n",starts:c}],i:"\\S"};var f={b:"\\[",e:"\\]",c:[a.inherit(c,{cN:null})],i:"\\S"};d.splice(d.length,0,b,f);return{c:d,k:e,i:"\\S"}});hljs.registerLanguage("apache",function(a){var b={cN:"number",b:"[\\$%]\\d+"};return{aliases:["apacheconf"],cI:true,c:[a.HCM,{cN:"tag",b:"</?",e:">"},{cN:"keyword",b:/\w+/,r:0,k:{common:"order deny allow setenv rewriterule rewriteengine rewritecond documentroot sethandler errordocument loadmodule options header listen serverroot servername"},starts:{e:/$/,r:0,k:{literal:"on off all"},c:[{cN:"sqbracket",b:"\\s\\[",e:"\\]$"},{cN:"cbracket",b:"[\\$%]\\{",e:"\\}",c:["self",b]},b,a.QSM]}}],i:/\S/}});hljs.registerLanguage("cpp",function(a){var b={keyword:"false int float while private char catch export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace unsigned long throw volatile static protected bool template mutable if public friend do return goto auto void enum else break new extern using true class asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue wchar_t inline delete alignof char16_t char32_t constexpr decltype noexcept nullptr static_assert thread_local restrict _Bool complex _Complex _Imaginary",built_in:"std string cin cout cerr clog stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr abort abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf"};return{aliases:["c","h","c++","h++"],k:b,i:"</",c:[a.CLCM,a.CBCM,a.QSM,{cN:"string",b:"'\\\\?.",e:"'",i:"."},{cN:"number",b:"\\b(\\d+(\\.\\d*)?|\\.\\d+)(u|U|l|L|ul|UL|f|F)"},a.CNM,{cN:"preprocessor",b:"#",e:"$",k:"if else elif endif define undef warning error line pragma",c:[{b:'include\\s*[<"]',e:'[>"]',k:"include",i:"\\n"},a.CLCM]},{cN:"stl_container",b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:b,c:["self"]},{b:a.IR+"::"}]}});hljs.registerLanguage("makefile",function(a){var b={cN:"variable",b:/\$\(/,e:/\)/,c:[a.BE]};return{aliases:["mk","mak"],c:[a.HCM,{b:/^\w+\s*\W*=/,rB:true,r:0,starts:{cN:"constant",e:/\s*\W*=/,eE:true,starts:{e:/$/,r:0,c:[b]}}},{cN:"title",b:/^[\w]+:\s*$/},{cN:"phony",b:/^\.PHONY:/,e:/$/,k:".PHONY",l:/[\.\w]+/},{b:/^\t+/,e:/$/,r:0,c:[a.QSM,b]}]}});
|
@@ -0,0 +1,141 @@
|
|
1
|
+
/*
|
2
|
+
Date: 17.V.2011
|
3
|
+
Author: pumbur <pumbur@pumbur.net>
|
4
|
+
*/
|
5
|
+
|
6
|
+
.hljs {
|
7
|
+
display: block;
|
8
|
+
overflow-x: auto;
|
9
|
+
padding: 0.5em;
|
10
|
+
background: #222;
|
11
|
+
-webkit-text-size-adjust: none;
|
12
|
+
}
|
13
|
+
|
14
|
+
.profile .hljs-header *,
|
15
|
+
.ini .hljs-title,
|
16
|
+
.nginx .hljs-title {
|
17
|
+
color: #fff;
|
18
|
+
}
|
19
|
+
|
20
|
+
.hljs-comment,
|
21
|
+
.hljs-javadoc,
|
22
|
+
.hljs-preprocessor,
|
23
|
+
.hljs-preprocessor .hljs-title,
|
24
|
+
.hljs-pragma,
|
25
|
+
.hljs-shebang,
|
26
|
+
.profile .hljs-summary,
|
27
|
+
.diff,
|
28
|
+
.hljs-pi,
|
29
|
+
.hljs-doctype,
|
30
|
+
.hljs-tag,
|
31
|
+
.hljs-template_comment,
|
32
|
+
.css .hljs-rules,
|
33
|
+
.tex .hljs-special {
|
34
|
+
color: #444;
|
35
|
+
}
|
36
|
+
|
37
|
+
.hljs-string,
|
38
|
+
.hljs-symbol,
|
39
|
+
.diff .hljs-change,
|
40
|
+
.hljs-regexp,
|
41
|
+
.xml .hljs-attribute,
|
42
|
+
.smalltalk .hljs-char,
|
43
|
+
.xml .hljs-value,
|
44
|
+
.ini .hljs-value,
|
45
|
+
.clojure .hljs-attribute,
|
46
|
+
.coffeescript .hljs-attribute {
|
47
|
+
color: #ffcc33;
|
48
|
+
}
|
49
|
+
|
50
|
+
.hljs-number,
|
51
|
+
.hljs-addition {
|
52
|
+
color: #00cc66;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs-built_in,
|
56
|
+
.hljs-literal,
|
57
|
+
.hljs-type,
|
58
|
+
.hljs-typename,
|
59
|
+
.go .hljs-constant,
|
60
|
+
.ini .hljs-keyword,
|
61
|
+
.lua .hljs-title,
|
62
|
+
.perl .hljs-variable,
|
63
|
+
.php .hljs-variable,
|
64
|
+
.mel .hljs-variable,
|
65
|
+
.django .hljs-variable,
|
66
|
+
.css .funtion,
|
67
|
+
.smalltalk .method,
|
68
|
+
.hljs-hexcolor,
|
69
|
+
.hljs-important,
|
70
|
+
.hljs-flow,
|
71
|
+
.hljs-inheritance,
|
72
|
+
.parser3 .hljs-variable {
|
73
|
+
color: #32aaee;
|
74
|
+
}
|
75
|
+
|
76
|
+
.hljs-keyword,
|
77
|
+
.hljs-tag .hljs-title,
|
78
|
+
.css .hljs-tag,
|
79
|
+
.css .hljs-class,
|
80
|
+
.css .hljs-id,
|
81
|
+
.css .hljs-pseudo,
|
82
|
+
.css .hljs-attr_selector,
|
83
|
+
.hljs-winutils,
|
84
|
+
.tex .hljs-command,
|
85
|
+
.hljs-request,
|
86
|
+
.hljs-status {
|
87
|
+
color: #6644aa;
|
88
|
+
}
|
89
|
+
|
90
|
+
.hljs-title,
|
91
|
+
.ruby .hljs-constant,
|
92
|
+
.vala .hljs-constant,
|
93
|
+
.hljs-parent,
|
94
|
+
.hljs-deletion,
|
95
|
+
.hljs-template_tag,
|
96
|
+
.css .hljs-keyword,
|
97
|
+
.objectivec .hljs-class .hljs-id,
|
98
|
+
.smalltalk .hljs-class,
|
99
|
+
.lisp .hljs-keyword,
|
100
|
+
.apache .hljs-tag,
|
101
|
+
.nginx .hljs-variable,
|
102
|
+
.hljs-envvar,
|
103
|
+
.bash .hljs-variable,
|
104
|
+
.go .hljs-built_in,
|
105
|
+
.vbscript .hljs-built_in,
|
106
|
+
.lua .hljs-built_in,
|
107
|
+
.rsl .hljs-built_in,
|
108
|
+
.tail,
|
109
|
+
.avrasm .hljs-label,
|
110
|
+
.tex .hljs-formula,
|
111
|
+
.tex .hljs-formula * {
|
112
|
+
color: #bb1166;
|
113
|
+
}
|
114
|
+
|
115
|
+
.hljs-yardoctag,
|
116
|
+
.hljs-phpdoc,
|
117
|
+
.hljs-dartdoc,
|
118
|
+
.profile .hljs-header,
|
119
|
+
.ini .hljs-title,
|
120
|
+
.apache .hljs-tag,
|
121
|
+
.parser3 .hljs-title {
|
122
|
+
font-weight: bold;
|
123
|
+
}
|
124
|
+
|
125
|
+
.coffeescript .javascript,
|
126
|
+
.javascript .xml,
|
127
|
+
.tex .hljs-formula,
|
128
|
+
.xml .javascript,
|
129
|
+
.xml .vbscript,
|
130
|
+
.xml .css,
|
131
|
+
.xml .hljs-cdata {
|
132
|
+
opacity: 0.6;
|
133
|
+
}
|
134
|
+
|
135
|
+
.hljs,
|
136
|
+
.hljs-subst,
|
137
|
+
.diff .hljs-chunk,
|
138
|
+
.css .hljs-value,
|
139
|
+
.css .hljs-attribute {
|
140
|
+
color: #aaa;
|
141
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: white;
|
12
|
+
color: black;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-string,
|
17
|
+
.hljs-tag .hljs-value,
|
18
|
+
.hljs-filter .hljs-argument,
|
19
|
+
.hljs-addition,
|
20
|
+
.hljs-change,
|
21
|
+
.apache .hljs-tag,
|
22
|
+
.apache .hljs-cbracket,
|
23
|
+
.nginx .hljs-built_in,
|
24
|
+
.tex .hljs-formula {
|
25
|
+
color: #888;
|
26
|
+
}
|
27
|
+
|
28
|
+
.hljs-comment,
|
29
|
+
.hljs-template_comment,
|
30
|
+
.hljs-shebang,
|
31
|
+
.hljs-doctype,
|
32
|
+
.hljs-pi,
|
33
|
+
.hljs-javadoc,
|
34
|
+
.hljs-deletion,
|
35
|
+
.apache .hljs-sqbracket {
|
36
|
+
color: #ccc;
|
37
|
+
}
|
38
|
+
|
39
|
+
.hljs-keyword,
|
40
|
+
.hljs-tag .hljs-title,
|
41
|
+
.ini .hljs-title,
|
42
|
+
.lisp .hljs-title,
|
43
|
+
.http .hljs-title,
|
44
|
+
.nginx .hljs-title,
|
45
|
+
.css .hljs-tag,
|
46
|
+
.hljs-winutils,
|
47
|
+
.hljs-flow,
|
48
|
+
.apache .hljs-tag,
|
49
|
+
.tex .hljs-command,
|
50
|
+
.hljs-request,
|
51
|
+
.hljs-status {
|
52
|
+
font-weight: bold;
|
53
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/* Base16 Atelier Dune Dark - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
/* https://github.com/jmblog/color-themes-for-highlightjs */
|
5
|
+
|
6
|
+
/* Atelier Dune Dark Comment */
|
7
|
+
.hljs-comment,
|
8
|
+
.hljs-title {
|
9
|
+
color: #999580;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* Atelier Dune Dark Red */
|
13
|
+
.hljs-variable,
|
14
|
+
.hljs-attribute,
|
15
|
+
.hljs-tag,
|
16
|
+
.hljs-regexp,
|
17
|
+
.ruby .hljs-constant,
|
18
|
+
.xml .hljs-tag .hljs-title,
|
19
|
+
.xml .hljs-pi,
|
20
|
+
.xml .hljs-doctype,
|
21
|
+
.html .hljs-doctype,
|
22
|
+
.css .hljs-id,
|
23
|
+
.css .hljs-class,
|
24
|
+
.css .hljs-pseudo {
|
25
|
+
color: #d73737;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Atelier Dune Dark Orange */
|
29
|
+
.hljs-number,
|
30
|
+
.hljs-preprocessor,
|
31
|
+
.hljs-pragma,
|
32
|
+
.hljs-built_in,
|
33
|
+
.hljs-literal,
|
34
|
+
.hljs-params,
|
35
|
+
.hljs-constant {
|
36
|
+
color: #b65611;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Atelier Dune Dark Yellow */
|
40
|
+
.ruby .hljs-class .hljs-title,
|
41
|
+
.css .hljs-rules .hljs-attribute {
|
42
|
+
color: #cfb017;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Atelier Dune Dark Green */
|
46
|
+
.hljs-string,
|
47
|
+
.hljs-value,
|
48
|
+
.hljs-inheritance,
|
49
|
+
.hljs-header,
|
50
|
+
.ruby .hljs-symbol,
|
51
|
+
.xml .hljs-cdata {
|
52
|
+
color: #60ac39;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Atelier Dune Dark Aqua */
|
56
|
+
.css .hljs-hexcolor {
|
57
|
+
color: #1fad83;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Atelier Dune Dark Blue */
|
61
|
+
.hljs-function,
|
62
|
+
.python .hljs-decorator,
|
63
|
+
.python .hljs-title,
|
64
|
+
.ruby .hljs-function .hljs-title,
|
65
|
+
.ruby .hljs-title .hljs-keyword,
|
66
|
+
.perl .hljs-sub,
|
67
|
+
.javascript .hljs-title,
|
68
|
+
.coffeescript .hljs-title {
|
69
|
+
color: #6684e1;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Atelier Dune Dark Purple */
|
73
|
+
.hljs-keyword,
|
74
|
+
.javascript .hljs-function {
|
75
|
+
color: #b854d4;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs {
|
79
|
+
display: block;
|
80
|
+
overflow-x: auto;
|
81
|
+
background: #292824;
|
82
|
+
color: #a6a28c;
|
83
|
+
padding: 0.5em;
|
84
|
+
-webkit-text-size-adjust: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.coffeescript .javascript,
|
88
|
+
.javascript .xml,
|
89
|
+
.tex .hljs-formula,
|
90
|
+
.xml .javascript,
|
91
|
+
.xml .vbscript,
|
92
|
+
.xml .css,
|
93
|
+
.xml .hljs-cdata {
|
94
|
+
opacity: 0.5;
|
95
|
+
}
|