浏览代码

fix: Add comments

Hwang In Tak 7 月之前
父节点
当前提交
30e65b33f6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/lib/utils/marked/katex-extension.ts

+ 1 - 1
src/lib/utils/marked/katex-extension.ts

@@ -55,7 +55,7 @@ const { inlineRule, blockRule } = generateRegexRules(DELIMITER_LIST);
 export default function (options = {}) {
 	return {
 		extensions: [
-			blockKatex(options),
+			blockKatex(options), // This should be on top to prevent conflict with inline delimiters.
 			inlineKatex(options),
 		]
 	};