Skip to content

Commit

Permalink
Update Highlight.js to ~11.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 10, 2023
1 parent bf86b3c commit 0271644
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export function createLowlight(grammars) {
throw new Error('Unknown language: `' + language + '` is not registered')
}

// @ts-expect-error: `__emitter` works but isn’t typed.
// See: <https://github.com/highlightjs/highlight.js/issues/3621#issuecomment-1528841888>
high.configure({__emitter: HastEmitter, classPrefix: prefix})

Expand Down
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.8.0"
"highlight.js": "~11.9.0"
},
"devDependencies": {
"@types/mdast": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ where `xxx` is the name, such as `'highlight.js/lib/languages/wasm'`.
* [ ] `x86asm` — Intel x86 Assembly
* [ ] `xl` (`tao`) — XL
* [x] `xml` (`html`, `xhtml`, `rss`, `atom`, `xjb`, `xsd`, `xsl`, `plist`, `wsf`, `svg`) — HTML, XML
* [ ] `xquery` (`xpath`, `xq`) — XQuery
* [ ] `xquery` (`xpath`, `xq`, `xqm`) — XQuery
* [x] `yaml` (`yml`) — YAML
* [ ] `zephir` (`zep`) — Zephir
Expand Down

0 comments on commit 0271644

Please sign in to comment.