ai问答完成

This commit is contained in:
yanghang
2025-07-17 09:55:22 +08:00
parent 8a20e68831
commit ac726f6eea
4 changed files with 102 additions and 19 deletions
@@ -5,10 +5,7 @@
</template>
<script>
// import {Marked} from 'marked';
import MarkdownIt from 'markdown-it';
// import markdownItAttrs from 'markdown-it-attrs'
// import markdownItHighlight from 'markdown-it-highlightjs'
export default {
name:"markdown-preview",
props: {
@@ -49,10 +46,7 @@
linkify: true,
typographer: true
})
// this.mdObj.use(markdownItAttrs)
// this.mdObj.use(markdownItHighlight)
this.contentHtml = this.parseContent(this.mdString)
console.log(this.contentHtml)
}
}
</script>