Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

markdown代码块背景色在哪里修改呢? #95

Open
LeeYouth opened this issue Aug 15, 2019 · 1 comment
Open

markdown代码块背景色在哪里修改呢? #95

LeeYouth opened this issue Aug 15, 2019 · 1 comment

Comments

@LeeYouth
Copy link

markdown代码块背景色在哪里修改呢?我想修改一下,文章详情页markdown代码块的背景色,目前显示的颜色比较浅,看上去不明显,能修改成其他背景颜色吗?

@mzlogin
Copy link
Owner

mzlogin commented Jun 21, 2020

以前改起来比较麻烦,我今天改造了一下。

现在可以通过 _config.yml 文件里的配置项 highlight_theme 来指定代码高亮风格了,支持的风格名称列表参考我维护的另一个项目:

在项目主页可以看到每种风格的预览效果。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants