From 86e314a42fdd7d4426eb6dc0720c5bef6b31bbdc Mon Sep 17 00:00:00 2001 From: Jiaxin Peng Date: Tue, 11 Jul 2023 00:50:40 +0100 Subject: [PATCH] update description --- blog.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/blog.config.js b/blog.config.js index 179916f0..0c120213 100644 --- a/blog.config.js +++ b/blog.config.js @@ -93,12 +93,12 @@ const BLOG = { // PrismJs 代码相关 PRISM_JS_AUTO_LOADER: 'https://npm.elemecdn.com/prismjs@1.29.0/plugins/autoloader/prism-autoloader.min.js', - PRISM_THEME_SWITCH: true, // 是否切换代码块主题 - PRISM_THEME_PREFIX_PATH: 'https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-okaidia.css', // 固定代码块主题 + PRISM_THEME_SWITCH: true, // 是够根据网页主题自动切换代码高亮主题 + PRISM_THEME_PREFIX_PATH: 'https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-okaidia.css', // 如果开关为false,不更改的代码块主题 PRISM_THEME_LIGHT_PATH: - 'https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-solarizedlight.css', // 代码样式主题 更多参考 https://github.com/PrismJS/prism-themes + 'https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-solarizedlight.css', // 浅色主题下的代码块高亮 更多参考 https://github.com/PrismJS/prism-themes PRISM_THEME_DARK_PATH: - 'https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-okaidia.min.css', // 代码样式主题 更多参考 https://github.com/PrismJS/prism-themes + 'https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism-okaidia.min.css', // 深色主题下代码块高亮 更多参考 https://github.com/PrismJS/prism-themes PRISM_JS_PATH: 'https://npm.elemecdn.com/prismjs@1.29.0/components/', // PRISM_THEME_PATH: // 'https://npm.elemecdn.com/prism-themes/themes/prism-a11y-dark.min.css', // 代码样式主题 更多参考 https://github.com/PrismJS/prism-themes