mirror of
				https://gitee.com/coder-xiaomo/notes
				synced 2025-11-04 14:13:13 +08:00 
			
		
		
		
	小变动
This commit is contained in:
		
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -2,4 +2,6 @@ node_modules
 | 
				
			|||||||
.temp
 | 
					.temp
 | 
				
			||||||
.cache
 | 
					.cache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
*.lnk
 | 
					*.lnk
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					docs/.vuepress/dist
 | 
				
			||||||
@@ -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 });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -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 {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user