Skip to content

Commit

Permalink
tools: upgrade highlight.js to version 11.0.1
Browse files Browse the repository at this point in the history
Refs: https://github.com/highlightjs/highlight.js/blob/main/VERSION_11_UPGRADE.md

PR-URL: #39032
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
aduh95 authored and targos committed Jul 11, 2021
1 parent 83f3b95 commit 4715105
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
8 changes: 5 additions & 3 deletions doc/api_assets/hljs.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
}

.hljs-attribute,
.hljs-keyword {
.hljs-keyword,
.hljs-type {
color: #338;
}

Expand All @@ -35,9 +36,10 @@
color: var(--green4);
}

.dark-mode .hljs-keyword,
.dark-mode .hljs-attribute,
.dark-mode .hljs-doctag {
.dark-mode .hljs-doctag,
.dark-mode .hljs-keyword,
.dark-mode .hljs-type {
color: #66d9ef;
}

Expand Down
18 changes: 9 additions & 9 deletions tools/doc/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"node": ">=14.8.0"
},
"devDependencies": {
"highlight.js": "10.7.3",
"highlight.js": "11.0.1",
"js-yaml": "4.1.0",
"rehype-raw": "5.1.0",
"rehype-stringify": "8.0.0",
Expand Down

0 comments on commit 4715105

Please sign in to comment.