diff --git a/package-lock.json b/package-lock.json index ed9523b6..02f7752d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "dependencies": { "@diplodoc/client": "^3.1.8", "@diplodoc/translation": "^1.5.1", + "highlight.js": "^11.10.0", "katex": "^0.16.9", "shelljs": "0.8.5", "threads": "1.7.0" @@ -8935,6 +8936,15 @@ "he": "bin/he" } }, + "node_modules/highlight.js": { + "version": "11.10.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.10.0.tgz", + "integrity": "sha512-SYVnVFswQER+zu1laSya563s+F8VDGt7o35d4utbamowvUNLLMovFqwCLSocpZTz3MgaSRA1IbqRWZv97dtErQ==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/hoist-non-react-statics": { "version": "3.3.2", "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", diff --git a/package.json b/package.json index 7d85caca..5a33e6df 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "dependencies": { "@diplodoc/client": "^3.1.8", "@diplodoc/translation": "^1.5.1", + "highlight.js": "^11.10.0", "katex": "^0.16.9", "shelljs": "0.8.5", "threads": "1.7.0"