From 89dd7517e774f2f1b740de9ceebfd858269f55b0 Mon Sep 17 00:00:00 2001 From: yndx-birman <62902338+yndx-birman@users.noreply.github.com> Date: Fri, 17 Sep 2021 02:32:24 +0300 Subject: [PATCH] fix: resolve conflict with markdown-it-katex plugin Related issue https://github.com/waylonflinn/markdown-it-katex/issues/24 --- patterns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patterns.js b/patterns.js index 057254b..0744a7b 100644 --- a/patterns.js +++ b/patterns.js @@ -313,7 +313,7 @@ module.exports = options => { { position: -1, content: utils.hasDelimiters('end', options), - type: (t) => t !== 'code_inline' + type: (t) => t !== 'code_inline' && t !== 'math_inline' } ] }