1
0
mirror of https://gitee.com/coder-xiaomo/notes synced 2025-01-25 18:30:28 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

小变动

This commit is contained in:
程序员小墨 2021-12-26 20:25:25 +08:00
parent 92667644a3
commit d3de787207
3 changed files with 17 additions and 3 deletions

4
.gitignore vendored
View File

@ -2,4 +2,6 @@ node_modules
.temp .temp
.cache .cache
*.lnk *.lnk
docs/.vuepress/dist

View File

@ -19,10 +19,11 @@ module.exports = {
// https://v2.vuepress.vuejs.org/zh/reference/plugin-api.html#extendsmarkdown // https://v2.vuepress.vuejs.org/zh/reference/plugin-api.html#extendsmarkdown
extendsMarkdown: (md) => { extendsMarkdown: (md) => {
// https://github.com/MakerGYT/markdown-it-latex2img // https://github.com/MakerGYT/markdown-it-latex2img
// md.use(require("markdown-it-latex2img")); md.use(require("markdown-it-latex2img"));
// 这个会让内部超链接失效应该是vue没有渲染完导致的
// https://github.com/MakerGYT/markdown-it-latex2img // https://github.com/MakerGYT/markdown-it-latex2img
md.use(require("markdown-it-mathjax3")); // md.use(require("markdown-it-mathjax3"));
md.linkify.set({ fuzzyEmail: false }); md.linkify.set({ fuzzyEmail: false });

View File

@ -4,6 +4,17 @@
--search-result-width: 25rem; --search-result-width: 25rem;
} }
/* 暗黑模式下,透明图内容看不清,设置为白色背景 */
/* 文章的图片 */
html.dark .page img,
/* 点击放大的大图 */
html.dark .medium-zoom-image {
background-color: white;
background-color: yellow;
filter:alpha(style=0, opacity=40, finishopacity=40);
}
/* /*
:root { :root {