Skip to content

Commit 4715105

Browse files
aduh95targos
authored andcommitted
tools: upgrade highlight.js to version 11.0.1
Refs: https://github.com/highlightjs/highlight.js/blob/main/VERSION_11_UPGRADE.md PR-URL: #39032 Reviewed-By: Luigi Pinca <[email protected]>
1 parent 83f3b95 commit 4715105

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

Diff for: doc/api_assets/hljs.css

+5-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
}
99

1010
.hljs-attribute,
11-
.hljs-keyword {
11+
.hljs-keyword,
12+
.hljs-type {
1213
color: #338;
1314
}
1415

@@ -35,9 +36,10 @@
3536
color: var(--green4);
3637
}
3738

38-
.dark-mode .hljs-keyword,
3939
.dark-mode .hljs-attribute,
40-
.dark-mode .hljs-doctag {
40+
.dark-mode .hljs-doctag,
41+
.dark-mode .hljs-keyword,
42+
.dark-mode .hljs-type {
4143
color: #66d9ef;
4244
}
4345

Diff for: tools/doc/package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: tools/doc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"node": ">=14.8.0"
88
},
99
"devDependencies": {
10-
"highlight.js": "10.7.3",
10+
"highlight.js": "11.0.1",
1111
"js-yaml": "4.1.0",
1212
"rehype-raw": "5.1.0",
1313
"rehype-stringify": "8.0.0",

0 commit comments

Comments
 (0)