Explorar o código

fix: Add comments

Hwang In Tak hai 7 meses
pai
achega
30e65b33f6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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),
 		]
 	};