diff --git a/lib/index.js b/lib/index.js index 6dac9f9..3b1dd7f 100644 --- a/lib/index.js +++ b/lib/index.js @@ -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: high.configure({__emitter: HastEmitter, classPrefix: prefix}) diff --git a/package.json b/package.json index 33ddc9b..9bc2f91 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/readme.md b/readme.md index 0998fa2..f13ddb0 100644 --- a/readme.md +++ b/readme.md @@ -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