style fixes

This commit is contained in:
VJHack 2024-12-12 15:37:40 -06:00
parent 661302278e
commit d0fbab4710

View File

@ -84,7 +84,7 @@ const VueMarkdown = defineComponent(
(props) => {
const md = shallowRef(new MarkdownIt({ breaks: true }));
md.value.use(HighlightJS, { hljs });
md.value.use(markdownItKatexGpt)
md.value.use(markdownItKatexGpt);
const origFenchRenderer = md.value.renderer.rules.fence;
md.value.renderer.rules.fence = (tokens, idx, ...args) => {
const content = tokens[idx].content;