code cleanup

This commit is contained in:
VJHack 2024-12-12 14:21:03 -06:00
parent 27830711fd
commit 5622ff5600

View File

@ -82,7 +82,7 @@ const THEMES = ['light', 'dark', 'cupcake', 'bumblebee', 'emerald', 'corporate',
// markdown support
const VueMarkdown = defineComponent(
(props) => {
const md = shallowRef(new MarkdownIt({ breaks: true}))
const md = shallowRef(new MarkdownIt({ breaks: true }));
md.value.use(HighlightJS,{hljs})
md.value.use(markdownItKatexGpt)
const origFenchRenderer = md.value.renderer.rules.fence;