mzlogin.github.io icon indicating copy to clipboard operation
mzlogin.github.io copied to clipboard

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

Open LeeYouth opened this issue 5 years ago • 1 comments

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

LeeYouth avatar Aug 15 '19 10:08 LeeYouth

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

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

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

mzlogin avatar Jun 21 '20 08:06 mzlogin