Skip to content

Commit

Permalink
Update Highlight.js to ~11.10
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jul 15, 2024
1 parent 74c88f0 commit 43f295f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"dependencies": {
"@types/hast": "^3.0.0",
"devlop": "^1.0.0",
"highlight.js": "~11.9.0"
"highlight.js": "~11.10.0"
},
"devDependencies": {
"@types/mdast": "^4.0.0",
Expand Down
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ where `xxx` is the name, such as `'highlight.js/lib/languages/wasm'`.
* [ ] `avrasm` — AVR Assembly
* [ ] `awk` — Awk
* [ ] `axapta` (`x++`) — X++
* [x] `bash` (`sh`) — Bash
* [x] `bash` (`sh`, `zsh`) — Bash
* [ ] `basic` — BASIC
* [ ] `bnf` — Backus–Naur Form
* [ ] `brainfuck` (`bf`) — Brainfuck
Expand Down Expand Up @@ -560,7 +560,7 @@ where `xxx` is the name, such as `'highlight.js/lib/languages/wasm'`.
* [x] `java` (`jsp`) — Java
* [x] `javascript` (`js`, `jsx`, `mjs`, `cjs`) — JavaScript
* [ ] `jboss-cli` (`wildfly-cli`) — JBoss CLI
* [x] `json` — JSON
* [x] `json` (`jsonc`) — JSON
* [ ] `julia` — Julia
* [ ] `julia-repl` (`jldoctest`) — Julia REPL
* [x] `kotlin` (`kt`, `kts`) — Kotlin
Expand Down Expand Up @@ -677,7 +677,7 @@ If you are in a browser, you can use any `highlight.js` theme.
For example, to get GitHub Dark from cdnjs:
```html
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/github-dark.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/styles/github-dark.min.css">
```
## Compatibility
Expand Down

0 comments on commit 43f295f

Please sign in to comment.