Update highlight.js to version 9.4.0 and use bower dependency
This commit is contained in:
parent
85e00cb2ef
commit
2bff75a9f4
7 changed files with 6 additions and 9 deletions
|
@ -45,6 +45,7 @@
|
||||||
"mermaid": "^0.5.8",
|
"mermaid": "^0.5.8",
|
||||||
"MathJax": "^2.6.1",
|
"MathJax": "^2.6.1",
|
||||||
"octicons": "^3.5.0",
|
"octicons": "^3.5.0",
|
||||||
"velocity": "^1.2.3"
|
"velocity": "^1.2.3",
|
||||||
|
"highlightjs": "^9.4.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
.hljs{display:block;background:white;padding:0.5em;color:#333333;overflow-x:auto;-webkit-text-size-adjust:none}.hljs-comment,.bash .hljs-shebang,.java .hljs-javadoc,.javascript .hljs-javadoc{color:#969896}.hljs-string,.apache .hljs-sqbracket,.coffeescript .hljs-subst,.coffeescript .hljs-regexp,.cpp .hljs-preprocessor,.c .hljs-preprocessor,.javascript .hljs-regexp,.json .hljs-attribute,.makefile .hljs-variable,.markdown .hljs-value,.markdown .hljs-link_label,.markdown .hljs-strong,.markdown .hljs-emphasis,.markdown .hljs-blockquote,.nginx .hljs-regexp,.nginx .hljs-number,.objectivec .hljs-preprocessor .hljs-title,.perl .hljs-regexp,.php .hljs-regexp,.xml .hljs-value,.less .hljs-built_in,.scss .hljs-built_in{color:#df5000}.hljs-keyword,.css .hljs-at_rule,.css .hljs-important,.http .hljs-request,.ini .hljs-setting,.java .hljs-javadoctag,.javascript .hljs-tag,.javascript .hljs-javadoctag,.nginx .hljs-title,.objectivec .hljs-preprocessor,.php .hljs-phpdoc,.sql .hljs-built_in,.less .hljs-tag,.less .hljs-at_rule,.scss .hljs-tag,.scss .hljs-at_rule,.scss .hljs-important,.stylus .hljs-at_rule,.go .hljs-typename,.swift .hljs-preprocessor{color:#a71d5d}.apache .hljs-common,.apache .hljs-cbracket,.apache .hljs-keyword,.bash .hljs-literal,.bash .hljs-built_in,.coffeescript .hljs-literal,.coffeescript .hljs-built_in,.coffeescript .hljs-number,.cpp .hljs-number,.cpp .hljs-built_in,.c .hljs-number,.c .hljs-built_in,.cs .hljs-number,.cs .hljs-built_in,.css .hljs-attribute,.css .hljs-hexcolor,.css .hljs-number,.css .hljs-function,.http .hljs-literal,.http .hljs-attribute,.java .hljs-number,.javascript .hljs-built_in,.javascript .hljs-literal,.javascript .hljs-number,.json .hljs-number,.makefile .hljs-keyword,.markdown .hljs-link_reference,.nginx .hljs-built_in,.objectivec .hljs-literal,.objectivec .hljs-number,.objectivec .hljs-built_in,.php .hljs-literal,.php .hljs-number,.python .hljs-number,.ruby .hljs-prompt,.ruby .hljs-constant,.ruby .hljs-number,.ruby .hljs-subst .hljs-keyword,.ruby .hljs-symbol,.sql .hljs-number,.puppet .hljs-function,.less .hljs-number,.less .hljs-hexcolor,.less .hljs-function,.less .hljs-attribute,.scss .hljs-preprocessor,.scss .hljs-number,.scss .hljs-hexcolor,.scss .hljs-function,.scss .hljs-attribute,.stylus .hljs-number,.stylus .hljs-hexcolor,.stylus .hljs-attribute,.stylus .hljs-params,.go .hljs-built_in,.go .hljs-constant,.swift .hljs-built_in,.swift .hljs-number{color:#0086b3}.apache .hljs-tag,.cs .hljs-xmlDocTag,.css .hljs-tag,.xml .hljs-title,.stylus .hljs-tag{color:#63a35c}.bash .hljs-variable,.cs .hljs-preprocessor,.cs .hljs-preprocessor .hljs-keyword,.css .hljs-attr_selector,.css .hljs-value,.ini .hljs-value,.ini .hljs-keyword,.javascript .hljs-tag .hljs-title,.makefile .hljs-constant,.nginx .hljs-variable,.xml .hljs-tag,.scss .hljs-variable{color:#333333}.bash .hljs-title,.coffeescript .hljs-title,.cpp .hljs-title,.c .hljs-title,.cs .hljs-title,.css .hljs-id,.css .hljs-class,.css .hljs-pseudo,.ini .hljs-title,.java .hljs-title,.javascript .hljs-title,.makefile .hljs-title,.objectivec .hljs-title,.perl .hljs-sub,.php .hljs-title,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-parent,.ruby .hljs-title,.xml .hljs-attribute,.puppet .hljs-title,.less .hljs-id,.less .hljs-pseudo,.less .hljs-class,.scss .hljs-id,.scss .hljs-pseudo,.scss .hljs-class,.stylus .hljs-class,.stylus .hljs-id,.stylus .hljs-pseudo,.stylus .hljs-title,.swift .hljs-title,.diff .hljs-chunk{color:#795da3}.coffeescript .hljs-reserved,.coffeescript .hljs-attribute{color:#1d3e81}.diff .hljs-chunk{font-weight:bold}.diff .hljs-addition{color:#55a532;background-color:#eaffea}.diff .hljs-deletion{color:#bd2c00;background-color:#ffecec}.markdown .hljs-link_url{text-decoration:underline}
|
|
1
public/vendor/highlight-js/github.min.css
vendored
1
public/vendor/highlight-js/github.min.css
vendored
|
@ -1 +0,0 @@
|
||||||
.hljs{display:block;overflow-x:auto;padding:0.5em;color:#333;background:#f8f8f8;-webkit-text-size-adjust:none}.hljs-comment,.diff .hljs-header{color:#998;font-style:italic}.hljs-keyword,.css .rule .hljs-keyword,.hljs-winutils,.nginx .hljs-title,.hljs-subst,.hljs-request,.hljs-status{color:#333;font-weight:bold}.hljs-number,.hljs-hexcolor,.ruby .hljs-constant{color:#008080}.hljs-string,.hljs-tag .hljs-value,.hljs-doctag,.tex .hljs-formula{color:#d14}.hljs-title,.hljs-id,.scss .hljs-preprocessor{color:#900;font-weight:bold}.hljs-list .hljs-keyword,.hljs-subst{font-weight:normal}.hljs-class .hljs-title,.hljs-type,.vhdl .hljs-literal,.tex .hljs-command{color:#458;font-weight:bold}.hljs-tag,.hljs-tag .hljs-title,.hljs-rule .hljs-property,.django .hljs-tag .hljs-keyword{color:#000080;font-weight:normal}.hljs-attribute,.hljs-variable,.lisp .hljs-body,.hljs-name{color:#008080}.hljs-regexp{color:#009926}.hljs-symbol,.ruby .hljs-symbol .hljs-string,.lisp .hljs-keyword,.clojure .hljs-keyword,.scheme .hljs-keyword,.tex .hljs-special,.hljs-prompt{color:#990073}.hljs-built_in{color:#0086b3}.hljs-preprocessor,.hljs-pragma,.hljs-pi,.hljs-doctype,.hljs-shebang,.hljs-cdata{color:#999;font-weight:bold}.hljs-deletion{background:#fdd}.hljs-addition{background:#dfd}.diff .hljs-change{background:#0086b3}.hljs-chunk{color:#aaa}
|
|
2
public/vendor/highlight-js/highlight.min.js
vendored
2
public/vendor/highlight-js/highlight.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -48,7 +48,7 @@
|
||||||
<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script>
|
<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script>
|
<script src="<%- url %>/vendor/xss/dist/xss.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/string.min.js" defer></script>
|
<script src="<%- url %>/vendor/string.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/highlight-js/highlight.min.js" defer></script>
|
<script src="<%- url %>/vendor/highlightjs/highlight.pack.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/js.cookie.js" defer></script>
|
<script src="<%- url %>/vendor/js.cookie.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/handlebars/handlebars.min.js" defer></script>
|
<script src="<%- url %>/vendor/handlebars/handlebars.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
|
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
<link rel="stylesheet" href="<%- url %>/vendor/codemirror/theme/monokai.css">
|
<link rel="stylesheet" href="<%- url %>/vendor/codemirror/theme/monokai.css">
|
||||||
<link rel="stylesheet" href="<%- url %>/vendor/codemirror/theme/one-dark.css">
|
<link rel="stylesheet" href="<%- url %>/vendor/codemirror/theme/one-dark.css">
|
||||||
<link rel="stylesheet" href="<%- url %>/css/github-extract.css">
|
<link rel="stylesheet" href="<%- url %>/css/github-extract.css">
|
||||||
<link rel="stylesheet" href="<%- url %>/vendor/highlight-js/github-gist.min.css">
|
<link rel="stylesheet" href="<%- url %>/vendor/highlightjs/styles/github-gist.css">
|
||||||
<link rel="stylesheet" href="<%- url %>/vendor/emojify/css/emojify.min.css">
|
<link rel="stylesheet" href="<%- url %>/vendor/emojify/css/emojify.min.css">
|
||||||
<link rel="stylesheet" href="<%- url %>/vendor/showup/showup.css">
|
<link rel="stylesheet" href="<%- url %>/vendor/showup/showup.css">
|
||||||
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">
|
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
<% } %>
|
<% } %>
|
||||||
<link rel="stylesheet" href='<%- url %>/css/github-extract.css'>
|
<link rel="stylesheet" href='<%- url %>/css/github-extract.css'>
|
||||||
<link rel="stylesheet" href='<%- url %>/css/gist.css'>
|
<link rel="stylesheet" href='<%- url %>/css/gist.css'>
|
||||||
<link rel="stylesheet" href='<%- url %>/vendor/highlight-js/github-gist.min.css'>
|
<link rel="stylesheet" href='<%- url %>/vendor/highlightjs/styles/github-gist.css'>
|
||||||
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">
|
<link rel="stylesheet" href="<%- url %>/css/mermaid.css">
|
||||||
<link rel="stylesheet" href='<%- url %>/css/markdown.css'>
|
<link rel="stylesheet" href='<%- url %>/css/markdown.css'>
|
||||||
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
|
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
<script src="<%- url %>/vendor/markdown-it-regexp.js" defer></script>
|
<script src="<%- url %>/vendor/markdown-it-regexp.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/gist-embed.js" defer></script>
|
<script src="<%- url %>/vendor/gist-embed.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/string.min.js" defer></script>
|
<script src="<%- url %>/vendor/string.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/highlight-js/highlight.min.js" defer></script>
|
<script src="<%- url %>/vendor/highlightjs/highlight.pack.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/js.cookie.js" defer></script>
|
<script src="<%- url %>/vendor/js.cookie.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
|
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
|
||||||
<script src="<%- url %>/vendor/raphael/raphael.min.js" defer></script>
|
<script src="<%- url %>/vendor/raphael/raphael.min.js" defer></script>
|
||||||
|
|
Loading…
Reference in a new issue