Skip to content

Commit 71123c8

Browse files
committed
update hightlight.js
1 parent 168c692 commit 71123c8

File tree

7 files changed

+109
-132
lines changed

7 files changed

+109
-132
lines changed

public/config.codekit

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@
4747
"outputPathIsOutsideProject": 0,
4848
"outputPathIsSetByUser": 0
4949
},
50-
"\/css\/highlight-8.9.1\/default.css": {
50+
"\/css\/highlight-9.0.0\/default.css": {
5151
"fileType": 16,
5252
"ignore": 0,
5353
"ignoreWasSetByUser": 0,
54-
"inputAbbreviatedPath": "\/css\/highlight-8.9.1\/default.css",
54+
"inputAbbreviatedPath": "\/css\/highlight-9.0.0\/default.css",
5555
"outputAbbreviatedPath": "No Output Path",
5656
"outputPathIsOutsideProject": 0,
5757
"outputPathIsSetByUser": 0
5858
},
59-
"\/css\/highlight-8.9.1\/github.css": {
59+
"\/css\/highlight-9.0.0\/github.css": {
6060
"fileType": 16,
6161
"ignore": 0,
6262
"ignoreWasSetByUser": 0,
63-
"inputAbbreviatedPath": "\/css\/highlight-8.9.1\/github.css",
63+
"inputAbbreviatedPath": "\/css\/highlight-9.0.0\/github.css",
6464
"outputAbbreviatedPath": "No Output Path",
6565
"outputPathIsOutsideProject": 0,
6666
"outputPathIsSetByUser": 0

public/css/highlight-8.9.1/github.css

Lines changed: 0 additions & 123 deletions
This file was deleted.

public/css/highlight-9.0.0/github.css

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/*
2+
3+
github.com style (c) Vasily Polovnyov <[email protected]>
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+
}

public/js/libs/highlight-8.9.1.pack.js

Lines changed: 0 additions & 3 deletions
This file was deleted.

public/js/libs/highlight-9.0.0.pack.js

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

templates/base/footer.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333

3434
<!-- Third-party libraries -->
3535
{{if .RequireHighlightJS}}
36-
<link rel="stylesheet" href="{{AppSubUrl}}/css/highlight-8.9.1/github.css">
37-
<script src="{{AppSubUrl}}/js/libs/highlight-8.9.1.pack.js"></script>
36+
<link rel="stylesheet" href="{{AppSubUrl}}/css/highlight-9.0.0/github.css">
37+
<script src="{{AppSubUrl}}/js/libs/highlight-9.0.0.pack.js"></script>
3838
{{end}}
3939
{{if .RequireMinicolors}}
4040
<link rel="stylesheet" href="{{AppSubUrl}}/css/jquery.minicolors-2.1.12.css">

0 commit comments

Comments
 (0)