Merge pull request #702 from expoli/dev

[update] 添加代码行号显示控制,取消行号显示可以将代码进行左右滑动,默认关闭行号
This commit is contained in:
tangly1024
2023-01-18 21:51:50 +08:00
committed by GitHub
2 changed files with 11 additions and 9 deletions

View File

@@ -43,6 +43,7 @@ const BLOG = {
// PrismJs CDN
PRISM_JS_PATH: 'https://npm.elemecdn.com/prismjs@1.29.0/components/',
CODE_LINE_NUMBERS: process.env.NEXT_PUBLIC_CODE_LINE_NUMBERS || 'false',
BACKGROUND_LIGHT: '#eeeeee', // use hex value, don't forget '#' e.g #fffefc
BACKGROUND_DARK: '#000000', // use hex value, don't forget '#'