@halobear/vue-markdown-it

1.1.1 • Public • Published

@halobear/@halobear/vue-markdown-it

安装

yarn add @halobear/vue-markdown-it

使用

<template>
  <div class="test-container">
    <h2 class="title">markdown编辑器</h2>
    <markdown-editor class="editor-content" type="markdown" v-model="text"></markdown-editor>
  </div>
</template>

<script>
  import markdownEditor from '@halobear/vue-markdown-it'
  import text from './text'

  export default {
    components: {
      markdownEditor,
    },
    data() {
      return {
        text,
      }
    },
    methods: {},
  }
</script>

Package Sidebar

Install

npm i @halobear/vue-markdown-it

Weekly Downloads

3

Version

1.1.1

License

ISC

Unpacked Size

1.18 MB

Total Files

16

Last publish

Collaborators

  • luzhongk
  • v_yan_v
  • wtwei