diff --git a/package-lock.json b/package-lock.json index 899f8646..c2e9bcd1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "MIT", "dependencies": { "geist": "^1.2.0", + "prism-themes": "^1.9.0", "prismjs": "^1.21.0" }, "devDependencies": { @@ -2564,6 +2565,11 @@ "url": "https://github.com/sponsors/jonschlinkert" } }, + "node_modules/prism-themes": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/prism-themes/-/prism-themes-1.9.0.tgz", + "integrity": "sha512-tX2AYsehKDw1EORwBps+WhBFKc2kxfoFpQAjxBndbZKr4fRmMkv47XN0BghC/K1qwodB1otbe4oF23vUTFDokw==" + }, "node_modules/prismjs": { "version": "1.29.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", @@ -5812,6 +5818,11 @@ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true }, + "prism-themes": { + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/prism-themes/-/prism-themes-1.9.0.tgz", + "integrity": "sha512-tX2AYsehKDw1EORwBps+WhBFKc2kxfoFpQAjxBndbZKr4fRmMkv47XN0BghC/K1qwodB1otbe4oF23vUTFDokw==" + }, "prismjs": { "version": "1.29.0", "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz", diff --git a/package.json b/package.json index 0c477184..1f7dc116 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ }, "dependencies": { "geist": "^1.2.0", + "prism-themes": "^1.9.0", "prismjs": "^1.21.0" }, "devDependencies": { diff --git a/src/pages/index.md b/src/pages/index.md index c6d3c0be..8cc2ab7c 100644 --- a/src/pages/index.md +++ b/src/pages/index.md @@ -138,7 +138,6 @@ ${ products.map((item, idx) => { const { title, thumbnail } = item; - return `