diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 05767aa5..aca4e4b1 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.1", "dependencies": { "axios": "^1.2.6", + "highlight.js": "^11.9.0", "identicons": "^0.1.0", "lodash-es": "^4.17.21", "moment": "^2.29.4", @@ -1784,6 +1785,14 @@ "node": ">=8" } }, + "node_modules/highlight.js": { + "version": "11.9.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.9.0.tgz", + "integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==", + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/identicons": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/identicons/-/identicons-0.1.0.tgz", @@ -4275,6 +4284,11 @@ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true }, + "highlight.js": { + "version": "11.9.0", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.9.0.tgz", + "integrity": "sha512-fJ7cW7fQGCYAkgv4CPfwFHrfd/cLS4Hau96JuJ+ZTOWhjnhoeN1ub1tFmALm/+lW5z4WCAuAV9bm05AP0mS6Gw==" + }, "identicons": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/identicons/-/identicons-0.1.0.tgz", diff --git a/frontend/package.json b/frontend/package.json index 7d33af1b..1801aec3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -14,6 +14,7 @@ "type": "module", "dependencies": { "axios": "^1.2.6", + "highlight.js": "^11.9.0", "identicons": "^0.1.0", "lodash-es": "^4.17.21", "moment": "^2.29.4", diff --git a/frontend/src/app.html b/frontend/src/app.html index adffc2dd..d1149064 100644 --- a/frontend/src/app.html +++ b/frontend/src/app.html @@ -6,9 +6,7 @@ - - +