├── .idea ├── misc.xml ├── modules.xml ├── vcs.xml ├── vue-layui.iml └── workspace.xml ├── LICENSE ├── README.md ├── css ├── main.css └── pageEditor.editLayerVueAttr.c859f8335bf2cd78fca46093935da0a5.css ├── hightlight ├── CHANGES.md ├── LICENSE ├── README.md ├── README.ru.md ├── highlight.pack.js ├── languages │ ├── 1c.js │ ├── abnf.js │ ├── accesslog.js │ ├── actionscript.js │ ├── ada.js │ ├── apache.js │ ├── applescript.js │ ├── arduino.js │ ├── armasm.js │ ├── asciidoc.js │ ├── aspectj.js │ ├── autohotkey.js │ ├── autoit.js │ ├── avrasm.js │ ├── awk.js │ ├── axapta.js │ ├── bash.js │ ├── basic.js │ ├── bnf.js │ ├── brainfuck.js │ ├── cal.js │ ├── capnproto.js │ ├── ceylon.js │ ├── clean.js │ ├── clojure-repl.js │ ├── clojure.js │ ├── cmake.js │ ├── coffeescript.js │ ├── coq.js │ ├── cos.js │ ├── cpp.js │ ├── crmsh.js │ ├── crystal.js │ ├── cs.js │ ├── csp.js │ ├── css.js │ ├── d.js │ ├── dart.js │ ├── delphi.js │ ├── diff.js │ ├── django.js │ ├── dns.js │ ├── dockerfile.js │ ├── dos.js │ ├── dsconfig.js │ ├── dts.js │ ├── dust.js │ ├── ebnf.js │ ├── elixir.js │ ├── elm.js │ ├── erb.js │ ├── erlang-repl.js │ ├── erlang.js │ ├── excel.js │ ├── fix.js │ ├── flix.js │ ├── fortran.js │ ├── fsharp.js │ ├── gams.js │ ├── gauss.js │ ├── gcode.js │ ├── gherkin.js │ ├── glsl.js │ ├── go.js │ ├── golo.js │ ├── gradle.js │ ├── groovy.js │ ├── haml.js │ ├── handlebars.js │ ├── haskell.js │ ├── haxe.js │ ├── hsp.js │ ├── htmlbars.js │ ├── http.js │ ├── hy.js │ ├── inform7.js │ ├── ini.js │ ├── irpf90.js │ ├── java.js │ ├── javascript.js │ ├── jboss-cli.js │ ├── json.js │ ├── julia-repl.js │ ├── julia.js │ ├── kotlin.js │ ├── lasso.js │ ├── ldif.js │ ├── leaf.js │ ├── less.js │ ├── lisp.js │ ├── livecodeserver.js │ ├── livescript.js │ ├── llvm.js │ ├── lsl.js │ ├── lua.js │ ├── makefile.js │ ├── markdown.js │ ├── mathematica.js │ ├── matlab.js │ ├── maxima.js │ ├── mel.js │ ├── mercury.js │ ├── mipsasm.js │ ├── mizar.js │ ├── mojolicious.js │ ├── monkey.js │ ├── moonscript.js │ ├── n1ql.js │ ├── nginx.js │ ├── nimrod.js │ ├── nix.js │ ├── nsis.js │ ├── objectivec.js │ ├── ocaml.js │ ├── openscad.js │ ├── oxygene.js │ ├── parser3.js │ ├── perl.js │ ├── pf.js │ ├── php.js │ ├── pony.js │ ├── powershell.js │ ├── processing.js │ ├── profile.js │ ├── prolog.js │ ├── protobuf.js │ ├── puppet.js │ ├── purebasic.js │ ├── python.js │ ├── q.js │ ├── qml.js │ ├── r.js │ ├── rib.js │ ├── roboconf.js │ ├── routeros.js │ ├── rsl.js │ ├── ruby.js │ ├── ruleslanguage.js │ ├── rust.js │ ├── scala.js │ ├── scheme.js │ ├── scilab.js │ ├── scss.js │ ├── shell.js │ ├── smali.js │ ├── smalltalk.js │ ├── sml.js │ ├── sqf.js │ ├── sql.js │ ├── stan.js │ ├── stata.js │ ├── step21.js │ ├── stylus.js │ ├── subunit.js │ ├── swift.js │ ├── taggerscript.js │ ├── tap.js │ ├── tcl.js │ ├── tex.js │ ├── thrift.js │ ├── tp.js │ ├── twig.js │ ├── typescript.js │ ├── vala.js │ ├── vbnet.js │ ├── vbscript-html.js │ ├── vbscript.js │ ├── verilog.js │ ├── vhdl.js │ ├── vim.js │ ├── x86asm.js │ ├── xl.js │ ├── xml.js │ ├── xquery.js │ ├── yaml.js │ └── zephir.js └── styles │ ├── agate.css │ ├── androidstudio.css │ ├── arduino-light.css │ ├── arta.css │ ├── ascetic.css │ ├── atelier-cave-dark.css │ ├── atelier-cave-light.css │ ├── atelier-dune-dark.css │ ├── atelier-dune-light.css │ ├── atelier-estuary-dark.css │ ├── atelier-estuary-light.css │ ├── atelier-forest-dark.css │ ├── atelier-forest-light.css │ ├── atelier-heath-dark.css │ ├── atelier-heath-light.css │ ├── atelier-lakeside-dark.css │ ├── atelier-lakeside-light.css │ ├── atelier-plateau-dark.css │ ├── atelier-plateau-light.css │ ├── atelier-savanna-dark.css │ ├── atelier-savanna-light.css │ ├── atelier-seaside-dark.css │ ├── atelier-seaside-light.css │ ├── atelier-sulphurpool-dark.css │ ├── atelier-sulphurpool-light.css │ ├── atom-one-dark.css │ ├── atom-one-light.css │ ├── brown-paper.css │ ├── brown-papersq.png │ ├── codepen-embed.css │ ├── color-brewer.css │ ├── darcula.css │ ├── dark.css │ ├── darkula.css │ ├── default.css │ ├── docco.css │ ├── dracula.css │ ├── far.css │ ├── foundation.css │ ├── github-gist.css │ ├── github.css │ ├── googlecode.css │ ├── grayscale.css │ ├── gruvbox-dark.css │ ├── gruvbox-light.css │ ├── hopscotch.css │ ├── hybrid.css │ ├── idea.css │ ├── ir-black.css │ ├── kimbie.dark.css │ ├── kimbie.light.css │ ├── magula.css │ ├── mono-blue.css │ ├── monokai-sublime.css │ ├── monokai.css │ ├── obsidian.css │ ├── ocean.css │ ├── paraiso-dark.css │ ├── paraiso-light.css │ ├── pojoaque.css │ ├── pojoaque.jpg │ ├── purebasic.css │ ├── qtcreator_dark.css │ ├── qtcreator_light.css │ ├── railscasts.css │ ├── rainbow.css │ ├── routeros.css │ ├── school-book.css │ ├── school-book.png │ ├── solarized-dark.css │ ├── solarized-light.css │ ├── sunburst.css │ ├── tomorrow-night-blue.css │ ├── tomorrow-night-bright.css │ ├── tomorrow-night-eighties.css │ ├── tomorrow-night.css │ ├── tomorrow.css │ ├── vs.css │ ├── vs2015.css │ ├── xcode.css │ ├── xt256.css │ └── zenburn.css ├── images ├── fileStruct.jpg └── main.png ├── index.html ├── js ├── common.js ├── config │ ├── child.js │ └── top.js ├── editLayerVueAttr │ ├── manifest.896c0b156ecc57fed5db.js │ ├── pageEditor.editLayerVueAttr.bead6a4c1056c1378f3e.js │ └── vendor.99e9d13825620f06d726.js ├── index-demo.js ├── mock │ └── image.js ├── vue-layui │ ├── component-form.js │ ├── core.js │ └── loadingIconComponent.js ├── vue │ ├── vue.js │ └── vuex.js └── ztree │ ├── css │ ├── awesomeStyle │ │ ├── awesome.css │ │ ├── awesome.less │ │ ├── fa.less │ │ └── img │ │ │ └── loading.gif │ ├── metroStyle │ │ ├── img │ │ │ ├── line_conn.png │ │ │ ├── loading.gif │ │ │ ├── metro.gif │ │ │ └── metro.png │ │ └── metroStyle.css │ └── zTreeStyle │ │ ├── img │ │ ├── diy │ │ │ ├── 1_close.png │ │ │ ├── 1_open.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── 5.png │ │ │ ├── 6.png │ │ │ ├── 7.png │ │ │ ├── 8.png │ │ │ └── 9.png │ │ ├── line_conn.gif │ │ ├── loading.gif │ │ ├── zTreeStandard.gif │ │ └── zTreeStandard.png │ │ └── zTreeStyle.css │ └── jquery.ztree.all.min.js ├── json ├── login.json ├── register.json ├── role.json └── tableE.json ├── layui-221 ├── css │ ├── layui.css │ ├── layui.mobile.css │ └── modules │ │ ├── code.css │ │ ├── laydate │ │ └── default │ │ │ └── laydate.css │ │ └── layer │ │ ├── default │ │ ├── icon-ext.png │ │ ├── icon.png │ │ ├── layer.css │ │ ├── loading-0.gif │ │ ├── loading-1.gif │ │ └── loading-2.gif │ │ └── moon │ │ ├── default.png │ │ └── style.css ├── font │ ├── iconfont.eot │ ├── iconfont.svg │ ├── iconfont.ttf │ └── iconfont.woff ├── images │ └── face │ │ ├── 0.gif │ │ ├── 1.gif │ │ ├── 10.gif │ │ ├── 11.gif │ │ ├── 12.gif │ │ ├── 13.gif │ │ ├── 14.gif │ │ ├── 15.gif │ │ ├── 16.gif │ │ ├── 17.gif │ │ ├── 18.gif │ │ ├── 19.gif │ │ ├── 2.gif │ │ ├── 20.gif │ │ ├── 21.gif │ │ ├── 22.gif │ │ ├── 23.gif │ │ ├── 24.gif │ │ ├── 25.gif │ │ ├── 26.gif │ │ ├── 27.gif │ │ ├── 28.gif │ │ ├── 29.gif │ │ ├── 3.gif │ │ ├── 30.gif │ │ ├── 31.gif │ │ ├── 32.gif │ │ ├── 33.gif │ │ ├── 34.gif │ │ ├── 35.gif │ │ ├── 36.gif │ │ ├── 37.gif │ │ ├── 38.gif │ │ ├── 39.gif │ │ ├── 4.gif │ │ ├── 40.gif │ │ ├── 41.gif │ │ ├── 42.gif │ │ ├── 43.gif │ │ ├── 44.gif │ │ ├── 45.gif │ │ ├── 46.gif │ │ ├── 47.gif │ │ ├── 48.gif │ │ ├── 49.gif │ │ ├── 5.gif │ │ ├── 50.gif │ │ ├── 51.gif │ │ ├── 52.gif │ │ ├── 53.gif │ │ ├── 54.gif │ │ ├── 55.gif │ │ ├── 56.gif │ │ ├── 57.gif │ │ ├── 58.gif │ │ ├── 59.gif │ │ ├── 6.gif │ │ ├── 60.gif │ │ ├── 61.gif │ │ ├── 62.gif │ │ ├── 63.gif │ │ ├── 64.gif │ │ ├── 65.gif │ │ ├── 66.gif │ │ ├── 67.gif │ │ ├── 68.gif │ │ ├── 69.gif │ │ ├── 7.gif │ │ ├── 70.gif │ │ ├── 71.gif │ │ ├── 8.gif │ │ └── 9.gif ├── lay │ └── modules │ │ ├── carousel.js │ │ ├── code.js │ │ ├── element.js │ │ ├── flow.js │ │ ├── form.js │ │ ├── jquery.js │ │ ├── laydate.js │ │ ├── layedit.js │ │ ├── layer.js │ │ ├── laypage.js │ │ ├── laytpl.js │ │ ├── mobile.js │ │ ├── table.js │ │ ├── tree.js │ │ ├── upload.js │ │ └── util.js ├── layui.all.js └── layui.js ├── page ├── building.html ├── function │ ├── commonDoc.html │ ├── editLayerVueAttr.html │ ├── form.html │ ├── formDoc.html │ ├── home.html │ ├── tableDoc.html │ └── testForm.html ├── iconSelector.html ├── login │ ├── bg.jpg │ ├── login.html │ └── login.js ├── main.html └── test.html └── video ├── usage.gif └── usage.mp4 /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/vue-layui.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 IBAS 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # vue-layui 2 | [demo](http://www.sunibas.cn/files/vue-layui/) 3 | 4 | 5 | #### api 文档编写在 demo 中,另外更为详细的说明信息可见脚本内容 6 | 7 | #### 最近在编码另一个项目,这个项目本来会有一个使用工具,但是时间不足一直没有进行,最近正在编写工具 8 | [工具](https://github.com/IBAS0742/rewrite_project/tree/master/vue-electron) 9 | 10 | 13 | 14 | - 配置 表单项 地址 [http://www.sunibas.cn/files/vue-layui/page/function/editLayerVueAttr.html](http://www.sunibas.cn/files/vue-layui/page/function/editLayerVueAttr.html) 15 | 16 | ![](./video/usage.gif) -------------------------------------------------------------------------------- /hightlight/LICENSE: -------------------------------------------------------------------------------- 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. 25 | -------------------------------------------------------------------------------- /hightlight/languages/accesslog.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Access log 3 | Author: Oleg Efimov 4 | Description: Apache/Nginx Access Logs 5 | */ 6 | 7 | function(hljs) { 8 | return { 9 | contains: [ 10 | // IP 11 | { 12 | className: 'number', 13 | begin: '\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b' 14 | }, 15 | // Other numbers 16 | { 17 | className: 'number', 18 | begin: '\\b\\d+\\b', 19 | relevance: 0 20 | }, 21 | // Requests 22 | { 23 | className: 'string', 24 | begin: '"(GET|POST|HEAD|PUT|DELETE|CONNECT|OPTIONS|PATCH|TRACE)', end: '"', 25 | keywords: 'GET POST HEAD PUT DELETE CONNECT OPTIONS PATCH TRACE', 26 | illegal: '\\n', 27 | relevance: 10 28 | }, 29 | // Dates 30 | { 31 | className: 'string', 32 | begin: /\[/, end: /\]/, 33 | illegal: '\\n' 34 | }, 35 | // Strings 36 | { 37 | className: 'string', 38 | begin: '"', end: '"', 39 | illegal: '\\n' 40 | } 41 | ] 42 | }; 43 | } 44 | -------------------------------------------------------------------------------- /hightlight/languages/apache.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Apache 3 | Author: Ruslan Keba 4 | Contributors: Ivan Sagalaev 5 | Website: http://rukeba.com/ 6 | Description: language definition for Apache configuration files (httpd.conf & .htaccess) 7 | Category: common, config 8 | */ 9 | 10 | function(hljs) { 11 | var NUMBER = {className: 'number', begin: '[\\$%]\\d+'}; 12 | return { 13 | aliases: ['apacheconf'], 14 | case_insensitive: true, 15 | contains: [ 16 | hljs.HASH_COMMENT_MODE, 17 | {className: 'section', begin: ''}, 18 | { 19 | className: 'attribute', 20 | begin: /\w+/, 21 | relevance: 0, 22 | // keywords aren’t needed for highlighting per se, they only boost relevance 23 | // for a very generally defined mode (starts with a word, ends with line-end 24 | keywords: { 25 | nomarkup: 26 | 'order deny allow setenv rewriterule rewriteengine rewritecond documentroot ' + 27 | 'sethandler errordocument loadmodule options header listen serverroot ' + 28 | 'servername' 29 | }, 30 | starts: { 31 | end: /$/, 32 | relevance: 0, 33 | keywords: { 34 | literal: 'on off all' 35 | }, 36 | contains: [ 37 | { 38 | className: 'meta', 39 | begin: '\\s\\[', end: '\\]$' 40 | }, 41 | { 42 | className: 'variable', 43 | begin: '[\\$%]\\{', end: '\\}', 44 | contains: ['self', NUMBER] 45 | }, 46 | NUMBER, 47 | hljs.QUOTE_STRING_MODE 48 | ] 49 | } 50 | } 51 | ], 52 | illegal: /\S/ 53 | }; 54 | } 55 | -------------------------------------------------------------------------------- /hightlight/languages/awk.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Awk 3 | Author: Matthew Daly 4 | Website: http://matthewdaly.co.uk/ 5 | Description: language definition for Awk scripts 6 | */ 7 | 8 | function(hljs) { 9 | var VARIABLE = { 10 | className: 'variable', 11 | variants: [ 12 | {begin: /\$[\w\d#@][\w\d_]*/}, 13 | {begin: /\$\{(.*?)}/} 14 | ] 15 | }; 16 | var KEYWORDS = 'BEGIN END if else while do for in break continue delete next nextfile function func exit|10'; 17 | var STRING = { 18 | className: 'string', 19 | contains: [hljs.BACKSLASH_ESCAPE], 20 | variants: [ 21 | { 22 | begin: /(u|b)?r?'''/, end: /'''/, 23 | relevance: 10 24 | }, 25 | { 26 | begin: /(u|b)?r?"""/, end: /"""/, 27 | relevance: 10 28 | }, 29 | { 30 | begin: /(u|r|ur)'/, end: /'/, 31 | relevance: 10 32 | }, 33 | { 34 | begin: /(u|r|ur)"/, end: /"/, 35 | relevance: 10 36 | }, 37 | { 38 | begin: /(b|br)'/, end: /'/ 39 | }, 40 | { 41 | begin: /(b|br)"/, end: /"/ 42 | }, 43 | hljs.APOS_STRING_MODE, 44 | hljs.QUOTE_STRING_MODE 45 | ] 46 | }; 47 | return { 48 | keywords: { 49 | keyword: KEYWORDS 50 | }, 51 | contains: [ 52 | VARIABLE, 53 | STRING, 54 | hljs.REGEXP_MODE, 55 | hljs.HASH_COMMENT_MODE, 56 | hljs.NUMBER_MODE 57 | ] 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /hightlight/languages/axapta.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Axapta 3 | Author: Dmitri Roudakov 4 | Category: enterprise 5 | */ 6 | 7 | function(hljs) { 8 | return { 9 | keywords: 'false int abstract private char boolean static null if for true ' + 10 | 'while long throw finally protected final return void enum else ' + 11 | 'break new catch byte super case short default double public try this switch ' + 12 | 'continue reverse firstfast firstonly forupdate nofetch sum avg minof maxof count ' + 13 | 'order group by asc desc index hint like dispaly edit client server ttsbegin ' + 14 | 'ttscommit str real date container anytype common div mod', 15 | contains: [ 16 | hljs.C_LINE_COMMENT_MODE, 17 | hljs.C_BLOCK_COMMENT_MODE, 18 | hljs.APOS_STRING_MODE, 19 | hljs.QUOTE_STRING_MODE, 20 | hljs.C_NUMBER_MODE, 21 | { 22 | className: 'meta', 23 | begin: '#', end: '$' 24 | }, 25 | { 26 | className: 'class', 27 | beginKeywords: 'class interface', end: '{', excludeEnd: true, 28 | illegal: ':', 29 | contains: [ 30 | {beginKeywords: 'extends implements'}, 31 | hljs.UNDERSCORE_TITLE_MODE 32 | ] 33 | } 34 | ] 35 | }; 36 | } 37 | -------------------------------------------------------------------------------- /hightlight/languages/bnf.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Backus–Naur Form 3 | Author: Oleg Efimov 4 | */ 5 | 6 | function(hljs){ 7 | return { 8 | contains: [ 9 | // Attribute 10 | { 11 | className: 'attribute', 12 | begin: // 13 | }, 14 | // Specific 15 | { 16 | begin: /::=/, 17 | starts: { 18 | end: /$/, 19 | contains: [ 20 | { 21 | begin: // 22 | }, 23 | // Common 24 | hljs.C_LINE_COMMENT_MODE, 25 | hljs.C_BLOCK_COMMENT_MODE, 26 | hljs.APOS_STRING_MODE, 27 | hljs.QUOTE_STRING_MODE 28 | ] 29 | } 30 | } 31 | ] 32 | }; 33 | } 34 | -------------------------------------------------------------------------------- /hightlight/languages/brainfuck.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Brainfuck 3 | Author: Evgeny Stepanischev 4 | */ 5 | 6 | function(hljs){ 7 | var LITERAL = { 8 | className: 'literal', 9 | begin: '[\\+\\-]', 10 | relevance: 0 11 | }; 12 | return { 13 | aliases: ['bf'], 14 | contains: [ 15 | hljs.COMMENT( 16 | '[^\\[\\]\\.,\\+\\-<> \r\n]', 17 | '[\\[\\]\\.,\\+\\-<> \r\n]', 18 | { 19 | returnEnd: true, 20 | relevance: 0 21 | } 22 | ), 23 | { 24 | className: 'title', 25 | begin: '[\\[\\]]', 26 | relevance: 0 27 | }, 28 | { 29 | className: 'string', 30 | begin: '[\\.,]', 31 | relevance: 0 32 | }, 33 | { 34 | // this mode works as the only relevance counter 35 | begin: /\+\+|\-\-/, returnBegin: true, 36 | contains: [LITERAL] 37 | }, 38 | LITERAL 39 | ] 40 | }; 41 | } 42 | -------------------------------------------------------------------------------- /hightlight/languages/capnproto.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Cap’n Proto 3 | Author: Oleg Efimov 4 | Description: Cap’n Proto message definition format 5 | Category: protocols 6 | */ 7 | 8 | function(hljs) { 9 | return { 10 | aliases: ['capnp'], 11 | keywords: { 12 | keyword: 13 | 'struct enum interface union group import using const annotation extends in of on as with from fixed', 14 | built_in: 15 | 'Void Bool Int8 Int16 Int32 Int64 UInt8 UInt16 UInt32 UInt64 Float32 Float64 ' + 16 | 'Text Data AnyPointer AnyStruct Capability List', 17 | literal: 18 | 'true false' 19 | }, 20 | contains: [ 21 | hljs.QUOTE_STRING_MODE, 22 | hljs.NUMBER_MODE, 23 | hljs.HASH_COMMENT_MODE, 24 | { 25 | className: 'meta', 26 | begin: /@0x[\w\d]{16};/, 27 | illegal: /\n/ 28 | }, 29 | { 30 | className: 'symbol', 31 | begin: /@\d+\b/ 32 | }, 33 | { 34 | className: 'class', 35 | beginKeywords: 'struct enum', end: /\{/, 36 | illegal: /\n/, 37 | contains: [ 38 | hljs.inherit(hljs.TITLE_MODE, { 39 | starts: {endsWithParent: true, excludeEnd: true} // hack: eating everything after the first title 40 | }) 41 | ] 42 | }, 43 | { 44 | className: 'class', 45 | beginKeywords: 'interface', end: /\{/, 46 | illegal: /\n/, 47 | contains: [ 48 | hljs.inherit(hljs.TITLE_MODE, { 49 | starts: {endsWithParent: true, excludeEnd: true} // hack: eating everything after the first title 50 | }) 51 | ] 52 | } 53 | ] 54 | }; 55 | } 56 | -------------------------------------------------------------------------------- /hightlight/languages/clean.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Clean 3 | Author: Camil Staps 4 | Category: functional 5 | Website: http://clean.cs.ru.nl 6 | */ 7 | 8 | function(hljs) { 9 | return { 10 | aliases: ['clean','icl','dcl'], 11 | keywords: { 12 | keyword: 13 | 'if let in with where case of class instance otherwise ' + 14 | 'implementation definition system module from import qualified as ' + 15 | 'special code inline foreign export ccall stdcall generic derive ' + 16 | 'infix infixl infixr', 17 | literal: 18 | 'True False' 19 | }, 20 | contains: [ 21 | 22 | hljs.C_LINE_COMMENT_MODE, 23 | hljs.C_BLOCK_COMMENT_MODE, 24 | hljs.APOS_STRING_MODE, 25 | hljs.QUOTE_STRING_MODE, 26 | hljs.C_NUMBER_MODE, 27 | 28 | {begin: '->|<-[|:]?|::|#!?|>>=|\\{\\||\\|\\}|:==|=:|\\.\\.|<>|`'} // relevance booster 29 | ] 30 | }; 31 | } 32 | -------------------------------------------------------------------------------- /hightlight/languages/clojure-repl.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Clojure REPL 3 | Description: Clojure REPL sessions 4 | Author: Ivan Sagalaev 5 | Requires: clojure.js 6 | Category: lisp 7 | */ 8 | 9 | function(hljs) { 10 | return { 11 | contains: [ 12 | { 13 | className: 'meta', 14 | begin: /^([\w.-]+|\s*#_)=>/, 15 | starts: { 16 | end: /$/, 17 | subLanguage: 'clojure' 18 | } 19 | } 20 | ] 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /hightlight/languages/csp.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: CSP 3 | Description: Content Security Policy definition highlighting 4 | Author: Taras 5 | 6 | vim: ts=2 sw=2 st=2 7 | */ 8 | 9 | function(hljs) { 10 | return { 11 | case_insensitive: false, 12 | lexemes: '[a-zA-Z][a-zA-Z0-9_-]*', 13 | keywords: { 14 | keyword: 'base-uri child-src connect-src default-src font-src form-action' + 15 | ' frame-ancestors frame-src img-src media-src object-src plugin-types' + 16 | ' report-uri sandbox script-src style-src', 17 | }, 18 | contains: [ 19 | { 20 | className: 'string', 21 | begin: "'", end: "'" 22 | }, 23 | { 24 | className: 'attribute', 25 | begin: '^Content', end: ':', excludeEnd: true, 26 | }, 27 | ] 28 | }; 29 | } 30 | -------------------------------------------------------------------------------- /hightlight/languages/diff.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Diff 3 | Description: Unified and context diff 4 | Author: Vasily Polovnyov 5 | Category: common 6 | */ 7 | 8 | function(hljs) { 9 | return { 10 | aliases: ['patch'], 11 | contains: [ 12 | { 13 | className: 'meta', 14 | relevance: 10, 15 | variants: [ 16 | {begin: /^@@ +\-\d+,\d+ +\+\d+,\d+ +@@$/}, 17 | {begin: /^\*\*\* +\d+,\d+ +\*\*\*\*$/}, 18 | {begin: /^\-\-\- +\d+,\d+ +\-\-\-\-$/} 19 | ] 20 | }, 21 | { 22 | className: 'comment', 23 | variants: [ 24 | {begin: /Index: /, end: /$/}, 25 | {begin: /={3,}/, end: /$/}, 26 | {begin: /^\-{3}/, end: /$/}, 27 | {begin: /^\*{3} /, end: /$/}, 28 | {begin: /^\+{3}/, end: /$/}, 29 | {begin: /\*{5}/, end: /\*{5}$/} 30 | ] 31 | }, 32 | { 33 | className: 'addition', 34 | begin: '^\\+', end: '$' 35 | }, 36 | { 37 | className: 'deletion', 38 | begin: '^\\-', end: '$' 39 | }, 40 | { 41 | className: 'addition', 42 | begin: '^\\!', end: '$' 43 | } 44 | ] 45 | }; 46 | } 47 | -------------------------------------------------------------------------------- /hightlight/languages/dockerfile.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Dockerfile 3 | Requires: bash.js 4 | Author: Alexis Hénaut 5 | Description: language definition for Dockerfile files 6 | Category: config 7 | */ 8 | 9 | function(hljs) { 10 | return { 11 | aliases: ['docker'], 12 | case_insensitive: true, 13 | keywords: 'from maintainer expose env arg user onbuild stopsignal', 14 | contains: [ 15 | hljs.HASH_COMMENT_MODE, 16 | hljs.APOS_STRING_MODE, 17 | hljs.QUOTE_STRING_MODE, 18 | hljs.NUMBER_MODE, 19 | { 20 | beginKeywords: 'run cmd entrypoint volume add copy workdir label healthcheck shell', 21 | starts: { 22 | end: /[^\\]\n/, 23 | subLanguage: 'bash' 24 | } 25 | } 26 | ], 27 | illegal: ' 5 | Category: enterprise, config 6 | */ 7 | function(hljs) { 8 | var QUOTED_PROPERTY = { 9 | className: 'string', 10 | begin: /"/, end: /"/ 11 | }; 12 | var APOS_PROPERTY = { 13 | className: 'string', 14 | begin: /'/, end: /'/ 15 | }; 16 | var UNQUOTED_PROPERTY = { 17 | className: 'string', 18 | begin: '[\\w-?]+:\\w+', end: '\\W', 19 | relevance: 0 20 | }; 21 | var VALUELESS_PROPERTY = { 22 | className: 'string', 23 | begin: '\\w+-?\\w+', end: '\\W', 24 | relevance: 0 25 | }; 26 | 27 | return { 28 | keywords: 'dsconfig', 29 | contains: [ 30 | { 31 | className: 'keyword', 32 | begin: '^dsconfig', end: '\\s', excludeEnd: true, 33 | relevance: 10 34 | }, 35 | { 36 | className: 'built_in', 37 | begin: '(list|create|get|set|delete)-(\\w+)', end: '\\s', excludeEnd: true, 38 | illegal: '!@#$%^&*()', 39 | relevance: 10 40 | }, 41 | { 42 | className: 'built_in', 43 | begin: '--(\\w+)', end: '\\s', excludeEnd: true 44 | }, 45 | QUOTED_PROPERTY, 46 | APOS_PROPERTY, 47 | UNQUOTED_PROPERTY, 48 | VALUELESS_PROPERTY, 49 | hljs.HASH_COMMENT_MODE 50 | ] 51 | }; 52 | } 53 | -------------------------------------------------------------------------------- /hightlight/languages/dust.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Dust 3 | Requires: xml.js 4 | Author: Michael Allen 5 | Description: Matcher for dust.js templates. 6 | Category: template 7 | */ 8 | 9 | function(hljs) { 10 | var EXPRESSION_KEYWORDS = 'if eq ne lt lte gt gte select default math sep'; 11 | return { 12 | aliases: ['dst'], 13 | case_insensitive: true, 14 | subLanguage: 'xml', 15 | contains: [ 16 | { 17 | className: 'template-tag', 18 | begin: /\{[#\/]/, end: /\}/, illegal: /;/, 19 | contains: [ 20 | { 21 | className: 'name', 22 | begin: /[a-zA-Z\.-]+/, 23 | starts: { 24 | endsWithParent: true, relevance: 0, 25 | contains: [ 26 | hljs.QUOTE_STRING_MODE 27 | ] 28 | } 29 | } 30 | ] 31 | }, 32 | { 33 | className: 'template-variable', 34 | begin: /\{/, end: /\}/, illegal: /;/, 35 | keywords: EXPRESSION_KEYWORDS 36 | } 37 | ] 38 | }; 39 | } 40 | -------------------------------------------------------------------------------- /hightlight/languages/ebnf.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Extended Backus-Naur Form 3 | Author: Alex McKibben 4 | */ 5 | 6 | function(hljs) { 7 | var commentMode = hljs.COMMENT(/\(\*/, /\*\)/); 8 | 9 | var nonTerminalMode = { 10 | className: "attribute", 11 | begin: /^[ ]*[a-zA-Z][a-zA-Z-]*([\s-]+[a-zA-Z][a-zA-Z]*)*/ 12 | }; 13 | 14 | var specialSequenceMode = { 15 | className: "meta", 16 | begin: /\?.*\?/ 17 | }; 18 | 19 | var ruleBodyMode = { 20 | begin: /=/, end: /;/, 21 | contains: [ 22 | commentMode, 23 | specialSequenceMode, 24 | // terminals 25 | hljs.APOS_STRING_MODE, hljs.QUOTE_STRING_MODE 26 | ] 27 | }; 28 | 29 | return { 30 | illegal: /\S/, 31 | contains: [ 32 | commentMode, 33 | nonTerminalMode, 34 | ruleBodyMode 35 | ] 36 | }; 37 | } 38 | -------------------------------------------------------------------------------- /hightlight/languages/erb.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: ERB (Embedded Ruby) 3 | Requires: xml.js, ruby.js 4 | Author: Lucas Mazza 5 | Contributors: Kassio Borges 6 | Description: "Bridge" language defining fragments of Ruby in HTML within <% .. %> 7 | Category: template 8 | */ 9 | 10 | function(hljs) { 11 | return { 12 | subLanguage: 'xml', 13 | contains: [ 14 | hljs.COMMENT('<%#', '%>'), 15 | { 16 | begin: '<%[%=-]?', end: '[%-]?%>', 17 | subLanguage: 'ruby', 18 | excludeBegin: true, 19 | excludeEnd: true 20 | } 21 | ] 22 | }; 23 | } 24 | -------------------------------------------------------------------------------- /hightlight/languages/erlang-repl.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Erlang REPL 3 | Author: Sergey Ignatov 4 | Category: functional 5 | */ 6 | 7 | function(hljs) { 8 | return { 9 | keywords: { 10 | built_in: 11 | 'spawn spawn_link self', 12 | keyword: 13 | 'after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if ' + 14 | 'let not of or orelse|10 query receive rem try when xor' 15 | }, 16 | contains: [ 17 | { 18 | className: 'meta', begin: '^[0-9]+> ', 19 | relevance: 10 20 | }, 21 | hljs.COMMENT('%', '$'), 22 | { 23 | className: 'number', 24 | begin: '\\b(\\d+#[a-fA-F0-9]+|\\d+(\\.\\d+)?([eE][-+]?\\d+)?)', 25 | relevance: 0 26 | }, 27 | hljs.APOS_STRING_MODE, 28 | hljs.QUOTE_STRING_MODE, 29 | { 30 | begin: '\\?(::)?([A-Z]\\w*(::)?)+' 31 | }, 32 | { 33 | begin: '->' 34 | }, 35 | { 36 | begin: 'ok' 37 | }, 38 | { 39 | begin: '!' 40 | }, 41 | { 42 | begin: '(\\b[a-z\'][a-zA-Z0-9_\']*:[a-z\'][a-zA-Z0-9_\']*)|(\\b[a-z\'][a-zA-Z0-9_\']*)', 43 | relevance: 0 44 | }, 45 | { 46 | begin: '[A-Z][a-zA-Z0-9_\']*', 47 | relevance: 0 48 | } 49 | ] 50 | }; 51 | } 52 | -------------------------------------------------------------------------------- /hightlight/languages/fix.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: FIX 3 | Author: Brent Bradbury 4 | */ 5 | 6 | function(hljs) { 7 | return { 8 | contains: [ 9 | { 10 | begin: /[^\u2401\u0001]+/, 11 | end: /[\u2401\u0001]/, 12 | excludeEnd: true, 13 | returnBegin: true, 14 | returnEnd: false, 15 | contains: [ 16 | { 17 | begin: /([^\u2401\u0001=]+)/, 18 | end: /=([^\u2401\u0001=]+)/, 19 | returnEnd: true, 20 | returnBegin: false, 21 | className: 'attr' 22 | }, 23 | { 24 | begin: /=/, 25 | end: /([\u2401\u0001])/, 26 | excludeEnd: true, 27 | excludeBegin: true, 28 | className: 'string' 29 | }] 30 | }], 31 | case_insensitive: true 32 | }; 33 | } 34 | -------------------------------------------------------------------------------- /hightlight/languages/flix.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Flix 3 | Category: functional 4 | Author: Magnus Madsen 5 | */ 6 | 7 | function (hljs) { 8 | 9 | var CHAR = { 10 | className: 'string', 11 | begin: /'(.|\\[xXuU][a-zA-Z0-9]+)'/ 12 | }; 13 | 14 | var STRING = { 15 | className: 'string', 16 | variants: [ 17 | { 18 | begin: '"', end: '"' 19 | } 20 | ] 21 | }; 22 | 23 | var NAME = { 24 | className: 'title', 25 | begin: /[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/ 26 | }; 27 | 28 | var METHOD = { 29 | className: 'function', 30 | beginKeywords: 'def', 31 | end: /[:={\[(\n;]/, 32 | excludeEnd: true, 33 | contains: [NAME] 34 | }; 35 | 36 | return { 37 | keywords: { 38 | literal: 'true false', 39 | keyword: 'case class def else enum if impl import in lat rel index let match namespace switch type yield with' 40 | }, 41 | contains: [ 42 | hljs.C_LINE_COMMENT_MODE, 43 | hljs.C_BLOCK_COMMENT_MODE, 44 | CHAR, 45 | STRING, 46 | METHOD, 47 | hljs.C_NUMBER_MODE 48 | ] 49 | }; 50 | } 51 | -------------------------------------------------------------------------------- /hightlight/languages/gherkin.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Gherkin 3 | Author: Sam Pikesley (@pikesley) 4 | Description: Gherkin (Cucumber etc) 5 | */ 6 | 7 | function (hljs) { 8 | return { 9 | aliases: ['feature'], 10 | keywords: 'Feature Background Ability Business\ Need Scenario Scenarios Scenario\ Outline Scenario\ Template Examples Given And Then But When', 11 | contains: [ 12 | { 13 | className: 'symbol', 14 | begin: '\\*', 15 | relevance: 0 16 | }, 17 | { 18 | className: 'meta', 19 | begin: '@[^@\\s]+' 20 | }, 21 | { 22 | begin: '\\|', end: '\\|\\w*$', 23 | contains: [ 24 | { 25 | className: 'string', 26 | begin: '[^|]+' 27 | } 28 | ] 29 | }, 30 | { 31 | className: 'variable', 32 | begin: '<', end: '>' 33 | }, 34 | hljs.HASH_COMMENT_MODE, 35 | { 36 | className: 'string', 37 | begin: '"""', end: '"""' 38 | }, 39 | hljs.QUOTE_STRING_MODE 40 | ] 41 | }; 42 | } 43 | -------------------------------------------------------------------------------- /hightlight/languages/golo.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Golo 3 | Author: Philippe Charriere 4 | Description: a lightweight dynamic language for the JVM, see http://golo-lang.org/ 5 | */ 6 | 7 | function(hljs) { 8 | return { 9 | keywords: { 10 | keyword: 11 | 'println readln print import module function local return let var ' + 12 | 'while for foreach times in case when match with break continue ' + 13 | 'augment augmentation each find filter reduce ' + 14 | 'if then else otherwise try catch finally raise throw orIfNull ' + 15 | 'DynamicObject|10 DynamicVariable struct Observable map set vector list array', 16 | literal: 17 | 'true false null' 18 | }, 19 | contains: [ 20 | hljs.HASH_COMMENT_MODE, 21 | hljs.QUOTE_STRING_MODE, 22 | hljs.C_NUMBER_MODE, 23 | { 24 | className: 'meta', begin: '@[A-Za-z]+' 25 | } 26 | ] 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /hightlight/languages/handlebars.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Handlebars 3 | Requires: xml.js 4 | Author: Robin Ward 5 | Description: Matcher for Handlebars as well as EmberJS additions. 6 | Category: template 7 | */ 8 | 9 | function(hljs) { 10 | var BUILT_INS = {'builtin-name': 'each in with if else unless bindattr action collection debugger log outlet template unbound view yield'}; 11 | return { 12 | aliases: ['hbs', 'html.hbs', 'html.handlebars'], 13 | case_insensitive: true, 14 | subLanguage: 'xml', 15 | contains: [ 16 | hljs.COMMENT('{{!(--)?', '(--)?}}'), 17 | { 18 | className: 'template-tag', 19 | begin: /\{\{[#\/]/, end: /\}\}/, 20 | contains: [ 21 | { 22 | className: 'name', 23 | begin: /[a-zA-Z\.-]+/, 24 | keywords: BUILT_INS, 25 | starts: { 26 | endsWithParent: true, relevance: 0, 27 | contains: [ 28 | hljs.QUOTE_STRING_MODE 29 | ] 30 | } 31 | } 32 | ] 33 | }, 34 | { 35 | className: 'template-variable', 36 | begin: /\{\{/, end: /\}\}/, 37 | keywords: BUILT_INS 38 | } 39 | ] 40 | }; 41 | } 42 | -------------------------------------------------------------------------------- /hightlight/languages/http.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: HTTP 3 | Description: HTTP request and response headers with automatic body highlighting 4 | Author: Ivan Sagalaev 5 | Category: common, protocols 6 | */ 7 | 8 | function(hljs) { 9 | var VERSION = 'HTTP/[0-9\\.]+'; 10 | return { 11 | aliases: ['https'], 12 | illegal: '\\S', 13 | contains: [ 14 | { 15 | begin: '^' + VERSION, end: '$', 16 | contains: [{className: 'number', begin: '\\b\\d{3}\\b'}] 17 | }, 18 | { 19 | begin: '^[A-Z]+ (.*?) ' + VERSION + '$', returnBegin: true, end: '$', 20 | contains: [ 21 | { 22 | className: 'string', 23 | begin: ' ', end: ' ', 24 | excludeBegin: true, excludeEnd: true 25 | }, 26 | { 27 | begin: VERSION 28 | }, 29 | { 30 | className: 'keyword', 31 | begin: '[A-Z]+' 32 | } 33 | ] 34 | }, 35 | { 36 | className: 'attribute', 37 | begin: '^\\w', end: ': ', excludeEnd: true, 38 | illegal: '\\n|\\s|=', 39 | starts: {end: '$', relevance: 0} 40 | }, 41 | { 42 | begin: '\\n\\n', 43 | starts: {subLanguage: [], endsWithParent: true} 44 | } 45 | ] 46 | }; 47 | } 48 | -------------------------------------------------------------------------------- /hightlight/languages/inform7.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Inform 7 3 | Author: Bruno Dias 4 | Description: Language definition for Inform 7, a DSL for writing parser interactive fiction. 5 | */ 6 | 7 | function(hljs) { 8 | var START_BRACKET = '\\['; 9 | var END_BRACKET = '\\]'; 10 | return { 11 | aliases: ['i7'], 12 | case_insensitive: true, 13 | keywords: { 14 | // Some keywords more or less unique to I7, for relevance. 15 | keyword: 16 | // kind: 17 | 'thing room person man woman animal container ' + 18 | 'supporter backdrop door ' + 19 | // characteristic: 20 | 'scenery open closed locked inside gender ' + 21 | // verb: 22 | 'is are say understand ' + 23 | // misc keyword: 24 | 'kind of rule' 25 | }, 26 | contains: [ 27 | { 28 | className: 'string', 29 | begin: '"', end: '"', 30 | relevance: 0, 31 | contains: [ 32 | { 33 | className: 'subst', 34 | begin: START_BRACKET, end: END_BRACKET 35 | } 36 | ] 37 | }, 38 | { 39 | className: 'section', 40 | begin: /^(Volume|Book|Part|Chapter|Section|Table)\b/, 41 | end: '$' 42 | }, 43 | { 44 | // Rule definition 45 | // This is here for relevance. 46 | begin: /^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/, 47 | end: ':', 48 | contains: [ 49 | { 50 | //Rule name 51 | begin: '\\(This', end: '\\)' 52 | } 53 | ] 54 | }, 55 | { 56 | className: 'comment', 57 | begin: START_BRACKET, end: END_BRACKET, 58 | contains: ['self'] 59 | } 60 | ] 61 | }; 62 | } 63 | -------------------------------------------------------------------------------- /hightlight/languages/ini.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Ini 3 | Contributors: Guillaume Gomez 4 | Category: common, config 5 | */ 6 | 7 | function(hljs) { 8 | var STRING = { 9 | className: "string", 10 | contains: [hljs.BACKSLASH_ESCAPE], 11 | variants: [ 12 | { 13 | begin: "'''", end: "'''", 14 | relevance: 10 15 | }, { 16 | begin: '"""', end: '"""', 17 | relevance: 10 18 | }, { 19 | begin: '"', end: '"' 20 | }, { 21 | begin: "'", end: "'" 22 | } 23 | ] 24 | }; 25 | return { 26 | aliases: ['toml'], 27 | case_insensitive: true, 28 | illegal: /\S/, 29 | contains: [ 30 | hljs.COMMENT(';', '$'), 31 | hljs.HASH_COMMENT_MODE, 32 | { 33 | className: 'section', 34 | begin: /^\s*\[+/, end: /\]+/ 35 | }, 36 | { 37 | begin: /^[a-z0-9\[\]_-]+\s*=\s*/, end: '$', 38 | returnBegin: true, 39 | contains: [ 40 | { 41 | className: 'attr', 42 | begin: /[a-z0-9\[\]_-]+/ 43 | }, 44 | { 45 | begin: /=/, endsWithParent: true, 46 | relevance: 0, 47 | contains: [ 48 | { 49 | className: 'literal', 50 | begin: /\bon|off|true|false|yes|no\b/ 51 | }, 52 | { 53 | className: 'variable', 54 | variants: [ 55 | {begin: /\$[\w\d"][\w\d_]*/}, 56 | {begin: /\$\{(.*?)}/} 57 | ] 58 | }, 59 | STRING, 60 | { 61 | className: 'number', 62 | begin: /([\+\-]+)?[\d]+_[\d_]+/ 63 | }, 64 | hljs.NUMBER_MODE 65 | ] 66 | } 67 | ] 68 | } 69 | ] 70 | }; 71 | } 72 | -------------------------------------------------------------------------------- /hightlight/languages/jboss-cli.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: jboss-cli 3 | Author: Raphaël Parrëe 4 | Description: language definition jboss cli 5 | Category: config 6 | */ 7 | 8 | function (hljs) { 9 | var PARAM = { 10 | begin: /[\w-]+ *=/, returnBegin: true, 11 | relevance: 0, 12 | contains: [{className: 'attr', begin: /[\w-]+/}] 13 | }; 14 | var PARAMSBLOCK = { 15 | className: 'params', 16 | begin: /\(/, 17 | end: /\)/, 18 | contains: [PARAM], 19 | relevance : 0 20 | }; 21 | var OPERATION = { 22 | className: 'function', 23 | begin: /:[\w\-.]+/, 24 | relevance: 0 25 | }; 26 | var PATH = { 27 | className: 'string', 28 | begin: /\B(([\/.])[\w\-.\/=]+)+/, 29 | }; 30 | var COMMAND_PARAMS = { 31 | className: 'params', 32 | begin: /--[\w\-=\/]+/, 33 | }; 34 | return { 35 | aliases: ['wildfly-cli'], 36 | lexemes: '[a-z\-]+', 37 | keywords: { 38 | keyword: 'alias batch cd clear command connect connection-factory connection-info data-source deploy ' + 39 | 'deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls ' + 40 | 'patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias ' + 41 | 'undeploy unset version xa-data-source', // module 42 | literal: 'true false' 43 | }, 44 | contains: [ 45 | hljs.HASH_COMMENT_MODE, 46 | hljs.QUOTE_STRING_MODE, 47 | COMMAND_PARAMS, 48 | OPERATION, 49 | PATH, 50 | PARAMSBLOCK 51 | ] 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /hightlight/languages/json.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: JSON 3 | Author: Ivan Sagalaev 4 | Category: common, protocols 5 | */ 6 | 7 | function(hljs) { 8 | var LITERALS = {literal: 'true false null'}; 9 | var TYPES = [ 10 | hljs.QUOTE_STRING_MODE, 11 | hljs.C_NUMBER_MODE 12 | ]; 13 | var VALUE_CONTAINER = { 14 | end: ',', endsWithParent: true, excludeEnd: true, 15 | contains: TYPES, 16 | keywords: LITERALS 17 | }; 18 | var OBJECT = { 19 | begin: '{', end: '}', 20 | contains: [ 21 | { 22 | className: 'attr', 23 | begin: /"/, end: /"/, 24 | contains: [hljs.BACKSLASH_ESCAPE], 25 | illegal: '\\n', 26 | }, 27 | hljs.inherit(VALUE_CONTAINER, {begin: /:/}) 28 | ], 29 | illegal: '\\S' 30 | }; 31 | var ARRAY = { 32 | begin: '\\[', end: '\\]', 33 | contains: [hljs.inherit(VALUE_CONTAINER)], // inherit is a workaround for a bug that makes shared modes with endsWithParent compile only the ending of one of the parents 34 | illegal: '\\S' 35 | }; 36 | TYPES.splice(TYPES.length, 0, OBJECT, ARRAY); 37 | return { 38 | contains: TYPES, 39 | keywords: LITERALS, 40 | illegal: '\\S' 41 | }; 42 | } 43 | -------------------------------------------------------------------------------- /hightlight/languages/julia-repl.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Julia REPL 3 | Description: Julia REPL sessions 4 | Author: Morten Piibeleht 5 | Requires: julia.js 6 | 7 | The Julia REPL code blocks look something like the following: 8 | 9 | julia> function foo(x) 10 | x + 1 11 | end 12 | foo (generic function with 1 method) 13 | 14 | They start on a new line with "julia>". Usually there should also be a space after this, but 15 | we also allow the code to start right after the > character. The code may run over multiple 16 | lines, but the additional lines must start with six spaces (i.e. be indented to match 17 | "julia>"). The rest of the code is assumed to be output from the executed code and will be 18 | left un-highlighted. 19 | 20 | Using simply spaces to identify line continuations may get a false-positive if the output 21 | also prints out six spaces, but such cases should be rare. 22 | */ 23 | 24 | function(hljs) { 25 | return { 26 | contains: [ 27 | { 28 | className: 'meta', 29 | begin: /^julia>/, 30 | relevance: 10, 31 | starts: { 32 | // end the highlighting if we are on a new line and the line does not have at 33 | // least six spaces in the beginning 34 | end: /^(?![ ]{6})/, 35 | subLanguage: 'julia' 36 | }, 37 | // jldoctest Markdown blocks are used in the Julia manual and package docs indicate 38 | // code snippets that should be verified when the documentation is built. They can be 39 | // either REPL-like or script-like, but are usually REPL-like and therefore we apply 40 | // julia-repl highlighting to them. More information can be found in Documenter's 41 | // manual: https://juliadocs.github.io/Documenter.jl/latest/man/doctests.html 42 | aliases: ['jldoctest'] 43 | } 44 | ] 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /hightlight/languages/ldif.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: LDIF 3 | Contributors: Jacob Childress 4 | Category: enterprise, config 5 | */ 6 | function(hljs) { 7 | return { 8 | contains: [ 9 | { 10 | className: 'attribute', 11 | begin: '^dn', end: ': ', excludeEnd: true, 12 | starts: {end: '$', relevance: 0}, 13 | relevance: 10 14 | }, 15 | { 16 | className: 'attribute', 17 | begin: '^\\w', end: ': ', excludeEnd: true, 18 | starts: {end: '$', relevance: 0} 19 | }, 20 | { 21 | className: 'literal', 22 | begin: '^-', end: '$' 23 | }, 24 | hljs.HASH_COMMENT_MODE 25 | ] 26 | }; 27 | } 28 | -------------------------------------------------------------------------------- /hightlight/languages/leaf.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Leaf 3 | Author: Hale Chan 4 | Description: Based on the Leaf reference from https://vapor.github.io/documentation/guide/leaf.html. 5 | */ 6 | 7 | function (hljs) { 8 | return { 9 | contains: [ 10 | { 11 | className: 'function', 12 | begin: '#+' + '[A-Za-z_0-9]*' + '\\(', 13 | end:' {', 14 | returnBegin: true, 15 | excludeEnd: true, 16 | contains : [ 17 | { 18 | className: 'keyword', 19 | begin: '#+' 20 | }, 21 | { 22 | className: 'title', 23 | begin: '[A-Za-z_][A-Za-z_0-9]*' 24 | }, 25 | { 26 | className: 'params', 27 | begin: '\\(', end: '\\)', 28 | endsParent: true, 29 | contains: [ 30 | { 31 | className: 'string', 32 | begin: '"', 33 | end: '"' 34 | }, 35 | { 36 | className: 'variable', 37 | begin: '[A-Za-z_][A-Za-z_0-9]*' 38 | } 39 | ] 40 | } 41 | ] 42 | } 43 | ] 44 | }; 45 | } 46 | -------------------------------------------------------------------------------- /hightlight/languages/mizar.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Mizar 3 | Author: Kelley van Evert 4 | Category: scientific 5 | */ 6 | 7 | function(hljs) { 8 | return { 9 | keywords: 10 | 'environ vocabularies notations constructors definitions ' + 11 | 'registrations theorems schemes requirements begin end definition ' + 12 | 'registration cluster existence pred func defpred deffunc theorem ' + 13 | 'proof let take assume then thus hence ex for st holds consider ' + 14 | 'reconsider such that and in provided of as from be being by means ' + 15 | 'equals implies iff redefine define now not or attr is mode ' + 16 | 'suppose per cases set thesis contradiction scheme reserve struct ' + 17 | 'correctness compatibility coherence symmetry assymetry ' + 18 | 'reflexivity irreflexivity connectedness uniqueness commutativity ' + 19 | 'idempotence involutiveness projectivity', 20 | contains: [ 21 | hljs.COMMENT('::', '$') 22 | ] 23 | }; 24 | } 25 | -------------------------------------------------------------------------------- /hightlight/languages/mojolicious.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Mojolicious 3 | Requires: xml.js, perl.js 4 | Author: Dotan Dimet 5 | Description: Mojolicious .ep (Embedded Perl) templates 6 | Category: template 7 | */ 8 | function(hljs) { 9 | return { 10 | subLanguage: 'xml', 11 | contains: [ 12 | { 13 | className: 'meta', 14 | begin: '^__(END|DATA)__$' 15 | }, 16 | // mojolicious line 17 | { 18 | begin: "^\\s*%{1,2}={0,2}", end: '$', 19 | subLanguage: 'perl' 20 | }, 21 | // mojolicious block 22 | { 23 | begin: "<%{1,2}={0,2}", 24 | end: "={0,1}%>", 25 | subLanguage: 'perl', 26 | excludeBegin: true, 27 | excludeEnd: true 28 | } 29 | ] 30 | }; 31 | } 32 | -------------------------------------------------------------------------------- /hightlight/languages/nix.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Nix 3 | Author: Domen Kožar 4 | Description: Nix functional language. See http://nixos.org/nix 5 | */ 6 | 7 | 8 | function(hljs) { 9 | var NIX_KEYWORDS = { 10 | keyword: 11 | 'rec with let in inherit assert if else then', 12 | literal: 13 | 'true false or and null', 14 | built_in: 15 | 'import abort baseNameOf dirOf isNull builtins map removeAttrs throw ' + 16 | 'toString derivation' 17 | }; 18 | var ANTIQUOTE = { 19 | className: 'subst', 20 | begin: /\$\{/, 21 | end: /}/, 22 | keywords: NIX_KEYWORDS 23 | }; 24 | var ATTRS = { 25 | begin: /[a-zA-Z0-9-_]+(\s*=)/, returnBegin: true, 26 | relevance: 0, 27 | contains: [ 28 | { 29 | className: 'attr', 30 | begin: /\S+/ 31 | } 32 | ] 33 | }; 34 | var STRING = { 35 | className: 'string', 36 | contains: [ANTIQUOTE], 37 | variants: [ 38 | {begin: "''", end: "''"}, 39 | {begin: '"', end: '"'} 40 | ] 41 | }; 42 | var EXPRESSIONS = [ 43 | hljs.NUMBER_MODE, 44 | hljs.HASH_COMMENT_MODE, 45 | hljs.C_BLOCK_COMMENT_MODE, 46 | STRING, 47 | ATTRS 48 | ]; 49 | ANTIQUOTE.contains = EXPRESSIONS; 50 | return { 51 | aliases: ["nixos"], 52 | keywords: NIX_KEYWORDS, 53 | contains: EXPRESSIONS 54 | }; 55 | } 56 | -------------------------------------------------------------------------------- /hightlight/languages/parser3.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Parser3 3 | Requires: xml.js 4 | Author: Oleg Volchkov 5 | Category: template 6 | */ 7 | 8 | function(hljs) { 9 | var CURLY_SUBCOMMENT = hljs.COMMENT( 10 | '{', 11 | '}', 12 | { 13 | contains: ['self'] 14 | } 15 | ); 16 | return { 17 | subLanguage: 'xml', relevance: 0, 18 | contains: [ 19 | hljs.COMMENT('^#', '$'), 20 | hljs.COMMENT( 21 | '\\^rem{', 22 | '}', 23 | { 24 | relevance: 10, 25 | contains: [ 26 | CURLY_SUBCOMMENT 27 | ] 28 | } 29 | ), 30 | { 31 | className: 'meta', 32 | begin: '^@(?:BASE|USE|CLASS|OPTIONS)$', 33 | relevance: 10 34 | }, 35 | { 36 | className: 'title', 37 | begin: '@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$' 38 | }, 39 | { 40 | className: 'variable', 41 | begin: '\\$\\{?[\\w\\-\\.\\:]+\\}?' 42 | }, 43 | { 44 | className: 'keyword', 45 | begin: '\\^[\\w\\-\\.\\:]+' 46 | }, 47 | { 48 | className: 'number', 49 | begin: '\\^#[0-9a-fA-F]+' 50 | }, 51 | hljs.C_NUMBER_MODE 52 | ] 53 | }; 54 | } 55 | -------------------------------------------------------------------------------- /hightlight/languages/profile.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Python profile 3 | Description: Python profiler results 4 | Author: Brian Beck 5 | */ 6 | 7 | function(hljs) { 8 | return { 9 | contains: [ 10 | hljs.C_NUMBER_MODE, 11 | { 12 | begin: '[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}', end: ':', 13 | excludeEnd: true 14 | }, 15 | { 16 | begin: '(ncalls|tottime|cumtime)', end: '$', 17 | keywords: 'ncalls tottime|10 cumtime|10 filename', 18 | relevance: 10 19 | }, 20 | { 21 | begin: 'function calls', end: '$', 22 | contains: [hljs.C_NUMBER_MODE], 23 | relevance: 10 24 | }, 25 | hljs.APOS_STRING_MODE, 26 | hljs.QUOTE_STRING_MODE, 27 | { 28 | className: 'string', 29 | begin: '\\(', end: '\\)$', 30 | excludeBegin: true, excludeEnd: true, 31 | relevance: 0 32 | } 33 | ] 34 | }; 35 | } 36 | -------------------------------------------------------------------------------- /hightlight/languages/prolog.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Prolog 3 | Description: Prolog is a general purpose logic programming language associated with artificial intelligence and computational linguistics. 4 | Author: Raivo Laanemets 5 | */ 6 | 7 | function(hljs) { 8 | 9 | var ATOM = { 10 | 11 | begin: /[a-z][A-Za-z0-9_]*/, 12 | relevance: 0 13 | }; 14 | 15 | var VAR = { 16 | 17 | className: 'symbol', 18 | variants: [ 19 | {begin: /[A-Z][a-zA-Z0-9_]*/}, 20 | {begin: /_[A-Za-z0-9_]*/}, 21 | ], 22 | relevance: 0 23 | }; 24 | 25 | var PARENTED = { 26 | 27 | begin: /\(/, 28 | end: /\)/, 29 | relevance: 0 30 | }; 31 | 32 | var LIST = { 33 | 34 | begin: /\[/, 35 | end: /\]/ 36 | }; 37 | 38 | var LINE_COMMENT = { 39 | 40 | className: 'comment', 41 | begin: /%/, end: /$/, 42 | contains: [hljs.PHRASAL_WORDS_MODE] 43 | }; 44 | 45 | var BACKTICK_STRING = { 46 | 47 | className: 'string', 48 | begin: /`/, end: /`/, 49 | contains: [hljs.BACKSLASH_ESCAPE] 50 | }; 51 | 52 | var CHAR_CODE = { 53 | 54 | className: 'string', // 0'a etc. 55 | begin: /0\'(\\\'|.)/ 56 | }; 57 | 58 | var SPACE_CODE = { 59 | 60 | className: 'string', 61 | begin: /0\'\\s/ // 0'\s 62 | }; 63 | 64 | var PRED_OP = { // relevance booster 65 | begin: /:-/ 66 | }; 67 | 68 | var inner = [ 69 | 70 | ATOM, 71 | VAR, 72 | PARENTED, 73 | PRED_OP, 74 | LIST, 75 | LINE_COMMENT, 76 | hljs.C_BLOCK_COMMENT_MODE, 77 | hljs.QUOTE_STRING_MODE, 78 | hljs.APOS_STRING_MODE, 79 | BACKTICK_STRING, 80 | CHAR_CODE, 81 | SPACE_CODE, 82 | hljs.C_NUMBER_MODE 83 | ]; 84 | 85 | PARENTED.contains = inner; 86 | LIST.contains = inner; 87 | 88 | return { 89 | contains: inner.concat([ 90 | {begin: /\.$/} // relevance booster 91 | ]) 92 | }; 93 | } 94 | -------------------------------------------------------------------------------- /hightlight/languages/protobuf.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Protocol Buffers 3 | Author: Dan Tao 4 | Description: Protocol buffer message definition format 5 | Category: protocols 6 | */ 7 | 8 | function(hljs) { 9 | return { 10 | keywords: { 11 | keyword: 'package import option optional required repeated group oneof', 12 | built_in: 'double float int32 int64 uint32 uint64 sint32 sint64 ' + 13 | 'fixed32 fixed64 sfixed32 sfixed64 bool string bytes', 14 | literal: 'true false' 15 | }, 16 | contains: [ 17 | hljs.QUOTE_STRING_MODE, 18 | hljs.NUMBER_MODE, 19 | hljs.C_LINE_COMMENT_MODE, 20 | { 21 | className: 'class', 22 | beginKeywords: 'message enum service', end: /\{/, 23 | illegal: /\n/, 24 | contains: [ 25 | hljs.inherit(hljs.TITLE_MODE, { 26 | starts: {endsWithParent: true, excludeEnd: true} // hack: eating everything after the first title 27 | }) 28 | ] 29 | }, 30 | { 31 | className: 'function', 32 | beginKeywords: 'rpc', 33 | end: /;/, excludeEnd: true, 34 | keywords: 'rpc returns' 35 | }, 36 | { 37 | begin: /^\s*[A-Z_]+/, 38 | end: /\s*=/, excludeEnd: true 39 | } 40 | ] 41 | }; 42 | } 43 | -------------------------------------------------------------------------------- /hightlight/languages/q.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Q 3 | Author: Sergey Vidyuk 4 | Description: K/Q/Kdb+ from Kx Systems 5 | */ 6 | function(hljs) { 7 | var Q_KEYWORDS = { 8 | keyword: 9 | 'do while select delete by update from', 10 | literal: 11 | '0b 1b', 12 | built_in: 13 | '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', 14 | type: 15 | '`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid' 16 | }; 17 | return { 18 | aliases:['k', 'kdb'], 19 | keywords: Q_KEYWORDS, 20 | lexemes: /(`?)[A-Za-z0-9_]+\b/, 21 | contains: [ 22 | hljs.C_LINE_COMMENT_MODE, 23 | hljs.QUOTE_STRING_MODE, 24 | hljs.C_NUMBER_MODE 25 | ] 26 | }; 27 | } 28 | -------------------------------------------------------------------------------- /hightlight/languages/rib.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: RenderMan RIB 3 | Author: Konstantin Evdokimenko 4 | Contributors: Shuen-Huei Guan 5 | Category: graphics 6 | */ 7 | 8 | function(hljs) { 9 | return { 10 | keywords: 11 | 'ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis ' + 12 | 'Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone ' + 13 | 'CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail ' + 14 | 'DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format ' + 15 | 'FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry ' + 16 | 'Hider Hyperboloid Identity Illuminate Imager Interior LightSource ' + 17 | 'MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte ' + 18 | 'MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option ' + 19 | 'Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples ' + 20 | 'PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection ' + 21 | 'Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ' + 22 | 'ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere ' + 23 | 'SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd ' + 24 | 'TransformPoints Translate TrimCurve WorldBegin WorldEnd', 25 | illegal: ' 4 | Website: http://roboconf.net 5 | Description: Syntax highlighting for Roboconf's DSL 6 | Category: config 7 | */ 8 | 9 | function(hljs) { 10 | var IDENTIFIER = '[a-zA-Z-_][^\\n{]+\\{'; 11 | 12 | var PROPERTY = { 13 | className: 'attribute', 14 | begin: /[a-zA-Z-_]+/, end: /\s*:/, excludeEnd: true, 15 | starts: { 16 | end: ';', 17 | relevance: 0, 18 | contains: [ 19 | { 20 | className: 'variable', 21 | begin: /\.[a-zA-Z-_]+/ 22 | }, 23 | { 24 | className: 'keyword', 25 | begin: /\(optional\)/ 26 | } 27 | ] 28 | } 29 | }; 30 | 31 | return { 32 | aliases: ['graph', 'instances'], 33 | case_insensitive: true, 34 | keywords: 'import', 35 | contains: [ 36 | // Facet sections 37 | { 38 | begin: '^facet ' + IDENTIFIER, 39 | end: '}', 40 | keywords: 'facet', 41 | contains: [ 42 | PROPERTY, 43 | hljs.HASH_COMMENT_MODE 44 | ] 45 | }, 46 | 47 | // Instance sections 48 | { 49 | begin: '^\\s*instance of ' + IDENTIFIER, 50 | end: '}', 51 | keywords: 'name count channels instance-data instance-state instance of', 52 | illegal: /\S/, 53 | contains: [ 54 | 'self', 55 | PROPERTY, 56 | hljs.HASH_COMMENT_MODE 57 | ] 58 | }, 59 | 60 | // Component sections 61 | { 62 | begin: '^' + IDENTIFIER, 63 | end: '}', 64 | contains: [ 65 | PROPERTY, 66 | hljs.HASH_COMMENT_MODE 67 | ] 68 | }, 69 | 70 | // Comments 71 | hljs.HASH_COMMENT_MODE 72 | ] 73 | }; 74 | } 75 | -------------------------------------------------------------------------------- /hightlight/languages/rsl.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: RenderMan RSL 3 | Author: Konstantin Evdokimenko 4 | Contributors: Shuen-Huei Guan 5 | Category: graphics 6 | */ 7 | 8 | function(hljs) { 9 | return { 10 | keywords: { 11 | keyword: 12 | 'float color point normal vector matrix while for if do return else break extern continue', 13 | built_in: 14 | 'abs acos ambient area asin atan atmosphere attribute calculatenormal ceil cellnoise ' + 15 | 'clamp comp concat cos degrees depth Deriv diffuse distance Du Dv environment exp ' + 16 | 'faceforward filterstep floor format fresnel incident length lightsource log match ' + 17 | 'max min mod noise normalize ntransform opposite option phong pnoise pow printf ' + 18 | 'ptlined radians random reflect refract renderinfo round setcomp setxcomp setycomp ' + 19 | 'setzcomp shadow sign sin smoothstep specular specularbrdf spline sqrt step tan ' + 20 | 'texture textureinfo trace transform vtransform xcomp ycomp zcomp' 21 | }, 22 | illegal: ' 5 | Category: common 6 | */ 7 | 8 | function(hljs) { 9 | return { 10 | aliases: ['console'], 11 | contains: [ 12 | { 13 | className: 'meta', 14 | begin: '^\\s{0,3}[\\w\\d\\[\\]()@-]*[>%$#]', 15 | starts: { 16 | end: '$', subLanguage: 'bash' 17 | } 18 | } 19 | ] 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /hightlight/languages/smalltalk.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Smalltalk 3 | Author: Vladimir Gubarkov 4 | */ 5 | 6 | function(hljs) { 7 | var VAR_IDENT_RE = '[a-z][a-zA-Z0-9_]*'; 8 | var CHAR = { 9 | className: 'string', 10 | begin: '\\$.{1}' 11 | }; 12 | var SYMBOL = { 13 | className: 'symbol', 14 | begin: '#' + hljs.UNDERSCORE_IDENT_RE 15 | }; 16 | return { 17 | aliases: ['st'], 18 | keywords: 'self super nil true false thisContext', // only 6 19 | contains: [ 20 | hljs.COMMENT('"', '"'), 21 | hljs.APOS_STRING_MODE, 22 | { 23 | className: 'type', 24 | begin: '\\b[A-Z][A-Za-z0-9_]*', 25 | relevance: 0 26 | }, 27 | { 28 | begin: VAR_IDENT_RE + ':', 29 | relevance: 0 30 | }, 31 | hljs.C_NUMBER_MODE, 32 | SYMBOL, 33 | CHAR, 34 | { 35 | // This looks more complicated than needed to avoid combinatorial 36 | // explosion under V8. It effectively means `| var1 var2 ... |` with 37 | // whitespace adjacent to `|` being optional. 38 | begin: '\\|[ ]*' + VAR_IDENT_RE + '([ ]+' + VAR_IDENT_RE + ')*[ ]*\\|', 39 | returnBegin: true, end: /\|/, 40 | illegal: /\S/, 41 | contains: [{begin: '(\\|[ ]*)?' + VAR_IDENT_RE}] 42 | }, 43 | { 44 | begin: '\\#\\(', end: '\\)', 45 | contains: [ 46 | hljs.APOS_STRING_MODE, 47 | CHAR, 48 | hljs.C_NUMBER_MODE, 49 | SYMBOL 50 | ] 51 | } 52 | ] 53 | }; 54 | } 55 | -------------------------------------------------------------------------------- /hightlight/languages/step21.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: STEP Part 21 3 | Contributors: Adam Joseph Cook 4 | Description: Syntax highlighter for STEP Part 21 files (ISO 10303-21). 5 | */ 6 | 7 | function(hljs) { 8 | var STEP21_IDENT_RE = '[A-Z_][A-Z0-9_.]*'; 9 | var STEP21_KEYWORDS = { 10 | keyword: 'HEADER ENDSEC DATA' 11 | }; 12 | var STEP21_START = { 13 | className: 'meta', 14 | begin: 'ISO-10303-21;', 15 | relevance: 10 16 | }; 17 | var STEP21_CLOSE = { 18 | className: 'meta', 19 | begin: 'END-ISO-10303-21;', 20 | relevance: 10 21 | }; 22 | 23 | return { 24 | aliases: ['p21', 'step', 'stp'], 25 | case_insensitive: true, // STEP 21 is case insensitive in theory, in practice all non-comments are capitalized. 26 | lexemes: STEP21_IDENT_RE, 27 | keywords: STEP21_KEYWORDS, 28 | contains: [ 29 | STEP21_START, 30 | STEP21_CLOSE, 31 | hljs.C_LINE_COMMENT_MODE, 32 | hljs.C_BLOCK_COMMENT_MODE, 33 | hljs.COMMENT('/\\*\\*!', '\\*/'), 34 | hljs.C_NUMBER_MODE, 35 | hljs.inherit(hljs.APOS_STRING_MODE, {illegal: null}), 36 | hljs.inherit(hljs.QUOTE_STRING_MODE, {illegal: null}), 37 | { 38 | className: 'string', 39 | begin: "'", end: "'" 40 | }, 41 | { 42 | className: 'symbol', 43 | variants: [ 44 | { 45 | begin: '#', end: '\\d+', 46 | illegal: '\\W' 47 | } 48 | ] 49 | } 50 | ] 51 | }; 52 | } 53 | -------------------------------------------------------------------------------- /hightlight/languages/subunit.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: SubUnit 3 | Author: Sergey Bronnikov 4 | Website: https://bronevichok.ru/ 5 | */ 6 | 7 | function(hljs) { 8 | var DETAILS = { 9 | className: 'string', 10 | begin: '\\[\n(multipart)?', end: '\\]\n' 11 | }; 12 | var TIME = { 13 | className: 'string', 14 | begin: '\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}\.\\d+Z' 15 | }; 16 | var PROGRESSVALUE = { 17 | className: 'string', 18 | begin: '(\\+|-)\\d+' 19 | }; 20 | var KEYWORDS = { 21 | className: 'keyword', 22 | relevance: 10, 23 | variants: [ 24 | { begin: '^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?' }, 25 | { begin: '^progress(:?)(\\s+)?(pop|push)?' }, 26 | { begin: '^tags:' }, 27 | { begin: '^time:' } 28 | ], 29 | }; 30 | return { 31 | case_insensitive: true, 32 | contains: [ 33 | DETAILS, 34 | TIME, 35 | PROGRESSVALUE, 36 | KEYWORDS 37 | ] 38 | }; 39 | } 40 | -------------------------------------------------------------------------------- /hightlight/languages/taggerscript.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Tagger Script 3 | Author: Philipp Wolfer 4 | Description: Syntax Highlighting for the Tagger Script as used by MusicBrainz Picard. 5 | */ 6 | function(hljs) { 7 | 8 | var COMMENT = { 9 | className: 'comment', 10 | begin: /\$noop\(/, 11 | end: /\)/, 12 | contains: [{ 13 | begin: /\(/, 14 | end: /\)/, 15 | contains: ['self', { 16 | begin: /\\./ 17 | }] 18 | }], 19 | relevance: 10 20 | }; 21 | 22 | var FUNCTION = { 23 | className: 'keyword', 24 | begin: /\$(?!noop)[a-zA-Z][_a-zA-Z0-9]*/, 25 | end: /\(/, 26 | excludeEnd: true 27 | }; 28 | 29 | var VARIABLE = { 30 | className: 'variable', 31 | begin: /%[_a-zA-Z0-9:]*/, 32 | end: '%' 33 | }; 34 | 35 | var ESCAPE_SEQUENCE = { 36 | className: 'symbol', 37 | begin: /\\./ 38 | }; 39 | 40 | return { 41 | contains: [ 42 | COMMENT, 43 | FUNCTION, 44 | VARIABLE, 45 | ESCAPE_SEQUENCE 46 | ] 47 | }; 48 | } 49 | -------------------------------------------------------------------------------- /hightlight/languages/tap.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Test Anything Protocol 3 | Requires: yaml.js 4 | Author: Sergey Bronnikov 5 | Website: https://bronevichok.ru/ 6 | */ 7 | 8 | function(hljs) { 9 | return { 10 | case_insensitive: true, 11 | contains: [ 12 | hljs.HASH_COMMENT_MODE, 13 | // version of format and total amount of testcases 14 | { 15 | className: 'meta', 16 | variants: [ 17 | { begin: '^TAP version (\\d+)$' }, 18 | { begin: '^1\\.\\.(\\d+)$' } 19 | ], 20 | }, 21 | // YAML block 22 | { 23 | begin: '(\s+)?---$', end: '\\.\\.\\.$', 24 | subLanguage: 'yaml', 25 | relevance: 0 26 | }, 27 | // testcase number 28 | { 29 | className: 'number', 30 | begin: ' (\\d+) ' 31 | }, 32 | // testcase status and description 33 | { 34 | className: 'symbol', 35 | variants: [ 36 | { begin: '^ok' }, 37 | { begin: '^not ok' } 38 | ], 39 | }, 40 | ] 41 | }; 42 | } 43 | -------------------------------------------------------------------------------- /hightlight/languages/tex.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: TeX 3 | Author: Vladimir Moskva 4 | Website: http://fulc.ru/ 5 | Category: markup 6 | */ 7 | 8 | function(hljs) { 9 | var COMMAND = { 10 | className: 'tag', 11 | begin: /\\/, 12 | relevance: 0, 13 | contains: [ 14 | { 15 | className: 'name', 16 | variants: [ 17 | {begin: /[a-zA-Zа-яА-я]+[*]?/}, 18 | {begin: /[^a-zA-Zа-яА-я0-9]/} 19 | ], 20 | starts: { 21 | endsWithParent: true, 22 | relevance: 0, 23 | contains: [ 24 | { 25 | className: 'string', // because it looks like attributes in HTML tags 26 | variants: [ 27 | {begin: /\[/, end: /\]/}, 28 | {begin: /\{/, end: /\}/} 29 | ] 30 | }, 31 | { 32 | begin: /\s*=\s*/, endsWithParent: true, 33 | relevance: 0, 34 | contains: [ 35 | { 36 | className: 'number', 37 | begin: /-?\d*\.?\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?/ 38 | } 39 | ] 40 | } 41 | ] 42 | } 43 | } 44 | ] 45 | }; 46 | 47 | return { 48 | contains: [ 49 | COMMAND, 50 | { 51 | className: 'formula', 52 | contains: [COMMAND], 53 | relevance: 0, 54 | variants: [ 55 | {begin: /\$\$/, end: /\$\$/}, 56 | {begin: /\$/, end: /\$/} 57 | ] 58 | }, 59 | hljs.COMMENT( 60 | '%', 61 | '$', 62 | { 63 | relevance: 0 64 | } 65 | ) 66 | ] 67 | }; 68 | } 69 | -------------------------------------------------------------------------------- /hightlight/languages/thrift.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: Thrift 3 | Author: Oleg Efimov 4 | Description: Thrift message definition format 5 | Category: protocols 6 | */ 7 | 8 | function(hljs) { 9 | var BUILT_IN_TYPES = 'bool byte i16 i32 i64 double string binary'; 10 | return { 11 | keywords: { 12 | keyword: 13 | 'namespace const typedef struct enum service exception void oneway set list map required optional', 14 | built_in: 15 | BUILT_IN_TYPES, 16 | literal: 17 | 'true false' 18 | }, 19 | contains: [ 20 | hljs.QUOTE_STRING_MODE, 21 | hljs.NUMBER_MODE, 22 | hljs.C_LINE_COMMENT_MODE, 23 | hljs.C_BLOCK_COMMENT_MODE, 24 | { 25 | className: 'class', 26 | beginKeywords: 'struct enum service exception', end: /\{/, 27 | illegal: /\n/, 28 | contains: [ 29 | hljs.inherit(hljs.TITLE_MODE, { 30 | starts: {endsWithParent: true, excludeEnd: true} // hack: eating everything after the first title 31 | }) 32 | ] 33 | }, 34 | { 35 | begin: '\\b(set|list|map)\\s*<', end: '>', 36 | keywords: BUILT_IN_TYPES, 37 | contains: ['self'] 38 | } 39 | ] 40 | }; 41 | } 42 | -------------------------------------------------------------------------------- /hightlight/languages/vbscript-html.js: -------------------------------------------------------------------------------- 1 | /* 2 | Language: VBScript in HTML 3 | Requires: xml.js, vbscript.js 4 | Author: Ivan Sagalaev 5 | Description: "Bridge" language defining fragments of VBScript in HTML within <% .. %> 6 | Category: scripting 7 | */ 8 | 9 | function(hljs) { 10 | return { 11 | subLanguage: 'xml', 12 | contains: [ 13 | { 14 | begin: '<%', end: '%>', 15 | subLanguage: 'vbscript' 16 | } 17 | ] 18 | }; 19 | } 20 | -------------------------------------------------------------------------------- /hightlight/styles/agate.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Agate by Taufik Nurrohman 3 | * ---------------------------------------------------- 4 | * 5 | * #ade5fc 6 | * #a2fca2 7 | * #c6b4f0 8 | * #d36363 9 | * #fcc28c 10 | * #fc9b9b 11 | * #ffa 12 | * #fff 13 | * #333 14 | * #62c8f3 15 | * #888 16 | * 17 | */ 18 | 19 | .hljs { 20 | display: block; 21 | overflow-x: auto; 22 | padding: 0.5em; 23 | background: #333; 24 | color: white; 25 | } 26 | 27 | .hljs-name, 28 | .hljs-strong { 29 | font-weight: bold; 30 | } 31 | 32 | .hljs-code, 33 | .hljs-emphasis { 34 | font-style: italic; 35 | } 36 | 37 | .hljs-tag { 38 | color: #62c8f3; 39 | } 40 | 41 | .hljs-variable, 42 | .hljs-template-variable, 43 | .hljs-selector-id, 44 | .hljs-selector-class { 45 | color: #ade5fc; 46 | } 47 | 48 | .hljs-string, 49 | .hljs-bullet { 50 | color: #a2fca2; 51 | } 52 | 53 | .hljs-type, 54 | .hljs-title, 55 | .hljs-section, 56 | .hljs-attribute, 57 | .hljs-quote, 58 | .hljs-built_in, 59 | .hljs-builtin-name { 60 | color: #ffa; 61 | } 62 | 63 | .hljs-number, 64 | .hljs-symbol, 65 | .hljs-bullet { 66 | color: #d36363; 67 | } 68 | 69 | .hljs-keyword, 70 | .hljs-selector-tag, 71 | .hljs-literal { 72 | color: #fcc28c; 73 | } 74 | 75 | .hljs-comment, 76 | .hljs-deletion, 77 | .hljs-code { 78 | color: #888; 79 | } 80 | 81 | .hljs-regexp, 82 | .hljs-link { 83 | color: #c6b4f0; 84 | } 85 | 86 | .hljs-meta { 87 | color: #fc9b9b; 88 | } 89 | 90 | .hljs-deletion { 91 | background-color: #fc9b9b; 92 | color: #333; 93 | } 94 | 95 | .hljs-addition { 96 | background-color: #a2fca2; 97 | color: #333; 98 | } 99 | 100 | .hljs a { 101 | color: inherit; 102 | } 103 | 104 | .hljs a:focus, 105 | .hljs a:hover { 106 | color: inherit; 107 | text-decoration: underline; 108 | } 109 | -------------------------------------------------------------------------------- /hightlight/styles/androidstudio.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 24 Fev 2015 3 | Author: Pedro Oliveira 4 | */ 5 | 6 | .hljs { 7 | color: #a9b7c6; 8 | background: #282b2e; 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | } 13 | 14 | .hljs-number, 15 | .hljs-literal, 16 | .hljs-symbol, 17 | .hljs-bullet { 18 | color: #6897BB; 19 | } 20 | 21 | .hljs-keyword, 22 | .hljs-selector-tag, 23 | .hljs-deletion { 24 | color: #cc7832; 25 | } 26 | 27 | .hljs-variable, 28 | .hljs-template-variable, 29 | .hljs-link { 30 | color: #629755; 31 | } 32 | 33 | .hljs-comment, 34 | .hljs-quote { 35 | color: #808080; 36 | } 37 | 38 | .hljs-meta { 39 | color: #bbb529; 40 | } 41 | 42 | .hljs-string, 43 | .hljs-attribute, 44 | .hljs-addition { 45 | color: #6A8759; 46 | } 47 | 48 | .hljs-section, 49 | .hljs-title, 50 | .hljs-type { 51 | color: #ffc66d; 52 | } 53 | 54 | .hljs-name, 55 | .hljs-selector-id, 56 | .hljs-selector-class { 57 | color: #e8bf6a; 58 | } 59 | 60 | .hljs-emphasis { 61 | font-style: italic; 62 | } 63 | 64 | .hljs-strong { 65 | font-weight: bold; 66 | } 67 | -------------------------------------------------------------------------------- /hightlight/styles/arduino-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Arduino® Light Theme - Stefania Mellai 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #FFFFFF; 12 | } 13 | 14 | .hljs, 15 | .hljs-subst { 16 | color: #434f54; 17 | } 18 | 19 | .hljs-keyword, 20 | .hljs-attribute, 21 | .hljs-selector-tag, 22 | .hljs-doctag, 23 | .hljs-name { 24 | color: #00979D; 25 | } 26 | 27 | .hljs-built_in, 28 | .hljs-literal, 29 | .hljs-bullet, 30 | .hljs-code, 31 | .hljs-addition { 32 | color: #D35400; 33 | } 34 | 35 | .hljs-regexp, 36 | .hljs-symbol, 37 | .hljs-variable, 38 | .hljs-template-variable, 39 | .hljs-link, 40 | .hljs-selector-attr, 41 | .hljs-selector-pseudo { 42 | color: #00979D; 43 | } 44 | 45 | .hljs-type, 46 | .hljs-string, 47 | .hljs-selector-id, 48 | .hljs-selector-class, 49 | .hljs-quote, 50 | .hljs-template-tag, 51 | .hljs-deletion { 52 | color: #005C5F; 53 | } 54 | 55 | .hljs-title, 56 | .hljs-section { 57 | color: #880000; 58 | font-weight: bold; 59 | } 60 | 61 | .hljs-comment { 62 | color: rgba(149,165,166,.8); 63 | } 64 | 65 | .hljs-meta-keyword { 66 | color: #728E00; 67 | } 68 | 69 | .hljs-meta { 70 | color: #728E00; 71 | color: #434f54; 72 | } 73 | 74 | .hljs-emphasis { 75 | font-style: italic; 76 | } 77 | 78 | .hljs-strong { 79 | font-weight: bold; 80 | } 81 | 82 | .hljs-function { 83 | color: #728E00; 84 | } 85 | 86 | .hljs-number { 87 | color: #8A7B52; 88 | } 89 | -------------------------------------------------------------------------------- /hightlight/styles/arta.css: -------------------------------------------------------------------------------- 1 | /* 2 | Date: 17.V.2011 3 | Author: pumbur 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: #222; 11 | } 12 | 13 | .hljs, 14 | .hljs-subst { 15 | color: #aaa; 16 | } 17 | 18 | .hljs-section { 19 | color: #fff; 20 | } 21 | 22 | .hljs-comment, 23 | .hljs-quote, 24 | .hljs-meta { 25 | color: #444; 26 | } 27 | 28 | .hljs-string, 29 | .hljs-symbol, 30 | .hljs-bullet, 31 | .hljs-regexp { 32 | color: #ffcc33; 33 | } 34 | 35 | .hljs-number, 36 | .hljs-addition { 37 | color: #00cc66; 38 | } 39 | 40 | .hljs-built_in, 41 | .hljs-builtin-name, 42 | .hljs-literal, 43 | .hljs-type, 44 | .hljs-template-variable, 45 | .hljs-attribute, 46 | .hljs-link { 47 | color: #32aaee; 48 | } 49 | 50 | .hljs-keyword, 51 | .hljs-selector-tag, 52 | .hljs-name, 53 | .hljs-selector-id, 54 | .hljs-selector-class { 55 | color: #6644aa; 56 | } 57 | 58 | .hljs-title, 59 | .hljs-variable, 60 | .hljs-deletion, 61 | .hljs-template-tag { 62 | color: #bb1166; 63 | } 64 | 65 | .hljs-section, 66 | .hljs-doctag, 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | 71 | .hljs-emphasis { 72 | font-style: italic; 73 | } 74 | -------------------------------------------------------------------------------- /hightlight/styles/ascetic.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: white; 12 | color: black; 13 | } 14 | 15 | .hljs-string, 16 | .hljs-variable, 17 | .hljs-template-variable, 18 | .hljs-symbol, 19 | .hljs-bullet, 20 | .hljs-section, 21 | .hljs-addition, 22 | .hljs-attribute, 23 | .hljs-link { 24 | color: #888; 25 | } 26 | 27 | .hljs-comment, 28 | .hljs-quote, 29 | .hljs-meta, 30 | .hljs-deletion { 31 | color: #ccc; 32 | } 33 | 34 | .hljs-keyword, 35 | .hljs-selector-tag, 36 | .hljs-section, 37 | .hljs-name, 38 | .hljs-type, 39 | .hljs-strong { 40 | font-weight: bold; 41 | } 42 | 43 | .hljs-emphasis { 44 | font-style: italic; 45 | } 46 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-cave-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Cave Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Cave Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #7e7887; 9 | } 10 | 11 | /* Atelier-Cave Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-regexp, 16 | .hljs-link, 17 | .hljs-tag, 18 | .hljs-name, 19 | .hljs-selector-id, 20 | .hljs-selector-class { 21 | color: #be4678; 22 | } 23 | 24 | /* Atelier-Cave Orange */ 25 | .hljs-number, 26 | .hljs-meta, 27 | .hljs-built_in, 28 | .hljs-builtin-name, 29 | .hljs-literal, 30 | .hljs-type, 31 | .hljs-params { 32 | color: #aa573c; 33 | } 34 | 35 | /* Atelier-Cave Green */ 36 | .hljs-string, 37 | .hljs-symbol, 38 | .hljs-bullet { 39 | color: #2a9292; 40 | } 41 | 42 | /* Atelier-Cave Blue */ 43 | .hljs-title, 44 | .hljs-section { 45 | color: #576ddb; 46 | } 47 | 48 | /* Atelier-Cave Purple */ 49 | .hljs-keyword, 50 | .hljs-selector-tag { 51 | color: #955ae7; 52 | } 53 | 54 | .hljs-deletion, 55 | .hljs-addition { 56 | color: #19171c; 57 | display: inline-block; 58 | width: 100%; 59 | } 60 | 61 | .hljs-deletion { 62 | background-color: #be4678; 63 | } 64 | 65 | .hljs-addition { 66 | background-color: #2a9292; 67 | } 68 | 69 | .hljs { 70 | display: block; 71 | overflow-x: auto; 72 | background: #19171c; 73 | color: #8b8792; 74 | padding: 0.5em; 75 | } 76 | 77 | .hljs-emphasis { 78 | font-style: italic; 79 | } 80 | 81 | .hljs-strong { 82 | font-weight: bold; 83 | } 84 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-cave-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Cave Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Cave Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #655f6d; 9 | } 10 | 11 | /* Atelier-Cave Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-name, 21 | .hljs-selector-id, 22 | .hljs-selector-class { 23 | color: #be4678; 24 | } 25 | 26 | /* Atelier-Cave Orange */ 27 | .hljs-number, 28 | .hljs-meta, 29 | .hljs-built_in, 30 | .hljs-builtin-name, 31 | .hljs-literal, 32 | .hljs-type, 33 | .hljs-params { 34 | color: #aa573c; 35 | } 36 | 37 | /* Atelier-Cave Green */ 38 | .hljs-string, 39 | .hljs-symbol, 40 | .hljs-bullet { 41 | color: #2a9292; 42 | } 43 | 44 | /* Atelier-Cave Blue */ 45 | .hljs-title, 46 | .hljs-section { 47 | color: #576ddb; 48 | } 49 | 50 | /* Atelier-Cave Purple */ 51 | .hljs-keyword, 52 | .hljs-selector-tag { 53 | color: #955ae7; 54 | } 55 | 56 | .hljs-deletion, 57 | .hljs-addition { 58 | color: #19171c; 59 | display: inline-block; 60 | width: 100%; 61 | } 62 | 63 | .hljs-deletion { 64 | background-color: #be4678; 65 | } 66 | 67 | .hljs-addition { 68 | background-color: #2a9292; 69 | } 70 | 71 | .hljs { 72 | display: block; 73 | overflow-x: auto; 74 | background: #efecf4; 75 | color: #585260; 76 | padding: 0.5em; 77 | } 78 | 79 | .hljs-emphasis { 80 | font-style: italic; 81 | } 82 | 83 | .hljs-strong { 84 | font-weight: bold; 85 | } 86 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-dune-dark.css: -------------------------------------------------------------------------------- 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 | 5 | /* Atelier-Dune Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #999580; 9 | } 10 | 11 | /* Atelier-Dune Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #d73737; 23 | } 24 | 25 | /* Atelier-Dune Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #b65611; 34 | } 35 | 36 | /* Atelier-Dune Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #60ac39; 41 | } 42 | 43 | /* Atelier-Dune Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #6684e1; 47 | } 48 | 49 | /* Atelier-Dune Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #b854d4; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #20201d; 59 | color: #a6a28c; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-dune-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Dune Light - 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 | 5 | /* Atelier-Dune Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #7d7a68; 9 | } 10 | 11 | /* Atelier-Dune Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #d73737; 23 | } 24 | 25 | /* Atelier-Dune Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #b65611; 34 | } 35 | 36 | /* Atelier-Dune Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #60ac39; 41 | } 42 | 43 | /* Atelier-Dune Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #6684e1; 47 | } 48 | 49 | /* Atelier-Dune Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #b854d4; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #fefbec; 59 | color: #6e6b5e; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-estuary-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Estuary Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Estuary Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #878573; 9 | } 10 | 11 | /* Atelier-Estuary Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #ba6236; 23 | } 24 | 25 | /* Atelier-Estuary Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #ae7313; 34 | } 35 | 36 | /* Atelier-Estuary Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #7d9726; 41 | } 42 | 43 | /* Atelier-Estuary Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #36a166; 47 | } 48 | 49 | /* Atelier-Estuary Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #5f9182; 53 | } 54 | 55 | .hljs-deletion, 56 | .hljs-addition { 57 | color: #22221b; 58 | display: inline-block; 59 | width: 100%; 60 | } 61 | 62 | .hljs-deletion { 63 | background-color: #ba6236; 64 | } 65 | 66 | .hljs-addition { 67 | background-color: #7d9726; 68 | } 69 | 70 | .hljs { 71 | display: block; 72 | overflow-x: auto; 73 | background: #22221b; 74 | color: #929181; 75 | padding: 0.5em; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-estuary-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Estuary Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Estuary Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #6c6b5a; 9 | } 10 | 11 | /* Atelier-Estuary Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #ba6236; 23 | } 24 | 25 | /* Atelier-Estuary Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #ae7313; 34 | } 35 | 36 | /* Atelier-Estuary Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #7d9726; 41 | } 42 | 43 | /* Atelier-Estuary Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #36a166; 47 | } 48 | 49 | /* Atelier-Estuary Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #5f9182; 53 | } 54 | 55 | .hljs-deletion, 56 | .hljs-addition { 57 | color: #22221b; 58 | display: inline-block; 59 | width: 100%; 60 | } 61 | 62 | .hljs-deletion { 63 | background-color: #ba6236; 64 | } 65 | 66 | .hljs-addition { 67 | background-color: #7d9726; 68 | } 69 | 70 | .hljs { 71 | display: block; 72 | overflow-x: auto; 73 | background: #f4f3ec; 74 | color: #5f5e4e; 75 | padding: 0.5em; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-forest-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Forest Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Forest Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #9c9491; 9 | } 10 | 11 | /* Atelier-Forest Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #f22c40; 23 | } 24 | 25 | /* Atelier-Forest Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #df5320; 34 | } 35 | 36 | /* Atelier-Forest Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #7b9726; 41 | } 42 | 43 | /* Atelier-Forest Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #407ee7; 47 | } 48 | 49 | /* Atelier-Forest Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #6666ea; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #1b1918; 59 | color: #a8a19f; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-forest-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Forest Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Forest Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #766e6b; 9 | } 10 | 11 | /* Atelier-Forest Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #f22c40; 23 | } 24 | 25 | /* Atelier-Forest Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #df5320; 34 | } 35 | 36 | /* Atelier-Forest Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #7b9726; 41 | } 42 | 43 | /* Atelier-Forest Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #407ee7; 47 | } 48 | 49 | /* Atelier-Forest Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #6666ea; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #f1efee; 59 | color: #68615e; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-heath-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Heath Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Heath Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #9e8f9e; 9 | } 10 | 11 | /* Atelier-Heath Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #ca402b; 23 | } 24 | 25 | /* Atelier-Heath Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #a65926; 34 | } 35 | 36 | /* Atelier-Heath Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #918b3b; 41 | } 42 | 43 | /* Atelier-Heath Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #516aec; 47 | } 48 | 49 | /* Atelier-Heath Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #7b59c0; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #1b181b; 59 | color: #ab9bab; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-heath-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Heath Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Heath Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #776977; 9 | } 10 | 11 | /* Atelier-Heath Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #ca402b; 23 | } 24 | 25 | /* Atelier-Heath Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #a65926; 34 | } 35 | 36 | /* Atelier-Heath Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #918b3b; 41 | } 42 | 43 | /* Atelier-Heath Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #516aec; 47 | } 48 | 49 | /* Atelier-Heath Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #7b59c0; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #f7f3f7; 59 | color: #695d69; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-lakeside-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Lakeside Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Lakeside Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #7195a8; 9 | } 10 | 11 | /* Atelier-Lakeside Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #d22d72; 23 | } 24 | 25 | /* Atelier-Lakeside Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #935c25; 34 | } 35 | 36 | /* Atelier-Lakeside Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #568c3b; 41 | } 42 | 43 | /* Atelier-Lakeside Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #257fad; 47 | } 48 | 49 | /* Atelier-Lakeside Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #6b6bb8; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #161b1d; 59 | color: #7ea2b4; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-lakeside-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Lakeside Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/lakeside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Lakeside Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #5a7b8c; 9 | } 10 | 11 | /* Atelier-Lakeside Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #d22d72; 23 | } 24 | 25 | /* Atelier-Lakeside Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #935c25; 34 | } 35 | 36 | /* Atelier-Lakeside Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #568c3b; 41 | } 42 | 43 | /* Atelier-Lakeside Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #257fad; 47 | } 48 | 49 | /* Atelier-Lakeside Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #6b6bb8; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #ebf8ff; 59 | color: #516d7b; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-plateau-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Plateau Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Plateau Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #7e7777; 9 | } 10 | 11 | /* Atelier-Plateau Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #ca4949; 23 | } 24 | 25 | /* Atelier-Plateau Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #b45a3c; 34 | } 35 | 36 | /* Atelier-Plateau Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #4b8b8b; 41 | } 42 | 43 | /* Atelier-Plateau Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #7272ca; 47 | } 48 | 49 | /* Atelier-Plateau Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #8464c4; 53 | } 54 | 55 | .hljs-deletion, 56 | .hljs-addition { 57 | color: #1b1818; 58 | display: inline-block; 59 | width: 100%; 60 | } 61 | 62 | .hljs-deletion { 63 | background-color: #ca4949; 64 | } 65 | 66 | .hljs-addition { 67 | background-color: #4b8b8b; 68 | } 69 | 70 | .hljs { 71 | display: block; 72 | overflow-x: auto; 73 | background: #1b1818; 74 | color: #8a8585; 75 | padding: 0.5em; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-plateau-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Plateau Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/plateau) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Plateau Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #655d5d; 9 | } 10 | 11 | /* Atelier-Plateau Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #ca4949; 23 | } 24 | 25 | /* Atelier-Plateau Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #b45a3c; 34 | } 35 | 36 | /* Atelier-Plateau Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #4b8b8b; 41 | } 42 | 43 | /* Atelier-Plateau Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #7272ca; 47 | } 48 | 49 | /* Atelier-Plateau Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #8464c4; 53 | } 54 | 55 | .hljs-deletion, 56 | .hljs-addition { 57 | color: #1b1818; 58 | display: inline-block; 59 | width: 100%; 60 | } 61 | 62 | .hljs-deletion { 63 | background-color: #ca4949; 64 | } 65 | 66 | .hljs-addition { 67 | background-color: #4b8b8b; 68 | } 69 | 70 | .hljs { 71 | display: block; 72 | overflow-x: auto; 73 | background: #f4ecec; 74 | color: #585050; 75 | padding: 0.5em; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-savanna-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Savanna Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Savanna Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #78877d; 9 | } 10 | 11 | /* Atelier-Savanna Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #b16139; 23 | } 24 | 25 | /* Atelier-Savanna Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #9f713c; 34 | } 35 | 36 | /* Atelier-Savanna Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #489963; 41 | } 42 | 43 | /* Atelier-Savanna Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #478c90; 47 | } 48 | 49 | /* Atelier-Savanna Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #55859b; 53 | } 54 | 55 | .hljs-deletion, 56 | .hljs-addition { 57 | color: #171c19; 58 | display: inline-block; 59 | width: 100%; 60 | } 61 | 62 | .hljs-deletion { 63 | background-color: #b16139; 64 | } 65 | 66 | .hljs-addition { 67 | background-color: #489963; 68 | } 69 | 70 | .hljs { 71 | display: block; 72 | overflow-x: auto; 73 | background: #171c19; 74 | color: #87928a; 75 | padding: 0.5em; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-savanna-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Savanna Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/savanna) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Savanna Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #5f6d64; 9 | } 10 | 11 | /* Atelier-Savanna Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #b16139; 23 | } 24 | 25 | /* Atelier-Savanna Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #9f713c; 34 | } 35 | 36 | /* Atelier-Savanna Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #489963; 41 | } 42 | 43 | /* Atelier-Savanna Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #478c90; 47 | } 48 | 49 | /* Atelier-Savanna Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #55859b; 53 | } 54 | 55 | .hljs-deletion, 56 | .hljs-addition { 57 | color: #171c19; 58 | display: inline-block; 59 | width: 100%; 60 | } 61 | 62 | .hljs-deletion { 63 | background-color: #b16139; 64 | } 65 | 66 | .hljs-addition { 67 | background-color: #489963; 68 | } 69 | 70 | .hljs { 71 | display: block; 72 | overflow-x: auto; 73 | background: #ecf4ee; 74 | color: #526057; 75 | padding: 0.5em; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-seaside-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Seaside Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Seaside Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #809980; 9 | } 10 | 11 | /* Atelier-Seaside Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #e6193c; 23 | } 24 | 25 | /* Atelier-Seaside Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #87711d; 34 | } 35 | 36 | /* Atelier-Seaside Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #29a329; 41 | } 42 | 43 | /* Atelier-Seaside Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #3d62f5; 47 | } 48 | 49 | /* Atelier-Seaside Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #ad2bee; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #131513; 59 | color: #8ca68c; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-seaside-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Seaside Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/seaside) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Seaside Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #687d68; 9 | } 10 | 11 | /* Atelier-Seaside Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #e6193c; 23 | } 24 | 25 | /* Atelier-Seaside Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #87711d; 34 | } 35 | 36 | /* Atelier-Seaside Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #29a329; 41 | } 42 | 43 | /* Atelier-Seaside Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #3d62f5; 47 | } 48 | 49 | /* Atelier-Seaside Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #ad2bee; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #f4fbf4; 59 | color: #5e6e5e; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-sulphurpool-dark.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Sulphurpool Dark - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Sulphurpool Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #898ea4; 9 | } 10 | 11 | /* Atelier-Sulphurpool Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #c94922; 23 | } 24 | 25 | /* Atelier-Sulphurpool Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #c76b29; 34 | } 35 | 36 | /* Atelier-Sulphurpool Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #ac9739; 41 | } 42 | 43 | /* Atelier-Sulphurpool Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #3d8fd1; 47 | } 48 | 49 | /* Atelier-Sulphurpool Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #6679cc; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #202746; 59 | color: #979db4; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atelier-sulphurpool-light.css: -------------------------------------------------------------------------------- 1 | /* Base16 Atelier Sulphurpool Light - Theme */ 2 | /* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/sulphurpool) */ 3 | /* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */ 4 | 5 | /* Atelier-Sulphurpool Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #6b7394; 9 | } 10 | 11 | /* Atelier-Sulphurpool Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-attribute, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-regexp, 18 | .hljs-link, 19 | .hljs-name, 20 | .hljs-selector-id, 21 | .hljs-selector-class { 22 | color: #c94922; 23 | } 24 | 25 | /* Atelier-Sulphurpool Orange */ 26 | .hljs-number, 27 | .hljs-meta, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params { 33 | color: #c76b29; 34 | } 35 | 36 | /* Atelier-Sulphurpool Green */ 37 | .hljs-string, 38 | .hljs-symbol, 39 | .hljs-bullet { 40 | color: #ac9739; 41 | } 42 | 43 | /* Atelier-Sulphurpool Blue */ 44 | .hljs-title, 45 | .hljs-section { 46 | color: #3d8fd1; 47 | } 48 | 49 | /* Atelier-Sulphurpool Purple */ 50 | .hljs-keyword, 51 | .hljs-selector-tag { 52 | color: #6679cc; 53 | } 54 | 55 | .hljs { 56 | display: block; 57 | overflow-x: auto; 58 | background: #f5f7ff; 59 | color: #5e6687; 60 | padding: 0.5em; 61 | } 62 | 63 | .hljs-emphasis { 64 | font-style: italic; 65 | } 66 | 67 | .hljs-strong { 68 | font-weight: bold; 69 | } 70 | -------------------------------------------------------------------------------- /hightlight/styles/atom-one-dark.css: -------------------------------------------------------------------------------- 1 | .hljs{display:block;overflow-x:auto;padding:0.5em;color:#abb2bf;background:#282c34}.hljs-comment,.hljs-quote{color:#5c6370;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#c678dd}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e06c75}.hljs-literal{color:#56b6c2}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta-string{color:#98c379}.hljs-built_in,.hljs-class .hljs-title{color:#e6c07b}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#d19a66}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#61aeee}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:bold}.hljs-link{text-decoration:underline} -------------------------------------------------------------------------------- /hightlight/styles/atom-one-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Atom One Light by Daniel Gamage 4 | Original One Light Syntax theme from https://github.com/atom/one-light-syntax 5 | 6 | base: #fafafa 7 | mono-1: #383a42 8 | mono-2: #686b77 9 | mono-3: #a0a1a7 10 | hue-1: #0184bb 11 | hue-2: #4078f2 12 | hue-3: #a626a4 13 | hue-4: #50a14f 14 | hue-5: #e45649 15 | hue-5-2: #c91243 16 | hue-6: #986801 17 | hue-6-2: #c18401 18 | 19 | */ 20 | 21 | .hljs { 22 | display: block; 23 | overflow-x: auto; 24 | padding: 0.5em; 25 | color: #383a42; 26 | background: #fafafa; 27 | } 28 | 29 | .hljs-comment, 30 | .hljs-quote { 31 | color: #a0a1a7; 32 | font-style: italic; 33 | } 34 | 35 | .hljs-doctag, 36 | .hljs-keyword, 37 | .hljs-formula { 38 | color: #a626a4; 39 | } 40 | 41 | .hljs-section, 42 | .hljs-name, 43 | .hljs-selector-tag, 44 | .hljs-deletion, 45 | .hljs-subst { 46 | color: #e45649; 47 | } 48 | 49 | .hljs-literal { 50 | color: #0184bb; 51 | } 52 | 53 | .hljs-string, 54 | .hljs-regexp, 55 | .hljs-addition, 56 | .hljs-attribute, 57 | .hljs-meta-string { 58 | color: #50a14f; 59 | } 60 | 61 | .hljs-built_in, 62 | .hljs-class .hljs-title { 63 | color: #c18401; 64 | } 65 | 66 | .hljs-attr, 67 | .hljs-variable, 68 | .hljs-template-variable, 69 | .hljs-type, 70 | .hljs-selector-class, 71 | .hljs-selector-attr, 72 | .hljs-selector-pseudo, 73 | .hljs-number { 74 | color: #986801; 75 | } 76 | 77 | .hljs-symbol, 78 | .hljs-bullet, 79 | .hljs-link, 80 | .hljs-meta, 81 | .hljs-selector-id, 82 | .hljs-title { 83 | color: #4078f2; 84 | } 85 | 86 | .hljs-emphasis { 87 | font-style: italic; 88 | } 89 | 90 | .hljs-strong { 91 | font-weight: bold; 92 | } 93 | 94 | .hljs-link { 95 | text-decoration: underline; 96 | } 97 | -------------------------------------------------------------------------------- /hightlight/styles/brown-paper.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Brown Paper style from goldblog.com.ua (c) Zaripov Yura 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background:#b7a68e url(./brown-papersq.png); 12 | } 13 | 14 | .hljs-keyword, 15 | .hljs-selector-tag, 16 | .hljs-literal { 17 | color:#005599; 18 | font-weight:bold; 19 | } 20 | 21 | .hljs, 22 | .hljs-subst { 23 | color: #363c69; 24 | } 25 | 26 | .hljs-string, 27 | .hljs-title, 28 | .hljs-section, 29 | .hljs-type, 30 | .hljs-attribute, 31 | .hljs-symbol, 32 | .hljs-bullet, 33 | .hljs-built_in, 34 | .hljs-addition, 35 | .hljs-variable, 36 | .hljs-template-tag, 37 | .hljs-template-variable, 38 | .hljs-link, 39 | .hljs-name { 40 | color: #2c009f; 41 | } 42 | 43 | .hljs-comment, 44 | .hljs-quote, 45 | .hljs-meta, 46 | .hljs-deletion { 47 | color: #802022; 48 | } 49 | 50 | .hljs-keyword, 51 | .hljs-selector-tag, 52 | .hljs-literal, 53 | .hljs-doctag, 54 | .hljs-title, 55 | .hljs-section, 56 | .hljs-type, 57 | .hljs-name, 58 | .hljs-strong { 59 | font-weight: bold; 60 | } 61 | 62 | .hljs-emphasis { 63 | font-style: italic; 64 | } 65 | -------------------------------------------------------------------------------- /hightlight/styles/brown-papersq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBAS0742/vue-layui/c513524b93688e65850886004aed6d4da855e81c/hightlight/styles/brown-papersq.png -------------------------------------------------------------------------------- /hightlight/styles/codepen-embed.css: -------------------------------------------------------------------------------- 1 | /* 2 | codepen.io Embed Theme 3 | Author: Justin Perry 4 | Original theme - https://github.com/chriskempson/tomorrow-theme 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #222; 12 | color: #fff; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #777; 18 | } 19 | 20 | .hljs-variable, 21 | .hljs-template-variable, 22 | .hljs-tag, 23 | .hljs-regexp, 24 | .hljs-meta, 25 | .hljs-number, 26 | .hljs-built_in, 27 | .hljs-builtin-name, 28 | .hljs-literal, 29 | .hljs-params, 30 | .hljs-symbol, 31 | .hljs-bullet, 32 | .hljs-link, 33 | .hljs-deletion { 34 | color: #ab875d; 35 | } 36 | 37 | .hljs-section, 38 | .hljs-title, 39 | .hljs-name, 40 | .hljs-selector-id, 41 | .hljs-selector-class, 42 | .hljs-type, 43 | .hljs-attribute { 44 | color: #9b869b; 45 | } 46 | 47 | .hljs-string, 48 | .hljs-keyword, 49 | .hljs-selector-tag, 50 | .hljs-addition { 51 | color: #8f9c6c; 52 | } 53 | 54 | .hljs-emphasis { 55 | font-style: italic; 56 | } 57 | 58 | .hljs-strong { 59 | font-weight: bold; 60 | } 61 | -------------------------------------------------------------------------------- /hightlight/styles/color-brewer.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Colorbrewer theme 4 | Original: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock 5 | Ported by Fabrício Tavares de Oliveira 6 | 7 | */ 8 | 9 | .hljs { 10 | display: block; 11 | overflow-x: auto; 12 | padding: 0.5em; 13 | background: #fff; 14 | } 15 | 16 | .hljs, 17 | .hljs-subst { 18 | color: #000; 19 | } 20 | 21 | .hljs-string, 22 | .hljs-meta, 23 | .hljs-symbol, 24 | .hljs-template-tag, 25 | .hljs-template-variable, 26 | .hljs-addition { 27 | color: #756bb1; 28 | } 29 | 30 | .hljs-comment, 31 | .hljs-quote { 32 | color: #636363; 33 | } 34 | 35 | .hljs-number, 36 | .hljs-regexp, 37 | .hljs-literal, 38 | .hljs-bullet, 39 | .hljs-link { 40 | color: #31a354; 41 | } 42 | 43 | .hljs-deletion, 44 | .hljs-variable { 45 | color: #88f; 46 | } 47 | 48 | 49 | 50 | .hljs-keyword, 51 | .hljs-selector-tag, 52 | .hljs-title, 53 | .hljs-section, 54 | .hljs-built_in, 55 | .hljs-doctag, 56 | .hljs-type, 57 | .hljs-tag, 58 | .hljs-name, 59 | .hljs-selector-id, 60 | .hljs-selector-class, 61 | .hljs-strong { 62 | color: #3182bd; 63 | } 64 | 65 | .hljs-emphasis { 66 | font-style: italic; 67 | } 68 | 69 | .hljs-attribute { 70 | color: #e6550d; 71 | } 72 | -------------------------------------------------------------------------------- /hightlight/styles/darcula.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Darcula color scheme from the JetBrains family of IDEs 4 | 5 | */ 6 | 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #2b2b2b; 13 | } 14 | 15 | .hljs { 16 | color: #bababa; 17 | } 18 | 19 | .hljs-strong, 20 | .hljs-emphasis { 21 | color: #a8a8a2; 22 | } 23 | 24 | .hljs-bullet, 25 | .hljs-quote, 26 | .hljs-link, 27 | .hljs-number, 28 | .hljs-regexp, 29 | .hljs-literal { 30 | color: #6896ba; 31 | } 32 | 33 | .hljs-code, 34 | .hljs-selector-class { 35 | color: #a6e22e; 36 | } 37 | 38 | .hljs-emphasis { 39 | font-style: italic; 40 | } 41 | 42 | .hljs-keyword, 43 | .hljs-selector-tag, 44 | .hljs-section, 45 | .hljs-attribute, 46 | .hljs-name, 47 | .hljs-variable { 48 | color: #cb7832; 49 | } 50 | 51 | .hljs-params { 52 | color: #b9b9b9; 53 | } 54 | 55 | .hljs-string { 56 | color: #6a8759; 57 | } 58 | 59 | .hljs-subst, 60 | .hljs-type, 61 | .hljs-built_in, 62 | .hljs-builtin-name, 63 | .hljs-symbol, 64 | .hljs-selector-id, 65 | .hljs-selector-attr, 66 | .hljs-selector-pseudo, 67 | .hljs-template-tag, 68 | .hljs-template-variable, 69 | .hljs-addition { 70 | color: #e0c46c; 71 | } 72 | 73 | .hljs-comment, 74 | .hljs-deletion, 75 | .hljs-meta { 76 | color: #7f7f7f; 77 | } 78 | -------------------------------------------------------------------------------- /hightlight/styles/dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Dark style from softwaremaniacs.org (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #444; 12 | } 13 | 14 | .hljs-keyword, 15 | .hljs-selector-tag, 16 | .hljs-literal, 17 | .hljs-section, 18 | .hljs-link { 19 | color: white; 20 | } 21 | 22 | .hljs, 23 | .hljs-subst { 24 | color: #ddd; 25 | } 26 | 27 | .hljs-string, 28 | .hljs-title, 29 | .hljs-name, 30 | .hljs-type, 31 | .hljs-attribute, 32 | .hljs-symbol, 33 | .hljs-bullet, 34 | .hljs-built_in, 35 | .hljs-addition, 36 | .hljs-variable, 37 | .hljs-template-tag, 38 | .hljs-template-variable { 39 | color: #d88; 40 | } 41 | 42 | .hljs-comment, 43 | .hljs-quote, 44 | .hljs-deletion, 45 | .hljs-meta { 46 | color: #777; 47 | } 48 | 49 | .hljs-keyword, 50 | .hljs-selector-tag, 51 | .hljs-literal, 52 | .hljs-title, 53 | .hljs-section, 54 | .hljs-doctag, 55 | .hljs-type, 56 | .hljs-name, 57 | .hljs-strong { 58 | font-weight: bold; 59 | } 60 | 61 | .hljs-emphasis { 62 | font-style: italic; 63 | } 64 | -------------------------------------------------------------------------------- /hightlight/styles/darkula.css: -------------------------------------------------------------------------------- 1 | /* 2 | Deprecated due to a typo in the name and left here for compatibility purpose only. 3 | Please use darcula.css instead. 4 | */ 5 | 6 | @import url('darcula.css'); 7 | -------------------------------------------------------------------------------- /hightlight/styles/default.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Original highlight.js style (c) Ivan Sagalaev 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #F0F0F0; 12 | } 13 | 14 | 15 | /* Base color: saturation 0; */ 16 | 17 | .hljs, 18 | .hljs-subst { 19 | color: #444; 20 | } 21 | 22 | .hljs-comment { 23 | color: #888888; 24 | } 25 | 26 | .hljs-keyword, 27 | .hljs-attribute, 28 | .hljs-selector-tag, 29 | .hljs-meta-keyword, 30 | .hljs-doctag, 31 | .hljs-name { 32 | font-weight: bold; 33 | } 34 | 35 | 36 | /* User color: hue: 0 */ 37 | 38 | .hljs-type, 39 | .hljs-string, 40 | .hljs-number, 41 | .hljs-selector-id, 42 | .hljs-selector-class, 43 | .hljs-quote, 44 | .hljs-template-tag, 45 | .hljs-deletion { 46 | color: #880000; 47 | } 48 | 49 | .hljs-title, 50 | .hljs-section { 51 | color: #880000; 52 | font-weight: bold; 53 | } 54 | 55 | .hljs-regexp, 56 | .hljs-symbol, 57 | .hljs-variable, 58 | .hljs-template-variable, 59 | .hljs-link, 60 | .hljs-selector-attr, 61 | .hljs-selector-pseudo { 62 | color: #BC6060; 63 | } 64 | 65 | 66 | /* Language color: hue: 90; */ 67 | 68 | .hljs-literal { 69 | color: #78A960; 70 | } 71 | 72 | .hljs-built_in, 73 | .hljs-bullet, 74 | .hljs-code, 75 | .hljs-addition { 76 | color: #397300; 77 | } 78 | 79 | 80 | /* Meta color: hue: 200 */ 81 | 82 | .hljs-meta { 83 | color: #1f7199; 84 | } 85 | 86 | .hljs-meta-string { 87 | color: #4d99bf; 88 | } 89 | 90 | 91 | /* Misc effects */ 92 | 93 | .hljs-emphasis { 94 | font-style: italic; 95 | } 96 | 97 | .hljs-strong { 98 | font-weight: bold; 99 | } 100 | -------------------------------------------------------------------------------- /hightlight/styles/docco.css: -------------------------------------------------------------------------------- 1 | /* 2 | Docco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars) 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | color: #000; 10 | background: #f8f8ff; 11 | } 12 | 13 | .hljs-comment, 14 | .hljs-quote { 15 | color: #408080; 16 | font-style: italic; 17 | } 18 | 19 | .hljs-keyword, 20 | .hljs-selector-tag, 21 | .hljs-literal, 22 | .hljs-subst { 23 | color: #954121; 24 | } 25 | 26 | .hljs-number { 27 | color: #40a070; 28 | } 29 | 30 | .hljs-string, 31 | .hljs-doctag { 32 | color: #219161; 33 | } 34 | 35 | .hljs-selector-id, 36 | .hljs-selector-class, 37 | .hljs-section, 38 | .hljs-type { 39 | color: #19469d; 40 | } 41 | 42 | .hljs-params { 43 | color: #00f; 44 | } 45 | 46 | .hljs-title { 47 | color: #458; 48 | font-weight: bold; 49 | } 50 | 51 | .hljs-tag, 52 | .hljs-name, 53 | .hljs-attribute { 54 | color: #000080; 55 | font-weight: normal; 56 | } 57 | 58 | .hljs-variable, 59 | .hljs-template-variable { 60 | color: #008080; 61 | } 62 | 63 | .hljs-regexp, 64 | .hljs-link { 65 | color: #b68; 66 | } 67 | 68 | .hljs-symbol, 69 | .hljs-bullet { 70 | color: #990073; 71 | } 72 | 73 | .hljs-built_in, 74 | .hljs-builtin-name { 75 | color: #0086b3; 76 | } 77 | 78 | .hljs-meta { 79 | color: #999; 80 | font-weight: bold; 81 | } 82 | 83 | .hljs-deletion { 84 | background: #fdd; 85 | } 86 | 87 | .hljs-addition { 88 | background: #dfd; 89 | } 90 | 91 | .hljs-emphasis { 92 | font-style: italic; 93 | } 94 | 95 | .hljs-strong { 96 | font-weight: bold; 97 | } 98 | -------------------------------------------------------------------------------- /hightlight/styles/dracula.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Dracula Theme v1.2.0 4 | 5 | https://github.com/zenorocha/dracula-theme 6 | 7 | Copyright 2015, All rights reserved 8 | 9 | Code licensed under the MIT license 10 | http://zenorocha.mit-license.org 11 | 12 | @author Éverton Ribeiro 13 | @author Zeno Rocha 14 | 15 | */ 16 | 17 | .hljs { 18 | display: block; 19 | overflow-x: auto; 20 | padding: 0.5em; 21 | background: #282a36; 22 | } 23 | 24 | .hljs-keyword, 25 | .hljs-selector-tag, 26 | .hljs-literal, 27 | .hljs-section, 28 | .hljs-link { 29 | color: #8be9fd; 30 | } 31 | 32 | .hljs-function .hljs-keyword { 33 | color: #ff79c6; 34 | } 35 | 36 | .hljs, 37 | .hljs-subst { 38 | color: #f8f8f2; 39 | } 40 | 41 | .hljs-string, 42 | .hljs-title, 43 | .hljs-name, 44 | .hljs-type, 45 | .hljs-attribute, 46 | .hljs-symbol, 47 | .hljs-bullet, 48 | .hljs-addition, 49 | .hljs-variable, 50 | .hljs-template-tag, 51 | .hljs-template-variable { 52 | color: #f1fa8c; 53 | } 54 | 55 | .hljs-comment, 56 | .hljs-quote, 57 | .hljs-deletion, 58 | .hljs-meta { 59 | color: #6272a4; 60 | } 61 | 62 | .hljs-keyword, 63 | .hljs-selector-tag, 64 | .hljs-literal, 65 | .hljs-title, 66 | .hljs-section, 67 | .hljs-doctag, 68 | .hljs-type, 69 | .hljs-name, 70 | .hljs-strong { 71 | font-weight: bold; 72 | } 73 | 74 | .hljs-emphasis { 75 | font-style: italic; 76 | } 77 | -------------------------------------------------------------------------------- /hightlight/styles/far.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | FAR Style (c) MajestiC 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #000080; 12 | } 13 | 14 | .hljs, 15 | .hljs-subst { 16 | color: #0ff; 17 | } 18 | 19 | .hljs-string, 20 | .hljs-attribute, 21 | .hljs-symbol, 22 | .hljs-bullet, 23 | .hljs-built_in, 24 | .hljs-builtin-name, 25 | .hljs-template-tag, 26 | .hljs-template-variable, 27 | .hljs-addition { 28 | color: #ff0; 29 | } 30 | 31 | .hljs-keyword, 32 | .hljs-selector-tag, 33 | .hljs-section, 34 | .hljs-type, 35 | .hljs-name, 36 | .hljs-selector-id, 37 | .hljs-selector-class, 38 | .hljs-variable { 39 | color: #fff; 40 | } 41 | 42 | .hljs-comment, 43 | .hljs-quote, 44 | .hljs-doctag, 45 | .hljs-deletion { 46 | color: #888; 47 | } 48 | 49 | .hljs-number, 50 | .hljs-regexp, 51 | .hljs-literal, 52 | .hljs-link { 53 | color: #0f0; 54 | } 55 | 56 | .hljs-meta { 57 | color: #008080; 58 | } 59 | 60 | .hljs-keyword, 61 | .hljs-selector-tag, 62 | .hljs-title, 63 | .hljs-section, 64 | .hljs-name, 65 | .hljs-strong { 66 | font-weight: bold; 67 | } 68 | 69 | .hljs-emphasis { 70 | font-style: italic; 71 | } 72 | -------------------------------------------------------------------------------- /hightlight/styles/foundation.css: -------------------------------------------------------------------------------- 1 | /* 2 | Description: Foundation 4 docs style for highlight.js 3 | Author: Dan Allen 4 | Website: http://foundation.zurb.com/docs/ 5 | Version: 1.0 6 | Date: 2013-04-02 7 | */ 8 | 9 | .hljs { 10 | display: block; 11 | overflow-x: auto; 12 | padding: 0.5em; 13 | background: #eee; color: black; 14 | } 15 | 16 | .hljs-link, 17 | .hljs-emphasis, 18 | .hljs-attribute, 19 | .hljs-addition { 20 | color: #070; 21 | } 22 | 23 | .hljs-emphasis { 24 | font-style: italic; 25 | } 26 | 27 | .hljs-strong, 28 | .hljs-string, 29 | .hljs-deletion { 30 | color: #d14; 31 | } 32 | 33 | .hljs-strong { 34 | font-weight: bold; 35 | } 36 | 37 | .hljs-quote, 38 | .hljs-comment { 39 | color: #998; 40 | font-style: italic; 41 | } 42 | 43 | .hljs-section, 44 | .hljs-title { 45 | color: #900; 46 | } 47 | 48 | .hljs-class .hljs-title, 49 | .hljs-type { 50 | color: #458; 51 | } 52 | 53 | .hljs-variable, 54 | .hljs-template-variable { 55 | color: #336699; 56 | } 57 | 58 | .hljs-bullet { 59 | color: #997700; 60 | } 61 | 62 | .hljs-meta { 63 | color: #3344bb; 64 | } 65 | 66 | .hljs-code, 67 | .hljs-number, 68 | .hljs-literal, 69 | .hljs-keyword, 70 | .hljs-selector-tag { 71 | color: #099; 72 | } 73 | 74 | .hljs-regexp { 75 | background-color: #fff0ff; 76 | color: #880088; 77 | } 78 | 79 | .hljs-symbol { 80 | color: #990073; 81 | } 82 | 83 | .hljs-tag, 84 | .hljs-name, 85 | .hljs-selector-id, 86 | .hljs-selector-class { 87 | color: #007700; 88 | } 89 | -------------------------------------------------------------------------------- /hightlight/styles/github-gist.css: -------------------------------------------------------------------------------- 1 | /** 2 | * GitHub Gist Theme 3 | * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | background: white; 9 | padding: 0.5em; 10 | color: #333333; 11 | overflow-x: auto; 12 | } 13 | 14 | .hljs-comment, 15 | .hljs-meta { 16 | color: #969896; 17 | } 18 | 19 | .hljs-string, 20 | .hljs-variable, 21 | .hljs-template-variable, 22 | .hljs-strong, 23 | .hljs-emphasis, 24 | .hljs-quote { 25 | color: #df5000; 26 | } 27 | 28 | .hljs-keyword, 29 | .hljs-selector-tag, 30 | .hljs-type { 31 | color: #a71d5d; 32 | } 33 | 34 | .hljs-literal, 35 | .hljs-symbol, 36 | .hljs-bullet, 37 | .hljs-attribute { 38 | color: #0086b3; 39 | } 40 | 41 | .hljs-section, 42 | .hljs-name { 43 | color: #63a35c; 44 | } 45 | 46 | .hljs-tag { 47 | color: #333333; 48 | } 49 | 50 | .hljs-title, 51 | .hljs-attr, 52 | .hljs-selector-id, 53 | .hljs-selector-class, 54 | .hljs-selector-attr, 55 | .hljs-selector-pseudo { 56 | color: #795da3; 57 | } 58 | 59 | .hljs-addition { 60 | color: #55a532; 61 | background-color: #eaffea; 62 | } 63 | 64 | .hljs-deletion { 65 | color: #bd2c00; 66 | background-color: #ffecec; 67 | } 68 | 69 | .hljs-link { 70 | text-decoration: underline; 71 | } 72 | -------------------------------------------------------------------------------- /hightlight/styles/github.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | github.com style (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | color: #333; 12 | background: #f8f8f8; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #998; 18 | font-style: italic; 19 | } 20 | 21 | .hljs-keyword, 22 | .hljs-selector-tag, 23 | .hljs-subst { 24 | color: #333; 25 | font-weight: bold; 26 | } 27 | 28 | .hljs-number, 29 | .hljs-literal, 30 | .hljs-variable, 31 | .hljs-template-variable, 32 | .hljs-tag .hljs-attr { 33 | color: #008080; 34 | } 35 | 36 | .hljs-string, 37 | .hljs-doctag { 38 | color: #d14; 39 | } 40 | 41 | .hljs-title, 42 | .hljs-section, 43 | .hljs-selector-id { 44 | color: #900; 45 | font-weight: bold; 46 | } 47 | 48 | .hljs-subst { 49 | font-weight: normal; 50 | } 51 | 52 | .hljs-type, 53 | .hljs-class .hljs-title { 54 | color: #458; 55 | font-weight: bold; 56 | } 57 | 58 | .hljs-tag, 59 | .hljs-name, 60 | .hljs-attribute { 61 | color: #000080; 62 | font-weight: normal; 63 | } 64 | 65 | .hljs-regexp, 66 | .hljs-link { 67 | color: #009926; 68 | } 69 | 70 | .hljs-symbol, 71 | .hljs-bullet { 72 | color: #990073; 73 | } 74 | 75 | .hljs-built_in, 76 | .hljs-builtin-name { 77 | color: #0086b3; 78 | } 79 | 80 | .hljs-meta { 81 | color: #999; 82 | font-weight: bold; 83 | } 84 | 85 | .hljs-deletion { 86 | background: #fdd; 87 | } 88 | 89 | .hljs-addition { 90 | background: #dfd; 91 | } 92 | 93 | .hljs-emphasis { 94 | font-style: italic; 95 | } 96 | 97 | .hljs-strong { 98 | font-weight: bold; 99 | } 100 | -------------------------------------------------------------------------------- /hightlight/styles/googlecode.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Google Code style (c) Aahan Krish 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: white; 12 | color: black; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #800; 18 | } 19 | 20 | .hljs-keyword, 21 | .hljs-selector-tag, 22 | .hljs-section, 23 | .hljs-title, 24 | .hljs-name { 25 | color: #008; 26 | } 27 | 28 | .hljs-variable, 29 | .hljs-template-variable { 30 | color: #660; 31 | } 32 | 33 | .hljs-string, 34 | .hljs-selector-attr, 35 | .hljs-selector-pseudo, 36 | .hljs-regexp { 37 | color: #080; 38 | } 39 | 40 | .hljs-literal, 41 | .hljs-symbol, 42 | .hljs-bullet, 43 | .hljs-meta, 44 | .hljs-number, 45 | .hljs-link { 46 | color: #066; 47 | } 48 | 49 | .hljs-title, 50 | .hljs-doctag, 51 | .hljs-type, 52 | .hljs-attr, 53 | .hljs-built_in, 54 | .hljs-builtin-name, 55 | .hljs-params { 56 | color: #606; 57 | } 58 | 59 | .hljs-attribute, 60 | .hljs-subst { 61 | color: #000; 62 | } 63 | 64 | .hljs-formula { 65 | background-color: #eee; 66 | font-style: italic; 67 | } 68 | 69 | .hljs-selector-id, 70 | .hljs-selector-class { 71 | color: #9B703F 72 | } 73 | 74 | .hljs-addition { 75 | background-color: #baeeba; 76 | } 77 | 78 | .hljs-deletion { 79 | background-color: #ffc8bd; 80 | } 81 | 82 | .hljs-doctag, 83 | .hljs-strong { 84 | font-weight: bold; 85 | } 86 | 87 | .hljs-emphasis { 88 | font-style: italic; 89 | } 90 | -------------------------------------------------------------------------------- /hightlight/styles/hopscotch.css: -------------------------------------------------------------------------------- 1 | /* 2 | * Hopscotch 3 | * by Jan T. Sott 4 | * https://github.com/idleberg/Hopscotch 5 | * 6 | * This work is licensed under the Creative Commons CC0 1.0 Universal License 7 | */ 8 | 9 | /* Comment */ 10 | .hljs-comment, 11 | .hljs-quote { 12 | color: #989498; 13 | } 14 | 15 | /* Red */ 16 | .hljs-variable, 17 | .hljs-template-variable, 18 | .hljs-attribute, 19 | .hljs-tag, 20 | .hljs-name, 21 | .hljs-selector-id, 22 | .hljs-selector-class, 23 | .hljs-regexp, 24 | .hljs-link, 25 | .hljs-deletion { 26 | color: #dd464c; 27 | } 28 | 29 | /* Orange */ 30 | .hljs-number, 31 | .hljs-built_in, 32 | .hljs-builtin-name, 33 | .hljs-literal, 34 | .hljs-type, 35 | .hljs-params { 36 | color: #fd8b19; 37 | } 38 | 39 | /* Yellow */ 40 | .hljs-class .hljs-title { 41 | color: #fdcc59; 42 | } 43 | 44 | /* Green */ 45 | .hljs-string, 46 | .hljs-symbol, 47 | .hljs-bullet, 48 | .hljs-addition { 49 | color: #8fc13e; 50 | } 51 | 52 | /* Aqua */ 53 | .hljs-meta { 54 | color: #149b93; 55 | } 56 | 57 | /* Blue */ 58 | .hljs-function, 59 | .hljs-section, 60 | .hljs-title { 61 | color: #1290bf; 62 | } 63 | 64 | /* Purple */ 65 | .hljs-keyword, 66 | .hljs-selector-tag { 67 | color: #c85e7c; 68 | } 69 | 70 | .hljs { 71 | display: block; 72 | background: #322931; 73 | color: #b9b5b8; 74 | padding: 0.5em; 75 | } 76 | 77 | .hljs-emphasis { 78 | font-style: italic; 79 | } 80 | 81 | .hljs-strong { 82 | font-weight: bold; 83 | } 84 | -------------------------------------------------------------------------------- /hightlight/styles/hybrid.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid) 4 | 5 | */ 6 | 7 | /*background color*/ 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #1d1f21; 13 | } 14 | 15 | /*selection color*/ 16 | .hljs::selection, 17 | .hljs span::selection { 18 | background: #373b41; 19 | } 20 | 21 | .hljs::-moz-selection, 22 | .hljs span::-moz-selection { 23 | background: #373b41; 24 | } 25 | 26 | /*foreground color*/ 27 | .hljs { 28 | color: #c5c8c6; 29 | } 30 | 31 | /*color: fg_yellow*/ 32 | .hljs-title, 33 | .hljs-name { 34 | color: #f0c674; 35 | } 36 | 37 | /*color: fg_comment*/ 38 | .hljs-comment, 39 | .hljs-meta, 40 | .hljs-meta .hljs-keyword { 41 | color: #707880; 42 | } 43 | 44 | /*color: fg_red*/ 45 | .hljs-number, 46 | .hljs-symbol, 47 | .hljs-literal, 48 | .hljs-deletion, 49 | .hljs-link { 50 | color: #cc6666 51 | } 52 | 53 | /*color: fg_green*/ 54 | .hljs-string, 55 | .hljs-doctag, 56 | .hljs-addition, 57 | .hljs-regexp, 58 | .hljs-selector-attr, 59 | .hljs-selector-pseudo { 60 | color: #b5bd68; 61 | } 62 | 63 | /*color: fg_purple*/ 64 | .hljs-attribute, 65 | .hljs-code, 66 | .hljs-selector-id { 67 | color: #b294bb; 68 | } 69 | 70 | /*color: fg_blue*/ 71 | .hljs-keyword, 72 | .hljs-selector-tag, 73 | .hljs-bullet, 74 | .hljs-tag { 75 | color: #81a2be; 76 | } 77 | 78 | /*color: fg_aqua*/ 79 | .hljs-subst, 80 | .hljs-variable, 81 | .hljs-template-tag, 82 | .hljs-template-variable { 83 | color: #8abeb7; 84 | } 85 | 86 | /*color: fg_orange*/ 87 | .hljs-type, 88 | .hljs-built_in, 89 | .hljs-builtin-name, 90 | .hljs-quote, 91 | .hljs-section, 92 | .hljs-selector-class { 93 | color: #de935f; 94 | } 95 | 96 | .hljs-emphasis { 97 | font-style: italic; 98 | } 99 | 100 | .hljs-strong { 101 | font-weight: bold; 102 | } 103 | -------------------------------------------------------------------------------- /hightlight/styles/idea.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Intellij Idea-like styling (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | color: #000; 12 | background: #fff; 13 | } 14 | 15 | .hljs-subst, 16 | .hljs-title { 17 | font-weight: normal; 18 | color: #000; 19 | } 20 | 21 | .hljs-comment, 22 | .hljs-quote { 23 | color: #808080; 24 | font-style: italic; 25 | } 26 | 27 | .hljs-meta { 28 | color: #808000; 29 | } 30 | 31 | .hljs-tag { 32 | background: #efefef; 33 | } 34 | 35 | .hljs-section, 36 | .hljs-name, 37 | .hljs-literal, 38 | .hljs-keyword, 39 | .hljs-selector-tag, 40 | .hljs-type, 41 | .hljs-selector-id, 42 | .hljs-selector-class { 43 | font-weight: bold; 44 | color: #000080; 45 | } 46 | 47 | .hljs-attribute, 48 | .hljs-number, 49 | .hljs-regexp, 50 | .hljs-link { 51 | font-weight: bold; 52 | color: #0000ff; 53 | } 54 | 55 | .hljs-number, 56 | .hljs-regexp, 57 | .hljs-link { 58 | font-weight: normal; 59 | } 60 | 61 | .hljs-string { 62 | color: #008000; 63 | font-weight: bold; 64 | } 65 | 66 | .hljs-symbol, 67 | .hljs-bullet, 68 | .hljs-formula { 69 | color: #000; 70 | background: #d0eded; 71 | font-style: italic; 72 | } 73 | 74 | .hljs-doctag { 75 | text-decoration: underline; 76 | } 77 | 78 | .hljs-variable, 79 | .hljs-template-variable { 80 | color: #660e7a; 81 | } 82 | 83 | .hljs-addition { 84 | background: #baeeba; 85 | } 86 | 87 | .hljs-deletion { 88 | background: #ffc8bd; 89 | } 90 | 91 | .hljs-emphasis { 92 | font-style: italic; 93 | } 94 | 95 | .hljs-strong { 96 | font-weight: bold; 97 | } 98 | -------------------------------------------------------------------------------- /hightlight/styles/ir-black.css: -------------------------------------------------------------------------------- 1 | /* 2 | IR_Black style (c) Vasily Mikhailitchenko 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #000; 10 | color: #f8f8f8; 11 | } 12 | 13 | .hljs-comment, 14 | .hljs-quote, 15 | .hljs-meta { 16 | color: #7c7c7c; 17 | } 18 | 19 | .hljs-keyword, 20 | .hljs-selector-tag, 21 | .hljs-tag, 22 | .hljs-name { 23 | color: #96cbfe; 24 | } 25 | 26 | .hljs-attribute, 27 | .hljs-selector-id { 28 | color: #ffffb6; 29 | } 30 | 31 | .hljs-string, 32 | .hljs-selector-attr, 33 | .hljs-selector-pseudo, 34 | .hljs-addition { 35 | color: #a8ff60; 36 | } 37 | 38 | .hljs-subst { 39 | color: #daefa3; 40 | } 41 | 42 | .hljs-regexp, 43 | .hljs-link { 44 | color: #e9c062; 45 | } 46 | 47 | .hljs-title, 48 | .hljs-section, 49 | .hljs-type, 50 | .hljs-doctag { 51 | color: #ffffb6; 52 | } 53 | 54 | .hljs-symbol, 55 | .hljs-bullet, 56 | .hljs-variable, 57 | .hljs-template-variable, 58 | .hljs-literal { 59 | color: #c6c5fe; 60 | } 61 | 62 | .hljs-number, 63 | .hljs-deletion { 64 | color:#ff73fd; 65 | } 66 | 67 | .hljs-emphasis { 68 | font-style: italic; 69 | } 70 | 71 | .hljs-strong { 72 | font-weight: bold; 73 | } 74 | -------------------------------------------------------------------------------- /hightlight/styles/kimbie.dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | Name: Kimbie (dark) 3 | Author: Jan T. Sott 4 | License: Creative Commons Attribution-ShareAlike 4.0 Unported License 5 | URL: https://github.com/idleberg/Kimbie-highlight.js 6 | */ 7 | 8 | /* Kimbie Comment */ 9 | .hljs-comment, 10 | .hljs-quote { 11 | color: #d6baad; 12 | } 13 | 14 | /* Kimbie Red */ 15 | .hljs-variable, 16 | .hljs-template-variable, 17 | .hljs-tag, 18 | .hljs-name, 19 | .hljs-selector-id, 20 | .hljs-selector-class, 21 | .hljs-regexp, 22 | .hljs-meta { 23 | color: #dc3958; 24 | } 25 | 26 | /* Kimbie Orange */ 27 | .hljs-number, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params, 33 | .hljs-deletion, 34 | .hljs-link { 35 | color: #f79a32; 36 | } 37 | 38 | /* Kimbie Yellow */ 39 | .hljs-title, 40 | .hljs-section, 41 | .hljs-attribute { 42 | color: #f06431; 43 | } 44 | 45 | /* Kimbie Green */ 46 | .hljs-string, 47 | .hljs-symbol, 48 | .hljs-bullet, 49 | .hljs-addition { 50 | color: #889b4a; 51 | } 52 | 53 | /* Kimbie Purple */ 54 | .hljs-keyword, 55 | .hljs-selector-tag, 56 | .hljs-function { 57 | color: #98676a; 58 | } 59 | 60 | .hljs { 61 | display: block; 62 | overflow-x: auto; 63 | background: #221a0f; 64 | color: #d3af86; 65 | padding: 0.5em; 66 | } 67 | 68 | .hljs-emphasis { 69 | font-style: italic; 70 | } 71 | 72 | .hljs-strong { 73 | font-weight: bold; 74 | } 75 | -------------------------------------------------------------------------------- /hightlight/styles/kimbie.light.css: -------------------------------------------------------------------------------- 1 | /* 2 | Name: Kimbie (light) 3 | Author: Jan T. Sott 4 | License: Creative Commons Attribution-ShareAlike 4.0 Unported License 5 | URL: https://github.com/idleberg/Kimbie-highlight.js 6 | */ 7 | 8 | /* Kimbie Comment */ 9 | .hljs-comment, 10 | .hljs-quote { 11 | color: #a57a4c; 12 | } 13 | 14 | /* Kimbie Red */ 15 | .hljs-variable, 16 | .hljs-template-variable, 17 | .hljs-tag, 18 | .hljs-name, 19 | .hljs-selector-id, 20 | .hljs-selector-class, 21 | .hljs-regexp, 22 | .hljs-meta { 23 | color: #dc3958; 24 | } 25 | 26 | /* Kimbie Orange */ 27 | .hljs-number, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params, 33 | .hljs-deletion, 34 | .hljs-link { 35 | color: #f79a32; 36 | } 37 | 38 | /* Kimbie Yellow */ 39 | .hljs-title, 40 | .hljs-section, 41 | .hljs-attribute { 42 | color: #f06431; 43 | } 44 | 45 | /* Kimbie Green */ 46 | .hljs-string, 47 | .hljs-symbol, 48 | .hljs-bullet, 49 | .hljs-addition { 50 | color: #889b4a; 51 | } 52 | 53 | /* Kimbie Purple */ 54 | .hljs-keyword, 55 | .hljs-selector-tag, 56 | .hljs-function { 57 | color: #98676a; 58 | } 59 | 60 | .hljs { 61 | display: block; 62 | overflow-x: auto; 63 | background: #fbebd4; 64 | color: #84613d; 65 | padding: 0.5em; 66 | } 67 | 68 | .hljs-emphasis { 69 | font-style: italic; 70 | } 71 | 72 | .hljs-strong { 73 | font-weight: bold; 74 | } 75 | -------------------------------------------------------------------------------- /hightlight/styles/magula.css: -------------------------------------------------------------------------------- 1 | /* 2 | Description: Magula style for highligh.js 3 | Author: Ruslan Keba 4 | Website: http://rukeba.com/ 5 | Version: 1.0 6 | Date: 2009-01-03 7 | Music: Aphex Twin / Xtal 8 | */ 9 | 10 | .hljs { 11 | display: block; 12 | overflow-x: auto; 13 | padding: 0.5em; 14 | background-color: #f4f4f4; 15 | } 16 | 17 | .hljs, 18 | .hljs-subst { 19 | color: black; 20 | } 21 | 22 | .hljs-string, 23 | .hljs-title, 24 | .hljs-symbol, 25 | .hljs-bullet, 26 | .hljs-attribute, 27 | .hljs-addition, 28 | .hljs-variable, 29 | .hljs-template-tag, 30 | .hljs-template-variable { 31 | color: #050; 32 | } 33 | 34 | .hljs-comment, 35 | .hljs-quote { 36 | color: #777; 37 | } 38 | 39 | .hljs-number, 40 | .hljs-regexp, 41 | .hljs-literal, 42 | .hljs-type, 43 | .hljs-link { 44 | color: #800; 45 | } 46 | 47 | .hljs-deletion, 48 | .hljs-meta { 49 | color: #00e; 50 | } 51 | 52 | .hljs-keyword, 53 | .hljs-selector-tag, 54 | .hljs-doctag, 55 | .hljs-title, 56 | .hljs-section, 57 | .hljs-built_in, 58 | .hljs-tag, 59 | .hljs-name { 60 | font-weight: bold; 61 | color: navy; 62 | } 63 | 64 | .hljs-emphasis { 65 | font-style: italic; 66 | } 67 | 68 | .hljs-strong { 69 | font-weight: bold; 70 | } 71 | -------------------------------------------------------------------------------- /hightlight/styles/mono-blue.css: -------------------------------------------------------------------------------- 1 | /* 2 | Five-color theme from a single blue hue. 3 | */ 4 | .hljs { 5 | display: block; 6 | overflow-x: auto; 7 | padding: 0.5em; 8 | background: #eaeef3; 9 | } 10 | 11 | .hljs { 12 | color: #00193a; 13 | } 14 | 15 | .hljs-keyword, 16 | .hljs-selector-tag, 17 | .hljs-title, 18 | .hljs-section, 19 | .hljs-doctag, 20 | .hljs-name, 21 | .hljs-strong { 22 | font-weight: bold; 23 | } 24 | 25 | .hljs-comment { 26 | color: #738191; 27 | } 28 | 29 | .hljs-string, 30 | .hljs-title, 31 | .hljs-section, 32 | .hljs-built_in, 33 | .hljs-literal, 34 | .hljs-type, 35 | .hljs-addition, 36 | .hljs-tag, 37 | .hljs-quote, 38 | .hljs-name, 39 | .hljs-selector-id, 40 | .hljs-selector-class { 41 | color: #0048ab; 42 | } 43 | 44 | .hljs-meta, 45 | .hljs-subst, 46 | .hljs-symbol, 47 | .hljs-regexp, 48 | .hljs-attribute, 49 | .hljs-deletion, 50 | .hljs-variable, 51 | .hljs-template-variable, 52 | .hljs-link, 53 | .hljs-bullet { 54 | color: #4c81c9; 55 | } 56 | 57 | .hljs-emphasis { 58 | font-style: italic; 59 | } 60 | -------------------------------------------------------------------------------- /hightlight/styles/monokai-sublime.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/ 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #23241f; 12 | } 13 | 14 | .hljs, 15 | .hljs-tag, 16 | .hljs-subst { 17 | color: #f8f8f2; 18 | } 19 | 20 | .hljs-strong, 21 | .hljs-emphasis { 22 | color: #a8a8a2; 23 | } 24 | 25 | .hljs-bullet, 26 | .hljs-quote, 27 | .hljs-number, 28 | .hljs-regexp, 29 | .hljs-literal, 30 | .hljs-link { 31 | color: #ae81ff; 32 | } 33 | 34 | .hljs-code, 35 | .hljs-title, 36 | .hljs-section, 37 | .hljs-selector-class { 38 | color: #a6e22e; 39 | } 40 | 41 | .hljs-strong { 42 | font-weight: bold; 43 | } 44 | 45 | .hljs-emphasis { 46 | font-style: italic; 47 | } 48 | 49 | .hljs-keyword, 50 | .hljs-selector-tag, 51 | .hljs-name, 52 | .hljs-attr { 53 | color: #f92672; 54 | } 55 | 56 | .hljs-symbol, 57 | .hljs-attribute { 58 | color: #66d9ef; 59 | } 60 | 61 | .hljs-params, 62 | .hljs-class .hljs-title { 63 | color: #f8f8f2; 64 | } 65 | 66 | .hljs-string, 67 | .hljs-type, 68 | .hljs-built_in, 69 | .hljs-builtin-name, 70 | .hljs-selector-id, 71 | .hljs-selector-attr, 72 | .hljs-selector-pseudo, 73 | .hljs-addition, 74 | .hljs-variable, 75 | .hljs-template-variable { 76 | color: #e6db74; 77 | } 78 | 79 | .hljs-comment, 80 | .hljs-deletion, 81 | .hljs-meta { 82 | color: #75715e; 83 | } 84 | -------------------------------------------------------------------------------- /hightlight/styles/monokai.css: -------------------------------------------------------------------------------- 1 | /* 2 | Monokai style - ported by Luigi Maselli - http://grigio.org 3 | */ 4 | 5 | .hljs { 6 | display: block; 7 | overflow-x: auto; 8 | padding: 0.5em; 9 | background: #272822; color: #ddd; 10 | } 11 | 12 | .hljs-tag, 13 | .hljs-keyword, 14 | .hljs-selector-tag, 15 | .hljs-literal, 16 | .hljs-strong, 17 | .hljs-name { 18 | color: #f92672; 19 | } 20 | 21 | .hljs-code { 22 | color: #66d9ef; 23 | } 24 | 25 | .hljs-class .hljs-title { 26 | color: white; 27 | } 28 | 29 | .hljs-attribute, 30 | .hljs-symbol, 31 | .hljs-regexp, 32 | .hljs-link { 33 | color: #bf79db; 34 | } 35 | 36 | .hljs-string, 37 | .hljs-bullet, 38 | .hljs-subst, 39 | .hljs-title, 40 | .hljs-section, 41 | .hljs-emphasis, 42 | .hljs-type, 43 | .hljs-built_in, 44 | .hljs-builtin-name, 45 | .hljs-selector-attr, 46 | .hljs-selector-pseudo, 47 | .hljs-addition, 48 | .hljs-variable, 49 | .hljs-template-tag, 50 | .hljs-template-variable { 51 | color: #a6e22e; 52 | } 53 | 54 | .hljs-comment, 55 | .hljs-quote, 56 | .hljs-deletion, 57 | .hljs-meta { 58 | color: #75715e; 59 | } 60 | 61 | .hljs-keyword, 62 | .hljs-selector-tag, 63 | .hljs-literal, 64 | .hljs-doctag, 65 | .hljs-title, 66 | .hljs-section, 67 | .hljs-type, 68 | .hljs-selector-id { 69 | font-weight: bold; 70 | } 71 | -------------------------------------------------------------------------------- /hightlight/styles/obsidian.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Obsidian style 3 | * ported by Alexander Marenin (http://github.com/ioncreature) 4 | */ 5 | 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: #282b2e; 11 | } 12 | 13 | .hljs-keyword, 14 | .hljs-selector-tag, 15 | .hljs-literal, 16 | .hljs-selector-id { 17 | color: #93c763; 18 | } 19 | 20 | .hljs-number { 21 | color: #ffcd22; 22 | } 23 | 24 | .hljs { 25 | color: #e0e2e4; 26 | } 27 | 28 | .hljs-attribute { 29 | color: #668bb0; 30 | } 31 | 32 | .hljs-code, 33 | .hljs-class .hljs-title, 34 | .hljs-section { 35 | color: white; 36 | } 37 | 38 | .hljs-regexp, 39 | .hljs-link { 40 | color: #d39745; 41 | } 42 | 43 | .hljs-meta { 44 | color: #557182; 45 | } 46 | 47 | .hljs-tag, 48 | .hljs-name, 49 | .hljs-bullet, 50 | .hljs-subst, 51 | .hljs-emphasis, 52 | .hljs-type, 53 | .hljs-built_in, 54 | .hljs-selector-attr, 55 | .hljs-selector-pseudo, 56 | .hljs-addition, 57 | .hljs-variable, 58 | .hljs-template-tag, 59 | .hljs-template-variable { 60 | color: #8cbbad; 61 | } 62 | 63 | .hljs-string, 64 | .hljs-symbol { 65 | color: #ec7600; 66 | } 67 | 68 | .hljs-comment, 69 | .hljs-quote, 70 | .hljs-deletion { 71 | color: #818e96; 72 | } 73 | 74 | .hljs-selector-class { 75 | color: #A082BD 76 | } 77 | 78 | .hljs-keyword, 79 | .hljs-selector-tag, 80 | .hljs-literal, 81 | .hljs-doctag, 82 | .hljs-title, 83 | .hljs-section, 84 | .hljs-type, 85 | .hljs-name, 86 | .hljs-strong { 87 | font-weight: bold; 88 | } 89 | -------------------------------------------------------------------------------- /hightlight/styles/ocean.css: -------------------------------------------------------------------------------- 1 | /* Ocean Dark Theme */ 2 | /* https://github.com/gavsiu */ 3 | /* Original theme - https://github.com/chriskempson/base16 */ 4 | 5 | /* Ocean Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #65737e; 9 | } 10 | 11 | /* Ocean Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-tag, 15 | .hljs-name, 16 | .hljs-selector-id, 17 | .hljs-selector-class, 18 | .hljs-regexp, 19 | .hljs-deletion { 20 | color: #bf616a; 21 | } 22 | 23 | /* Ocean Orange */ 24 | .hljs-number, 25 | .hljs-built_in, 26 | .hljs-builtin-name, 27 | .hljs-literal, 28 | .hljs-type, 29 | .hljs-params, 30 | .hljs-meta, 31 | .hljs-link { 32 | color: #d08770; 33 | } 34 | 35 | /* Ocean Yellow */ 36 | .hljs-attribute { 37 | color: #ebcb8b; 38 | } 39 | 40 | /* Ocean Green */ 41 | .hljs-string, 42 | .hljs-symbol, 43 | .hljs-bullet, 44 | .hljs-addition { 45 | color: #a3be8c; 46 | } 47 | 48 | /* Ocean Blue */ 49 | .hljs-title, 50 | .hljs-section { 51 | color: #8fa1b3; 52 | } 53 | 54 | /* Ocean Purple */ 55 | .hljs-keyword, 56 | .hljs-selector-tag { 57 | color: #b48ead; 58 | } 59 | 60 | .hljs { 61 | display: block; 62 | overflow-x: auto; 63 | background: #2b303b; 64 | color: #c0c5ce; 65 | padding: 0.5em; 66 | } 67 | 68 | .hljs-emphasis { 69 | font-style: italic; 70 | } 71 | 72 | .hljs-strong { 73 | font-weight: bold; 74 | } 75 | -------------------------------------------------------------------------------- /hightlight/styles/paraiso-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | Paraíso (dark) 3 | Created by Jan T. Sott (http://github.com/idleberg) 4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 5 | */ 6 | 7 | /* Paraíso Comment */ 8 | .hljs-comment, 9 | .hljs-quote { 10 | color: #8d8687; 11 | } 12 | 13 | /* Paraíso Red */ 14 | .hljs-variable, 15 | .hljs-template-variable, 16 | .hljs-tag, 17 | .hljs-name, 18 | .hljs-selector-id, 19 | .hljs-selector-class, 20 | .hljs-regexp, 21 | .hljs-link, 22 | .hljs-meta { 23 | color: #ef6155; 24 | } 25 | 26 | /* Paraíso Orange */ 27 | .hljs-number, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params, 33 | .hljs-deletion { 34 | color: #f99b15; 35 | } 36 | 37 | /* Paraíso Yellow */ 38 | .hljs-title, 39 | .hljs-section, 40 | .hljs-attribute { 41 | color: #fec418; 42 | } 43 | 44 | /* Paraíso Green */ 45 | .hljs-string, 46 | .hljs-symbol, 47 | .hljs-bullet, 48 | .hljs-addition { 49 | color: #48b685; 50 | } 51 | 52 | /* Paraíso Purple */ 53 | .hljs-keyword, 54 | .hljs-selector-tag { 55 | color: #815ba4; 56 | } 57 | 58 | .hljs { 59 | display: block; 60 | overflow-x: auto; 61 | background: #2f1e2e; 62 | color: #a39e9b; 63 | padding: 0.5em; 64 | } 65 | 66 | .hljs-emphasis { 67 | font-style: italic; 68 | } 69 | 70 | .hljs-strong { 71 | font-weight: bold; 72 | } 73 | -------------------------------------------------------------------------------- /hightlight/styles/paraiso-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | Paraíso (light) 3 | Created by Jan T. Sott (http://github.com/idleberg) 4 | Inspired by the art of Rubens LP (http://www.rubenslp.com.br) 5 | */ 6 | 7 | /* Paraíso Comment */ 8 | .hljs-comment, 9 | .hljs-quote { 10 | color: #776e71; 11 | } 12 | 13 | /* Paraíso Red */ 14 | .hljs-variable, 15 | .hljs-template-variable, 16 | .hljs-tag, 17 | .hljs-name, 18 | .hljs-selector-id, 19 | .hljs-selector-class, 20 | .hljs-regexp, 21 | .hljs-link, 22 | .hljs-meta { 23 | color: #ef6155; 24 | } 25 | 26 | /* Paraíso Orange */ 27 | .hljs-number, 28 | .hljs-built_in, 29 | .hljs-builtin-name, 30 | .hljs-literal, 31 | .hljs-type, 32 | .hljs-params, 33 | .hljs-deletion { 34 | color: #f99b15; 35 | } 36 | 37 | /* Paraíso Yellow */ 38 | .hljs-title, 39 | .hljs-section, 40 | .hljs-attribute { 41 | color: #fec418; 42 | } 43 | 44 | /* Paraíso Green */ 45 | .hljs-string, 46 | .hljs-symbol, 47 | .hljs-bullet, 48 | .hljs-addition { 49 | color: #48b685; 50 | } 51 | 52 | /* Paraíso Purple */ 53 | .hljs-keyword, 54 | .hljs-selector-tag { 55 | color: #815ba4; 56 | } 57 | 58 | .hljs { 59 | display: block; 60 | overflow-x: auto; 61 | background: #e7e9db; 62 | color: #4f424c; 63 | padding: 0.5em; 64 | } 65 | 66 | .hljs-emphasis { 67 | font-style: italic; 68 | } 69 | 70 | .hljs-strong { 71 | font-weight: bold; 72 | } 73 | -------------------------------------------------------------------------------- /hightlight/styles/pojoaque.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Pojoaque Style by Jason Tate 4 | http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html 5 | Based on Solarized Style from http://ethanschoonover.com/solarized 6 | 7 | */ 8 | 9 | .hljs { 10 | display: block; 11 | overflow-x: auto; 12 | padding: 0.5em; 13 | color: #dccf8f; 14 | background: url(./pojoaque.jpg) repeat scroll left top #181914; 15 | } 16 | 17 | .hljs-comment, 18 | .hljs-quote { 19 | color: #586e75; 20 | font-style: italic; 21 | } 22 | 23 | .hljs-keyword, 24 | .hljs-selector-tag, 25 | .hljs-literal, 26 | .hljs-addition { 27 | color: #b64926; 28 | } 29 | 30 | .hljs-number, 31 | .hljs-string, 32 | .hljs-doctag, 33 | .hljs-regexp { 34 | color: #468966; 35 | } 36 | 37 | .hljs-title, 38 | .hljs-section, 39 | .hljs-built_in, 40 | .hljs-name { 41 | color: #ffb03b; 42 | } 43 | 44 | .hljs-variable, 45 | .hljs-template-variable, 46 | .hljs-class .hljs-title, 47 | .hljs-type, 48 | .hljs-tag { 49 | color: #b58900; 50 | } 51 | 52 | .hljs-attribute { 53 | color: #b89859; 54 | } 55 | 56 | .hljs-symbol, 57 | .hljs-bullet, 58 | .hljs-link, 59 | .hljs-subst, 60 | .hljs-meta { 61 | color: #cb4b16; 62 | } 63 | 64 | .hljs-deletion { 65 | color: #dc322f; 66 | } 67 | 68 | .hljs-selector-id, 69 | .hljs-selector-class { 70 | color: #d3a60c; 71 | } 72 | 73 | .hljs-formula { 74 | background: #073642; 75 | } 76 | 77 | .hljs-emphasis { 78 | font-style: italic; 79 | } 80 | 81 | .hljs-strong { 82 | font-weight: bold; 83 | } 84 | -------------------------------------------------------------------------------- /hightlight/styles/pojoaque.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBAS0742/vue-layui/c513524b93688e65850886004aed6d4da855e81c/hightlight/styles/pojoaque.jpg -------------------------------------------------------------------------------- /hightlight/styles/qtcreator_dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Qt Creator dark color scheme 4 | 5 | */ 6 | 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #000000; 13 | } 14 | 15 | .hljs, 16 | .hljs-subst, 17 | .hljs-tag, 18 | .hljs-title { 19 | color: #aaaaaa; 20 | } 21 | 22 | .hljs-strong, 23 | .hljs-emphasis { 24 | color: #a8a8a2; 25 | } 26 | 27 | .hljs-bullet, 28 | .hljs-quote, 29 | .hljs-number, 30 | .hljs-regexp, 31 | .hljs-literal { 32 | color: #ff55ff; 33 | } 34 | 35 | .hljs-code 36 | .hljs-selector-class { 37 | color: #aaaaff; 38 | } 39 | 40 | .hljs-emphasis, 41 | .hljs-stronge, 42 | .hljs-type { 43 | font-style: italic; 44 | } 45 | 46 | .hljs-keyword, 47 | .hljs-selector-tag, 48 | .hljs-function, 49 | .hljs-section, 50 | .hljs-symbol, 51 | .hljs-name { 52 | color: #ffff55; 53 | } 54 | 55 | .hljs-attribute { 56 | color: #ff5555; 57 | } 58 | 59 | .hljs-variable, 60 | .hljs-params, 61 | .hljs-class .hljs-title { 62 | color: #8888ff; 63 | } 64 | 65 | .hljs-string, 66 | .hljs-selector-id, 67 | .hljs-selector-attr, 68 | .hljs-selector-pseudo, 69 | .hljs-type, 70 | .hljs-built_in, 71 | .hljs-builtin-name, 72 | .hljs-template-tag, 73 | .hljs-template-variable, 74 | .hljs-addition, 75 | .hljs-link { 76 | color: #ff55ff; 77 | } 78 | 79 | .hljs-comment, 80 | .hljs-meta, 81 | .hljs-deletion { 82 | color: #55ffff; 83 | } 84 | -------------------------------------------------------------------------------- /hightlight/styles/qtcreator_light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Qt Creator light color scheme 4 | 5 | */ 6 | 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #ffffff; 13 | } 14 | 15 | .hljs, 16 | .hljs-subst, 17 | .hljs-tag, 18 | .hljs-title { 19 | color: #000000; 20 | } 21 | 22 | .hljs-strong, 23 | .hljs-emphasis { 24 | color: #000000; 25 | } 26 | 27 | .hljs-bullet, 28 | .hljs-quote, 29 | .hljs-number, 30 | .hljs-regexp, 31 | .hljs-literal { 32 | color: #000080; 33 | } 34 | 35 | .hljs-code 36 | .hljs-selector-class { 37 | color: #800080; 38 | } 39 | 40 | .hljs-emphasis, 41 | .hljs-stronge, 42 | .hljs-type { 43 | font-style: italic; 44 | } 45 | 46 | .hljs-keyword, 47 | .hljs-selector-tag, 48 | .hljs-function, 49 | .hljs-section, 50 | .hljs-symbol, 51 | .hljs-name { 52 | color: #808000; 53 | } 54 | 55 | .hljs-attribute { 56 | color: #800000; 57 | } 58 | 59 | .hljs-variable, 60 | .hljs-params, 61 | .hljs-class .hljs-title { 62 | color: #0055AF; 63 | } 64 | 65 | .hljs-string, 66 | .hljs-selector-id, 67 | .hljs-selector-attr, 68 | .hljs-selector-pseudo, 69 | .hljs-type, 70 | .hljs-built_in, 71 | .hljs-builtin-name, 72 | .hljs-template-tag, 73 | .hljs-template-variable, 74 | .hljs-addition, 75 | .hljs-link { 76 | color: #008000; 77 | } 78 | 79 | .hljs-comment, 80 | .hljs-meta, 81 | .hljs-deletion { 82 | color: #008000; 83 | } 84 | -------------------------------------------------------------------------------- /hightlight/styles/railscasts.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Railscasts-like style (c) Visoft, Inc. (Damien White) 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #232323; 12 | color: #e6e1dc; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #bc9458; 18 | font-style: italic; 19 | } 20 | 21 | .hljs-keyword, 22 | .hljs-selector-tag { 23 | color: #c26230; 24 | } 25 | 26 | .hljs-string, 27 | .hljs-number, 28 | .hljs-regexp, 29 | .hljs-variable, 30 | .hljs-template-variable { 31 | color: #a5c261; 32 | } 33 | 34 | .hljs-subst { 35 | color: #519f50; 36 | } 37 | 38 | .hljs-tag, 39 | .hljs-name { 40 | color: #e8bf6a; 41 | } 42 | 43 | .hljs-type { 44 | color: #da4939; 45 | } 46 | 47 | 48 | .hljs-symbol, 49 | .hljs-bullet, 50 | .hljs-built_in, 51 | .hljs-builtin-name, 52 | .hljs-attr, 53 | .hljs-link { 54 | color: #6d9cbe; 55 | } 56 | 57 | .hljs-params { 58 | color: #d0d0ff; 59 | } 60 | 61 | .hljs-attribute { 62 | color: #cda869; 63 | } 64 | 65 | .hljs-meta { 66 | color: #9b859d; 67 | } 68 | 69 | .hljs-title, 70 | .hljs-section { 71 | color: #ffc66d; 72 | } 73 | 74 | .hljs-addition { 75 | background-color: #144212; 76 | color: #e6e1dc; 77 | display: inline-block; 78 | width: 100%; 79 | } 80 | 81 | .hljs-deletion { 82 | background-color: #600; 83 | color: #e6e1dc; 84 | display: inline-block; 85 | width: 100%; 86 | } 87 | 88 | .hljs-selector-class { 89 | color: #9b703f; 90 | } 91 | 92 | .hljs-selector-id { 93 | color: #8b98ab; 94 | } 95 | 96 | .hljs-emphasis { 97 | font-style: italic; 98 | } 99 | 100 | .hljs-strong { 101 | font-weight: bold; 102 | } 103 | 104 | .hljs-link { 105 | text-decoration: underline; 106 | } 107 | -------------------------------------------------------------------------------- /hightlight/styles/rainbow.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Style with support for rainbow parens 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #474949; 12 | color: #d1d9e1; 13 | } 14 | 15 | 16 | .hljs-comment, 17 | .hljs-quote { 18 | color: #969896; 19 | font-style: italic; 20 | } 21 | 22 | .hljs-keyword, 23 | .hljs-selector-tag, 24 | .hljs-literal, 25 | .hljs-type, 26 | .hljs-addition { 27 | color: #cc99cc; 28 | } 29 | 30 | .hljs-number, 31 | .hljs-selector-attr, 32 | .hljs-selector-pseudo { 33 | color: #f99157; 34 | } 35 | 36 | .hljs-string, 37 | .hljs-doctag, 38 | .hljs-regexp { 39 | color: #8abeb7; 40 | } 41 | 42 | .hljs-title, 43 | .hljs-name, 44 | .hljs-section, 45 | .hljs-built_in { 46 | color: #b5bd68; 47 | } 48 | 49 | .hljs-variable, 50 | .hljs-template-variable, 51 | .hljs-selector-id, 52 | .hljs-class .hljs-title { 53 | color: #ffcc66; 54 | } 55 | 56 | .hljs-section, 57 | .hljs-name, 58 | .hljs-strong { 59 | font-weight: bold; 60 | } 61 | 62 | .hljs-symbol, 63 | .hljs-bullet, 64 | .hljs-subst, 65 | .hljs-meta, 66 | .hljs-link { 67 | color: #f99157; 68 | } 69 | 70 | .hljs-deletion { 71 | color: #dc322f; 72 | } 73 | 74 | .hljs-formula { 75 | background: #eee8d5; 76 | } 77 | 78 | .hljs-attr, 79 | .hljs-attribute { 80 | color: #81a2be; 81 | } 82 | 83 | .hljs-emphasis { 84 | font-style: italic; 85 | } 86 | -------------------------------------------------------------------------------- /hightlight/styles/routeros.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | highlight.js style for Microtik RouterOS script 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #F0F0F0; 12 | } 13 | 14 | /* Base color: saturation 0; */ 15 | 16 | .hljs, 17 | .hljs-subst { 18 | color: #444; 19 | } 20 | 21 | .hljs-comment { 22 | color: #888888; 23 | } 24 | 25 | .hljs-keyword, 26 | .hljs-selector-tag, 27 | .hljs-meta-keyword, 28 | .hljs-doctag, 29 | .hljs-name { 30 | font-weight: bold; 31 | } 32 | 33 | .hljs-attribute { 34 | color: #0E9A00; 35 | } 36 | 37 | .hljs-function { 38 | color: #99069A; 39 | } 40 | 41 | .hljs-builtin-name { 42 | color: #99069A; 43 | } 44 | 45 | /* User color: hue: 0 */ 46 | 47 | .hljs-type, 48 | .hljs-string, 49 | .hljs-number, 50 | .hljs-selector-id, 51 | .hljs-selector-class, 52 | .hljs-quote, 53 | .hljs-template-tag, 54 | .hljs-deletion { 55 | color: #880000; 56 | } 57 | 58 | .hljs-title, 59 | .hljs-section { 60 | color: #880000; 61 | font-weight: bold; 62 | } 63 | 64 | .hljs-regexp, 65 | .hljs-symbol, 66 | .hljs-variable, 67 | .hljs-template-variable, 68 | .hljs-link, 69 | .hljs-selector-attr, 70 | .hljs-selector-pseudo { 71 | color: #BC6060; 72 | } 73 | 74 | 75 | /* Language color: hue: 90; */ 76 | 77 | .hljs-literal { 78 | color: #78A960; 79 | } 80 | 81 | .hljs-built_in, 82 | .hljs-bullet, 83 | .hljs-code, 84 | .hljs-addition { 85 | color: #0C9A9A; 86 | } 87 | 88 | 89 | /* Meta color: hue: 200 */ 90 | 91 | .hljs-meta { 92 | color: #1f7199; 93 | } 94 | 95 | .hljs-meta-string { 96 | color: #4d99bf; 97 | } 98 | 99 | 100 | /* Misc effects */ 101 | 102 | .hljs-emphasis { 103 | font-style: italic; 104 | } 105 | 106 | .hljs-strong { 107 | font-weight: bold; 108 | } 109 | -------------------------------------------------------------------------------- /hightlight/styles/school-book.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | School Book style from goldblog.com.ua (c) Zaripov Yura 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 15px 0.5em 0.5em 30px; 11 | font-size: 11px; 12 | line-height:16px; 13 | } 14 | 15 | pre{ 16 | background:#f6f6ae url(./school-book.png); 17 | border-top: solid 2px #d2e8b9; 18 | border-bottom: solid 1px #d2e8b9; 19 | } 20 | 21 | .hljs-keyword, 22 | .hljs-selector-tag, 23 | .hljs-literal { 24 | color:#005599; 25 | font-weight:bold; 26 | } 27 | 28 | .hljs, 29 | .hljs-subst { 30 | color: #3e5915; 31 | } 32 | 33 | .hljs-string, 34 | .hljs-title, 35 | .hljs-section, 36 | .hljs-type, 37 | .hljs-symbol, 38 | .hljs-bullet, 39 | .hljs-attribute, 40 | .hljs-built_in, 41 | .hljs-builtin-name, 42 | .hljs-addition, 43 | .hljs-variable, 44 | .hljs-template-tag, 45 | .hljs-template-variable, 46 | .hljs-link { 47 | color: #2c009f; 48 | } 49 | 50 | .hljs-comment, 51 | .hljs-quote, 52 | .hljs-deletion, 53 | .hljs-meta { 54 | color: #e60415; 55 | } 56 | 57 | .hljs-keyword, 58 | .hljs-selector-tag, 59 | .hljs-literal, 60 | .hljs-doctag, 61 | .hljs-title, 62 | .hljs-section, 63 | .hljs-type, 64 | .hljs-name, 65 | .hljs-selector-id, 66 | .hljs-strong { 67 | font-weight: bold; 68 | } 69 | 70 | .hljs-emphasis { 71 | font-style: italic; 72 | } 73 | -------------------------------------------------------------------------------- /hightlight/styles/school-book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBAS0742/vue-layui/c513524b93688e65850886004aed6d4da855e81c/hightlight/styles/school-book.png -------------------------------------------------------------------------------- /hightlight/styles/solarized-dark.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #002b36; 12 | color: #839496; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #586e75; 18 | } 19 | 20 | /* Solarized Green */ 21 | .hljs-keyword, 22 | .hljs-selector-tag, 23 | .hljs-addition { 24 | color: #859900; 25 | } 26 | 27 | /* Solarized Cyan */ 28 | .hljs-number, 29 | .hljs-string, 30 | .hljs-meta .hljs-meta-string, 31 | .hljs-literal, 32 | .hljs-doctag, 33 | .hljs-regexp { 34 | color: #2aa198; 35 | } 36 | 37 | /* Solarized Blue */ 38 | .hljs-title, 39 | .hljs-section, 40 | .hljs-name, 41 | .hljs-selector-id, 42 | .hljs-selector-class { 43 | color: #268bd2; 44 | } 45 | 46 | /* Solarized Yellow */ 47 | .hljs-attribute, 48 | .hljs-attr, 49 | .hljs-variable, 50 | .hljs-template-variable, 51 | .hljs-class .hljs-title, 52 | .hljs-type { 53 | color: #b58900; 54 | } 55 | 56 | /* Solarized Orange */ 57 | .hljs-symbol, 58 | .hljs-bullet, 59 | .hljs-subst, 60 | .hljs-meta, 61 | .hljs-meta .hljs-keyword, 62 | .hljs-selector-attr, 63 | .hljs-selector-pseudo, 64 | .hljs-link { 65 | color: #cb4b16; 66 | } 67 | 68 | /* Solarized Red */ 69 | .hljs-built_in, 70 | .hljs-deletion { 71 | color: #dc322f; 72 | } 73 | 74 | .hljs-formula { 75 | background: #073642; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /hightlight/styles/solarized-light.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #fdf6e3; 12 | color: #657b83; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #93a1a1; 18 | } 19 | 20 | /* Solarized Green */ 21 | .hljs-keyword, 22 | .hljs-selector-tag, 23 | .hljs-addition { 24 | color: #859900; 25 | } 26 | 27 | /* Solarized Cyan */ 28 | .hljs-number, 29 | .hljs-string, 30 | .hljs-meta .hljs-meta-string, 31 | .hljs-literal, 32 | .hljs-doctag, 33 | .hljs-regexp { 34 | color: #2aa198; 35 | } 36 | 37 | /* Solarized Blue */ 38 | .hljs-title, 39 | .hljs-section, 40 | .hljs-name, 41 | .hljs-selector-id, 42 | .hljs-selector-class { 43 | color: #268bd2; 44 | } 45 | 46 | /* Solarized Yellow */ 47 | .hljs-attribute, 48 | .hljs-attr, 49 | .hljs-variable, 50 | .hljs-template-variable, 51 | .hljs-class .hljs-title, 52 | .hljs-type { 53 | color: #b58900; 54 | } 55 | 56 | /* Solarized Orange */ 57 | .hljs-symbol, 58 | .hljs-bullet, 59 | .hljs-subst, 60 | .hljs-meta, 61 | .hljs-meta .hljs-keyword, 62 | .hljs-selector-attr, 63 | .hljs-selector-pseudo, 64 | .hljs-link { 65 | color: #cb4b16; 66 | } 67 | 68 | /* Solarized Red */ 69 | .hljs-built_in, 70 | .hljs-deletion { 71 | color: #dc322f; 72 | } 73 | 74 | .hljs-formula { 75 | background: #eee8d5; 76 | } 77 | 78 | .hljs-emphasis { 79 | font-style: italic; 80 | } 81 | 82 | .hljs-strong { 83 | font-weight: bold; 84 | } 85 | -------------------------------------------------------------------------------- /hightlight/styles/sunburst.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Sunburst-like style (c) Vasily Polovnyov 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #000; 12 | color: #f8f8f8; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #aeaeae; 18 | font-style: italic; 19 | } 20 | 21 | .hljs-keyword, 22 | .hljs-selector-tag, 23 | .hljs-type { 24 | color: #e28964; 25 | } 26 | 27 | .hljs-string { 28 | color: #65b042; 29 | } 30 | 31 | .hljs-subst { 32 | color: #daefa3; 33 | } 34 | 35 | .hljs-regexp, 36 | .hljs-link { 37 | color: #e9c062; 38 | } 39 | 40 | .hljs-title, 41 | .hljs-section, 42 | .hljs-tag, 43 | .hljs-name { 44 | color: #89bdff; 45 | } 46 | 47 | .hljs-class .hljs-title, 48 | .hljs-doctag { 49 | text-decoration: underline; 50 | } 51 | 52 | .hljs-symbol, 53 | .hljs-bullet, 54 | .hljs-number { 55 | color: #3387cc; 56 | } 57 | 58 | .hljs-params, 59 | .hljs-variable, 60 | .hljs-template-variable { 61 | color: #3e87e3; 62 | } 63 | 64 | .hljs-attribute { 65 | color: #cda869; 66 | } 67 | 68 | .hljs-meta { 69 | color: #8996a8; 70 | } 71 | 72 | .hljs-formula { 73 | background-color: #0e2231; 74 | color: #f8f8f8; 75 | font-style: italic; 76 | } 77 | 78 | .hljs-addition { 79 | background-color: #253b22; 80 | color: #f8f8f8; 81 | } 82 | 83 | .hljs-deletion { 84 | background-color: #420e09; 85 | color: #f8f8f8; 86 | } 87 | 88 | .hljs-selector-class { 89 | color: #9b703f; 90 | } 91 | 92 | .hljs-selector-id { 93 | color: #8b98ab; 94 | } 95 | 96 | .hljs-emphasis { 97 | font-style: italic; 98 | } 99 | 100 | .hljs-strong { 101 | font-weight: bold; 102 | } 103 | -------------------------------------------------------------------------------- /hightlight/styles/tomorrow-night-blue.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Blue Theme */ 2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 5 | 6 | /* Tomorrow Comment */ 7 | .hljs-comment, 8 | .hljs-quote { 9 | color: #7285b7; 10 | } 11 | 12 | /* Tomorrow Red */ 13 | .hljs-variable, 14 | .hljs-template-variable, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-selector-id, 18 | .hljs-selector-class, 19 | .hljs-regexp, 20 | .hljs-deletion { 21 | color: #ff9da4; 22 | } 23 | 24 | /* Tomorrow Orange */ 25 | .hljs-number, 26 | .hljs-built_in, 27 | .hljs-builtin-name, 28 | .hljs-literal, 29 | .hljs-type, 30 | .hljs-params, 31 | .hljs-meta, 32 | .hljs-link { 33 | color: #ffc58f; 34 | } 35 | 36 | /* Tomorrow Yellow */ 37 | .hljs-attribute { 38 | color: #ffeead; 39 | } 40 | 41 | /* Tomorrow Green */ 42 | .hljs-string, 43 | .hljs-symbol, 44 | .hljs-bullet, 45 | .hljs-addition { 46 | color: #d1f1a9; 47 | } 48 | 49 | /* Tomorrow Blue */ 50 | .hljs-title, 51 | .hljs-section { 52 | color: #bbdaff; 53 | } 54 | 55 | /* Tomorrow Purple */ 56 | .hljs-keyword, 57 | .hljs-selector-tag { 58 | color: #ebbbff; 59 | } 60 | 61 | .hljs { 62 | display: block; 63 | overflow-x: auto; 64 | background: #002451; 65 | color: white; 66 | padding: 0.5em; 67 | } 68 | 69 | .hljs-emphasis { 70 | font-style: italic; 71 | } 72 | 73 | .hljs-strong { 74 | font-weight: bold; 75 | } 76 | -------------------------------------------------------------------------------- /hightlight/styles/tomorrow-night-bright.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Bright Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 4 | 5 | /* Tomorrow Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #969896; 9 | } 10 | 11 | /* Tomorrow Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-tag, 15 | .hljs-name, 16 | .hljs-selector-id, 17 | .hljs-selector-class, 18 | .hljs-regexp, 19 | .hljs-deletion { 20 | color: #d54e53; 21 | } 22 | 23 | /* Tomorrow Orange */ 24 | .hljs-number, 25 | .hljs-built_in, 26 | .hljs-builtin-name, 27 | .hljs-literal, 28 | .hljs-type, 29 | .hljs-params, 30 | .hljs-meta, 31 | .hljs-link { 32 | color: #e78c45; 33 | } 34 | 35 | /* Tomorrow Yellow */ 36 | .hljs-attribute { 37 | color: #e7c547; 38 | } 39 | 40 | /* Tomorrow Green */ 41 | .hljs-string, 42 | .hljs-symbol, 43 | .hljs-bullet, 44 | .hljs-addition { 45 | color: #b9ca4a; 46 | } 47 | 48 | /* Tomorrow Blue */ 49 | .hljs-title, 50 | .hljs-section { 51 | color: #7aa6da; 52 | } 53 | 54 | /* Tomorrow Purple */ 55 | .hljs-keyword, 56 | .hljs-selector-tag { 57 | color: #c397d8; 58 | } 59 | 60 | .hljs { 61 | display: block; 62 | overflow-x: auto; 63 | background: black; 64 | color: #eaeaea; 65 | padding: 0.5em; 66 | } 67 | 68 | .hljs-emphasis { 69 | font-style: italic; 70 | } 71 | 72 | .hljs-strong { 73 | font-weight: bold; 74 | } 75 | -------------------------------------------------------------------------------- /hightlight/styles/tomorrow-night-eighties.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Eighties Theme */ 2 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 3 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 4 | 5 | /* Tomorrow Comment */ 6 | .hljs-comment, 7 | .hljs-quote { 8 | color: #999999; 9 | } 10 | 11 | /* Tomorrow Red */ 12 | .hljs-variable, 13 | .hljs-template-variable, 14 | .hljs-tag, 15 | .hljs-name, 16 | .hljs-selector-id, 17 | .hljs-selector-class, 18 | .hljs-regexp, 19 | .hljs-deletion { 20 | color: #f2777a; 21 | } 22 | 23 | /* Tomorrow Orange */ 24 | .hljs-number, 25 | .hljs-built_in, 26 | .hljs-builtin-name, 27 | .hljs-literal, 28 | .hljs-type, 29 | .hljs-params, 30 | .hljs-meta, 31 | .hljs-link { 32 | color: #f99157; 33 | } 34 | 35 | /* Tomorrow Yellow */ 36 | .hljs-attribute { 37 | color: #ffcc66; 38 | } 39 | 40 | /* Tomorrow Green */ 41 | .hljs-string, 42 | .hljs-symbol, 43 | .hljs-bullet, 44 | .hljs-addition { 45 | color: #99cc99; 46 | } 47 | 48 | /* Tomorrow Blue */ 49 | .hljs-title, 50 | .hljs-section { 51 | color: #6699cc; 52 | } 53 | 54 | /* Tomorrow Purple */ 55 | .hljs-keyword, 56 | .hljs-selector-tag { 57 | color: #cc99cc; 58 | } 59 | 60 | .hljs { 61 | display: block; 62 | overflow-x: auto; 63 | background: #2d2d2d; 64 | color: #cccccc; 65 | padding: 0.5em; 66 | } 67 | 68 | .hljs-emphasis { 69 | font-style: italic; 70 | } 71 | 72 | .hljs-strong { 73 | font-weight: bold; 74 | } 75 | -------------------------------------------------------------------------------- /hightlight/styles/tomorrow-night.css: -------------------------------------------------------------------------------- 1 | /* Tomorrow Night Theme */ 2 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 3 | /* Original theme - https://github.com/chriskempson/tomorrow-theme */ 4 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 5 | 6 | /* Tomorrow Comment */ 7 | .hljs-comment, 8 | .hljs-quote { 9 | color: #969896; 10 | } 11 | 12 | /* Tomorrow Red */ 13 | .hljs-variable, 14 | .hljs-template-variable, 15 | .hljs-tag, 16 | .hljs-name, 17 | .hljs-selector-id, 18 | .hljs-selector-class, 19 | .hljs-regexp, 20 | .hljs-deletion { 21 | color: #cc6666; 22 | } 23 | 24 | /* Tomorrow Orange */ 25 | .hljs-number, 26 | .hljs-built_in, 27 | .hljs-builtin-name, 28 | .hljs-literal, 29 | .hljs-type, 30 | .hljs-params, 31 | .hljs-meta, 32 | .hljs-link { 33 | color: #de935f; 34 | } 35 | 36 | /* Tomorrow Yellow */ 37 | .hljs-attribute { 38 | color: #f0c674; 39 | } 40 | 41 | /* Tomorrow Green */ 42 | .hljs-string, 43 | .hljs-symbol, 44 | .hljs-bullet, 45 | .hljs-addition { 46 | color: #b5bd68; 47 | } 48 | 49 | /* Tomorrow Blue */ 50 | .hljs-title, 51 | .hljs-section { 52 | color: #81a2be; 53 | } 54 | 55 | /* Tomorrow Purple */ 56 | .hljs-keyword, 57 | .hljs-selector-tag { 58 | color: #b294bb; 59 | } 60 | 61 | .hljs { 62 | display: block; 63 | overflow-x: auto; 64 | background: #1d1f21; 65 | color: #c5c8c6; 66 | padding: 0.5em; 67 | } 68 | 69 | .hljs-emphasis { 70 | font-style: italic; 71 | } 72 | 73 | .hljs-strong { 74 | font-weight: bold; 75 | } 76 | -------------------------------------------------------------------------------- /hightlight/styles/tomorrow.css: -------------------------------------------------------------------------------- 1 | /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ 2 | 3 | /* Tomorrow Comment */ 4 | .hljs-comment, 5 | .hljs-quote { 6 | color: #8e908c; 7 | } 8 | 9 | /* Tomorrow Red */ 10 | .hljs-variable, 11 | .hljs-template-variable, 12 | .hljs-tag, 13 | .hljs-name, 14 | .hljs-selector-id, 15 | .hljs-selector-class, 16 | .hljs-regexp, 17 | .hljs-deletion { 18 | color: #c82829; 19 | } 20 | 21 | /* Tomorrow Orange */ 22 | .hljs-number, 23 | .hljs-built_in, 24 | .hljs-builtin-name, 25 | .hljs-literal, 26 | .hljs-type, 27 | .hljs-params, 28 | .hljs-meta, 29 | .hljs-link { 30 | color: #f5871f; 31 | } 32 | 33 | /* Tomorrow Yellow */ 34 | .hljs-attribute { 35 | color: #eab700; 36 | } 37 | 38 | /* Tomorrow Green */ 39 | .hljs-string, 40 | .hljs-symbol, 41 | .hljs-bullet, 42 | .hljs-addition { 43 | color: #718c00; 44 | } 45 | 46 | /* Tomorrow Blue */ 47 | .hljs-title, 48 | .hljs-section { 49 | color: #4271ae; 50 | } 51 | 52 | /* Tomorrow Purple */ 53 | .hljs-keyword, 54 | .hljs-selector-tag { 55 | color: #8959a8; 56 | } 57 | 58 | .hljs { 59 | display: block; 60 | overflow-x: auto; 61 | background: white; 62 | color: #4d4d4c; 63 | padding: 0.5em; 64 | } 65 | 66 | .hljs-emphasis { 67 | font-style: italic; 68 | } 69 | 70 | .hljs-strong { 71 | font-weight: bold; 72 | } 73 | -------------------------------------------------------------------------------- /hightlight/styles/vs.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Visual Studio-like style based on original C# coloring by Jason Diamond 4 | 5 | */ 6 | .hljs { 7 | display: block; 8 | overflow-x: auto; 9 | padding: 0.5em; 10 | background: white; 11 | color: black; 12 | } 13 | 14 | .hljs-comment, 15 | .hljs-quote, 16 | .hljs-variable { 17 | color: #008000; 18 | } 19 | 20 | .hljs-keyword, 21 | .hljs-selector-tag, 22 | .hljs-built_in, 23 | .hljs-name, 24 | .hljs-tag { 25 | color: #00f; 26 | } 27 | 28 | .hljs-string, 29 | .hljs-title, 30 | .hljs-section, 31 | .hljs-attribute, 32 | .hljs-literal, 33 | .hljs-template-tag, 34 | .hljs-template-variable, 35 | .hljs-type, 36 | .hljs-addition { 37 | color: #a31515; 38 | } 39 | 40 | .hljs-deletion, 41 | .hljs-selector-attr, 42 | .hljs-selector-pseudo, 43 | .hljs-meta { 44 | color: #2b91af; 45 | } 46 | 47 | .hljs-doctag { 48 | color: #808080; 49 | } 50 | 51 | .hljs-attr { 52 | color: #f00; 53 | } 54 | 55 | .hljs-symbol, 56 | .hljs-bullet, 57 | .hljs-link { 58 | color: #00b0e8; 59 | } 60 | 61 | 62 | .hljs-emphasis { 63 | font-style: italic; 64 | } 65 | 66 | .hljs-strong { 67 | font-weight: bold; 68 | } 69 | -------------------------------------------------------------------------------- /hightlight/styles/xcode.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | XCode style (c) Angel Garcia 4 | 5 | */ 6 | 7 | .hljs { 8 | display: block; 9 | overflow-x: auto; 10 | padding: 0.5em; 11 | background: #fff; 12 | color: black; 13 | } 14 | 15 | .hljs-comment, 16 | .hljs-quote { 17 | color: #006a00; 18 | } 19 | 20 | .hljs-keyword, 21 | .hljs-selector-tag, 22 | .hljs-literal { 23 | color: #aa0d91; 24 | } 25 | 26 | .hljs-name { 27 | color: #008; 28 | } 29 | 30 | .hljs-variable, 31 | .hljs-template-variable { 32 | color: #660; 33 | } 34 | 35 | .hljs-string { 36 | color: #c41a16; 37 | } 38 | 39 | .hljs-regexp, 40 | .hljs-link { 41 | color: #080; 42 | } 43 | 44 | .hljs-title, 45 | .hljs-tag, 46 | .hljs-symbol, 47 | .hljs-bullet, 48 | .hljs-number, 49 | .hljs-meta { 50 | color: #1c00cf; 51 | } 52 | 53 | .hljs-section, 54 | .hljs-class .hljs-title, 55 | .hljs-type, 56 | .hljs-attr, 57 | .hljs-built_in, 58 | .hljs-builtin-name, 59 | .hljs-params { 60 | color: #5c2699; 61 | } 62 | 63 | .hljs-attribute, 64 | .hljs-subst { 65 | color: #000; 66 | } 67 | 68 | .hljs-formula { 69 | background-color: #eee; 70 | font-style: italic; 71 | } 72 | 73 | .hljs-addition { 74 | background-color: #baeeba; 75 | } 76 | 77 | .hljs-deletion { 78 | background-color: #ffc8bd; 79 | } 80 | 81 | .hljs-selector-id, 82 | .hljs-selector-class { 83 | color: #9b703f; 84 | } 85 | 86 | .hljs-doctag, 87 | .hljs-strong { 88 | font-weight: bold; 89 | } 90 | 91 | .hljs-emphasis { 92 | font-style: italic; 93 | } 94 | -------------------------------------------------------------------------------- /hightlight/styles/xt256.css: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | xt256.css 4 | 5 | Contact: initbar [at] protonmail [dot] ch 6 | : github.com/initbar 7 | */ 8 | 9 | .hljs { 10 | display: block; 11 | overflow-x: auto; 12 | color: #eaeaea; 13 | background: #000; 14 | padding: 0.5; 15 | } 16 | 17 | .hljs-subst { 18 | color: #eaeaea; 19 | } 20 | 21 | .hljs-emphasis { 22 | font-style: italic; 23 | } 24 | 25 | .hljs-strong { 26 | font-weight: bold; 27 | } 28 | 29 | .hljs-builtin-name, 30 | .hljs-type { 31 | color: #eaeaea; 32 | } 33 | 34 | .hljs-params { 35 | color: #da0000; 36 | } 37 | 38 | .hljs-literal, 39 | .hljs-number, 40 | .hljs-name { 41 | color: #ff0000; 42 | font-weight: bolder; 43 | } 44 | 45 | .hljs-comment { 46 | color: #969896; 47 | } 48 | 49 | .hljs-selector-id, 50 | .hljs-quote { 51 | color: #00ffff; 52 | } 53 | 54 | .hljs-template-variable, 55 | .hljs-variable, 56 | .hljs-title { 57 | color: #00ffff; 58 | font-weight: bold; 59 | } 60 | 61 | .hljs-selector-class, 62 | .hljs-keyword, 63 | .hljs-symbol { 64 | color: #fff000; 65 | } 66 | 67 | .hljs-string, 68 | .hljs-bullet { 69 | color: #00ff00; 70 | } 71 | 72 | .hljs-tag, 73 | .hljs-section { 74 | color: #000fff; 75 | } 76 | 77 | .hljs-selector-tag { 78 | color: #000fff; 79 | font-weight: bold; 80 | } 81 | 82 | .hljs-attribute, 83 | .hljs-built_in, 84 | .hljs-regexp, 85 | .hljs-link { 86 | color: #ff00ff; 87 | } 88 | 89 | .hljs-meta { 90 | color: #fff; 91 | font-weight: bolder; 92 | } 93 | -------------------------------------------------------------------------------- /hightlight/styles/zenburn.css: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Zenburn style from voldmar.ru (c) Vladimir Epifanov 4 | based on dark.css by Ivan Sagalaev 5 | 6 | */ 7 | 8 | .hljs { 9 | display: block; 10 | overflow-x: auto; 11 | padding: 0.5em; 12 | background: #3f3f3f; 13 | color: #dcdcdc; 14 | } 15 | 16 | .hljs-keyword, 17 | .hljs-selector-tag, 18 | .hljs-tag { 19 | color: #e3ceab; 20 | } 21 | 22 | .hljs-template-tag { 23 | color: #dcdcdc; 24 | } 25 | 26 | .hljs-number { 27 | color: #8cd0d3; 28 | } 29 | 30 | .hljs-variable, 31 | .hljs-template-variable, 32 | .hljs-attribute { 33 | color: #efdcbc; 34 | } 35 | 36 | .hljs-literal { 37 | color: #efefaf; 38 | } 39 | 40 | .hljs-subst { 41 | color: #8f8f8f; 42 | } 43 | 44 | .hljs-title, 45 | .hljs-name, 46 | .hljs-selector-id, 47 | .hljs-selector-class, 48 | .hljs-section, 49 | .hljs-type { 50 | color: #efef8f; 51 | } 52 | 53 | .hljs-symbol, 54 | .hljs-bullet, 55 | .hljs-link { 56 | color: #dca3a3; 57 | } 58 | 59 | .hljs-deletion, 60 | .hljs-string, 61 | .hljs-built_in, 62 | .hljs-builtin-name { 63 | color: #cc9393; 64 | } 65 | 66 | .hljs-addition, 67 | .hljs-comment, 68 | .hljs-quote, 69 | .hljs-meta { 70 | color: #7f9f7f; 71 | } 72 | 73 | 74 | .hljs-emphasis { 75 | font-style: italic; 76 | } 77 | 78 | .hljs-strong { 79 | font-weight: bold; 80 | } 81 | -------------------------------------------------------------------------------- /images/fileStruct.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBAS0742/vue-layui/c513524b93688e65850886004aed6d4da855e81c/images/fileStruct.jpg -------------------------------------------------------------------------------- /images/main.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBAS0742/vue-layui/c513524b93688e65850886004aed6d4da855e81c/images/main.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 管理系统 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /js/config/child.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 该脚本最好引入每一个子页,这里为子页初始化了一些父页定义的内容 3 | * */ 4 | var 5 | //主页配置项 6 | mainStore = parent.mainStore, 7 | //vue 示例 8 | vm = parent.vm, 9 | //页面管理器 10 | pageManage = parent.pageManage, 11 | //维护 jquery.ajax 中的一个配置对象 12 | jqueryAjaxProxy = parent.jqueryAjaxProxy, 13 | //配置用户信息缓存代理对象 14 | userInfoCacheProxy = parent.userInfoCacheProxy, 15 | //基础请求 url 16 | baseApiUrl = parent.baseApiUrl, 17 | //父级的 layer 使用 pages 进行替代 18 | //layer = parent.layer, 19 | loading = function (show) { 20 | parent.vm.loading = show ? true : false; 21 | }, 22 | //promise 管理器 23 | sailPromise = parent.sailPromise, 24 | //请求返回值配置文件 25 | apiReturnParam = parent.apiReturnParam, 26 | ajax = parent.$.ajax.bind(parent.$), 27 | menu = parent.menu; -------------------------------------------------------------------------------- /js/config/top.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 该脚本只是看看用的 3 | * */ 4 | var 5 | //页面管理器 6 | pageManage, 7 | //维护 jquery.ajax 中的一个配置对象 8 | jqueryAjaxProxy, 9 | //配置用户信息缓存代理对象 10 | userInfoCacheProxy, 11 | //baseApiUrl = "http://localhost:8080", 12 | //promise 管理器 13 | sailPromise, 14 | apiReturnParam, 15 | layer,$,menu; 16 | 17 | 18 | 19 | /** 20 | * pages 页面管理器 21 | * 职责:1.将所有必要的弹出页加入到记录中。 22 | * 2.在调用时,判断页面是否已经定义。 23 | * jqueryAjaxProxy jquery ajax 配置项类修改监听代理 24 | * 当配置项被修改时,自动重新将最新配置加入到 jquery ajax 配置中 25 | * userInfoCacheProxy 用户信息缓存代理 26 | * 当用户信息发生变化时,自动执行缓存到配置好的缓存对象中 27 | * baseApiUrl 28 | * 基础的 api 请求链接 29 | * layer,$ 30 | * */ -------------------------------------------------------------------------------- /js/editLayerVueAttr/manifest.896c0b156ecc57fed5db.js: -------------------------------------------------------------------------------- 1 | !function(r){var n=window.webpackJsonp;window.webpackJsonp=function(t,c,u){for(var f,i,p,a=0,l=[];a/g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('
  1. '+o.replace(/[\r\t\n]+/g,"
  2. ")+"
"),c.find(">.layui-code-h3")[0]||c.prepend('

'+(c.attr("lay-title")||e.title||"code")+(e.about?'layui.code':"")+"

");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); -------------------------------------------------------------------------------- /layui-221/lay/modules/laytpl.js: -------------------------------------------------------------------------------- 1 | /** layui-v2.2.1 MIT License By http://www.layui.com */ 2 | ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},c={exp:function(e){return new RegExp(e,"g")},query:function(e,c,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return n((c||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var c="Laytpl Error:";return"object"==typeof console&&console.error(c+e+"\n"+(r||"")),c+e}},n=c.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=n("^"+r.open+"#",""),l=n(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(n(r.open+"#"),r.open+"# ").replace(n(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(n(r.open+"!(.+?)!"+r.close),function(e){return e=e.replace(n("^"+r.open+"!"),"").replace(n("!"+r.close),"").replace(n(r.open+"|"+r.close),function(e){return e.replace(/(.)/g,"\\$1")})}).replace(/(?="|')/g,"\\").replace(c.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(c.query(1),function(e){var c='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(n(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),c='"+_escape_('),c+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,c.escape)}catch(u){return delete o.cache,c.error(u,p)}},t.pt.render=function(e,r){var n,t=this;return e?(n=t.cache?t.cache(e,c.escape):t.parse(t.tpl,e),r?void r(n):n):c.error("no data")};var o=function(e){return"string"!=typeof e?c.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var c in e)r[c]=e[c]},o.v="1.2.0",e("laytpl",o)}); -------------------------------------------------------------------------------- /page/building.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 建设中 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 |

平台建设中,请耐心等待

18 |
19 | 20 | -------------------------------------------------------------------------------- /page/function/editLayerVueAttr.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 配置 7 | 9 | 10 | 11 |
12 | 13 | 14 | 16 | 17 | -------------------------------------------------------------------------------- /page/login/bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBAS0742/vue-layui/c513524b93688e65850886004aed6d4da855e81c/page/login/bg.jpg -------------------------------------------------------------------------------- /page/test.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | test 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |

测试页面

16 |
17 | 18 |
19 | 20 | -------------------------------------------------------------------------------- /video/usage.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBAS0742/vue-layui/c513524b93688e65850886004aed6d4da855e81c/video/usage.gif -------------------------------------------------------------------------------- /video/usage.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/IBAS0742/vue-layui/c513524b93688e65850886004aed6d4da855e81c/video/usage.mp4 --------------------------------------------------------------------------------