Browse Source

fix: Add comments

Hwang In Tak 7 months ago
parent
commit
30e65b33f6
1 changed files with 1 additions and 1 deletions
  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),
 		]
 	};