vue-markdown/docs/.vuepress/components/doc.js

22 lines
523 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

export default `## vue-markdown
一款使用marked和highlight.js开发的一款markdown编辑器除常见markdown语法外支持快捷输入、图片粘贴、代码复制、全屏编辑、预览等功能。
\`\`\`vue
<template>
<div class="simple">
<Markdown :height="400" theme="oneDark"/>
</div>
</template>
<script>
import Markdown from 'src/components/simple/simple';
export default {
name: "simple",
components:{
Markdown
}
}
</script>
\`\`\`
`