瀏覽代碼

don't parse math equations in code blocks

Hakim El Hattab 8 月之前
父節點
當前提交
5a275f223b
共有 3 個文件被更改,包括 1 次插入2 次删除
  1. 1 1
      plugin/math/katex.js
  2. 0 1
      plugin/math/math.esm.js
  3. 0 0
      plugin/math/math.js

+ 1 - 1
plugin/math/katex.js

@@ -16,7 +16,7 @@ export const KaTeX = () => {
 			{left: '\\(', right: '\\)', display: false},
 			{left: '\\[', right: '\\]', display: true}
 		],
-		ignoredTags: ['script', 'noscript', 'style', 'textarea', 'pre']
+		ignoredTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code']
 	}
 
 	const loadCss = src => {

文件差異過大導致無法顯示
+ 0 - 1
plugin/math/math.esm.js


文件差異過大導致無法顯示
+ 0 - 0
plugin/math/math.js


部分文件因文件數量過多而無法顯示