diff --git a/assets/lib/artalk/artalk-plugin-katex.js b/assets/lib/artalk/artalk-plugin-katex.js
index 86f0a655b..137768967 100644
--- a/assets/lib/artalk/artalk-plugin-katex.js
+++ b/assets/lib/artalk/artalk-plugin-katex.js
@@ -1 +1 @@
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("artalk"),require("katex")):"function"==typeof define&&define.amd?define(["artalk","katex"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Artalk,e.katex)}(this,(function(e,t){"use strict";e.use((e=>{const n=e.getMarkedInstance();if(!n)return void console.log("[artalk-plugin-katex] no marked instance found");let r=0;const a=()=>`__atk_katext_id_${r++}__`,o={};function s(e){return e=(e=e.replace(/\$\$([\s\S]+?)\$\$/g,((e,t)=>{const n=a();return o[n]={type:"block",expression:t},n}))).replace(/\$([^\n]+?)\$/g,((e,t)=>{const n=a();return o[n]={type:"inline",expression:t},n}))}const i=new n.Renderer,l=i.listitem,c=i.paragraph,p=i.tablecell,d=i.codespan,u=i.text;i.listitem=(e,t,n)=>l(s(e),t,n),i.paragraph=e=>c(s(e)),i.tablecell=(e,t)=>p(s(e),t),i.codespan=e=>d(s(e)),i.text=e=>u(s(e)),e.markedReplacers.push((e=>e=e.replace(/(__atk_katext_id_\d+__)/g,((e,n)=>{const r=o[n],a=r.type;let s=r.expression;return s=s.replace(/
/gm,"\n"),t.renderToString(s,{displayMode:"block"===a})})))),n.use({renderer:i})}))}));
\ No newline at end of file
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("artalk"),require("katex")):"function"==typeof define&&define.amd?define(["artalk","katex"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Artalk,e.katex)}(this,(function(e,t){"use strict";e.use((e=>{const n=e.getMarked();if(!n)return void console.log("[artalk-plugin-katex] no marked instance found");let r=0;const a=()=>`__atk_katext_id_${r++}__`,o={};function i(e){return e=(e=e.replace(/\$\$([\s\S]+?)\$\$/g,((e,t)=>{const n=a();return o[n]={type:"block",expression:t},n}))).replace(/\$([^\n]+?)\$/g,((e,t)=>{const n=a();return o[n]={type:"inline",expression:t},n}))}const l=new n.Renderer,s=l.listitem,c=l.paragraph,d=l.tablecell,p=l.codespan,u=l.text;l.listitem=(e,t,n)=>s(i(e),t,n),l.paragraph=e=>c(i(e)),l.tablecell=(e,t)=>d(i(e),t),l.codespan=e=>p(i(e)),l.text=e=>u(i(e)),e.updateConf({markedReplacers:[e=>e=e.replace(/(__atk_katext_id_\d+__)/g,((e,n)=>{const r=o[n],a=r.type;let i=r.expression;return i=i.replace(/
/gm,"\n"),t.renderToString(i,{displayMode:"block"===a})}))]}),n.use({renderer:l})}))}));
diff --git a/dependencies.json b/dependencies.json
index b915a3fc6..2a12555d7 100644
--- a/dependencies.json
+++ b/dependencies.json
@@ -93,7 +93,7 @@
},
{
"name": "@artalk/plugin-katex",
- "version": "0.1.5",
+ "version": "0.1.6",
"files": [
{
"remote": "dist/artalk-plugin-katex.js",