Skip to content

Commit 27d3959

Browse files
committed
(docs) Update Highlight.js to v9.10.0
1 parent 7e17bc7 commit 27d3959

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

demo/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
}
8282

8383
/* Highlight.js Tomorrow Night style */
84-
.hljs-comment{color:#969896}.hljs-tag{color:#f8f8f2}.css .hljs-class,.css .hljs-id,.css .hljs-pseudo,.hljs-attribute,.hljs-regexp,.hljs-title,.hljs-variable,.html .hljs-doctype,.ruby .hljs-constant,.xml .hljs-doctype,.xml .hljs-pi,.xml .hljs-tag .hljs-title{color:#c66}.hljs-built_in,.hljs-constant,.hljs-literal,.hljs-number,.hljs-params,.hljs-pragma,.hljs-preprocessor{color:#de935f}.css .hljs-rules .hljs-attribute,.ruby .hljs-class .hljs-title{color:#f0c674}.hljs-header,.hljs-inheritance,.hljs-string,.hljs-value,.ruby .hljs-symbol,.xml .hljs-cdata{color:#b5bd68}.css .hljs-hexcolor{color:#8abeb7}.coffeescript .hljs-title,.hljs-function,.javascript .hljs-title,.perl .hljs-sub,.python .hljs-decorator,.python .hljs-title,.ruby .hljs-function .hljs-title,.ruby .hljs-title .hljs-keyword{color:#81a2be}.hljs-keyword,.javascript .hljs-function{color:#b294bb}.hljs{display:block;overflow-x:auto;background:#35383C;color:#c5c8c6;padding:.8em}.coffeescript .javascript,.javascript .xml,.tex .hljs-formula,.xml .css,.xml .hljs-cdata,.xml .javascript,.xml .vbscript{opacity:.5}
84+
.hljs-comment,.hljs-quote{color:#969896}.hljs-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#c66}.hljs-tag {color: #f8f8f2}.hljs-built_in,.hljs-builtin-name,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#de935f}.hljs-attr{color:#f0c674}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#b5bd68}.hljs-section,.hljs-title{color:#81a2be}.hljs-keyword,.hljs-selector-tag{color:#b294bb}.hljs{display:block;overflow-x:auto;background:#1d1f21;color:#c5c8c6;padding:.8em}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
8585
</style>
8686
</head>
8787
<body>
@@ -173,18 +173,14 @@ <h3>Usage instructions and source code can be found on
173173
<p>Copyright &copy; 2016 <a href="https://github.com/feimosi/">feimosi</a></p>
174174
</footer>
175175
<script src="js/baguetteBox.js" async></script>
176-
<script src="js/plugins.js" async></script>
176+
<script src="js/highlight.min.js" async></script>
177177
<!--[if lt IE 9]>
178178
<script>
179179
var oldIE = true;
180180
</script>
181181
<![endif]-->
182182
<script>
183183
window.onload = function() {
184-
if (typeof oldIE === 'undefined' && Object.keys) {
185-
hljs.initHighlighting();
186-
}
187-
188184
baguetteBox.run('.baguetteBoxOne');
189185
baguetteBox.run('.baguetteBoxTwo');
190186
baguetteBox.run('.baguetteBoxThree', {
@@ -199,6 +195,10 @@ <h3>Usage instructions and source code can be found on
199195
return element.getElementsByTagName('img')[0].alt;
200196
}
201197
});
198+
199+
if (typeof oldIE === 'undefined' && Object.keys) {
200+
hljs.initHighlighting();
201+
}
202202
};
203203
</script>
204204
</body>

demo/js/highlight.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)