Closed happywilma closed 1 month ago
<template> <MdPreview :modelValue="internalContent" :showCodeRowNumber="false" codeTheme="github" :codeStyleReverse="true" :formatCopiedText="formatCopiedText" :codeFoldable="false" /> </template> <script setup lang="ts"> import { ref, watch } from "vue"; // 预览模式 import { MdPreview, config } from "md-editor-v3"; import "md-editor-v3/lib/preview.css"; import "md-editor-v3/lib/style.css"; import markdownItSup from "markdown-it-sup"; config({ markdownItConfig(mdit, options: {editorId: "#dlqwepwqepwq"}) { mdit.use(markdownItSup, { permalink: true }); } }); </script>
I haved installed markdown-it-sup. no errors, but didn't show rightly.
4.15.6
No response
internalContent variable is not defined
internalContent
不好意思,找到问题了。全局重置了样式...取消重置就好了
Describe the issue
I haved installed markdown-it-sup. no errors, but didn't show rightly.
Procedure version
4.15.6
Reproduction link
No response