1.3.13 • Published 5 years ago

@mathssyfy/plugin-markdown v1.3.13

Weekly downloads
26
License
MIT
Repository
github
Last release
5 years ago

@mathssyfy/plugin-markdown

Description

Plugin Markdown for Nuxt or Vue

Installation

yarn add @mathssyfy/plugin-markdon

Usage

Pour Nuxt:

  • Dans nuxt.config.js:
      css: [
      ...
      '@mathssyfy/plugin-markdown/lib/theme.css',
      ...
    ],
  • Dans une vue:

    <script>
    import Markdown from '@mathssyfy/plugin-markdown'
    export default {
     components: {
       Markdown
     },
    }
    </script>
    <markdown>

Un titre

blabla

...

Inspiré de Vuepress et de vue-markdown:

+ [Vuepress](https://vuepress.vuejs.org/)
+ [vue-markdown](https://github.com/miaolz123/vue-markdown)