1.0.0 • Published 6 years ago

vue-remarkable v1.0.0

Weekly downloads
128
License
MIT
Repository
-
Last release
6 years ago

Build Status codebeat badge GitHub open issues npm version MIT License

Vue component for rendering Markdown with remarkable.

Demo

Vue Remarkable

Installation

yarn add vue-remarkable

npm install --save vue-remarkable

Usage

import vueRemarkable from 'vue-remarkable';

export default {
  components: {
    vueRemarkable
  }
}
<vue-remarkable>
{{`
# Vue is awesome 
# h1 Heading
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading
`}}
</vue-remarkable>

<!-- or -->

<vue-remarkable :source="`
# Vue is awesome 
# h1 Heading
## h2 Heading
### h3 Heading
#### h4 Heading
##### h5 Heading
###### h6 Heading
`"/>

Props

PropertyTypeDefault
sourceString
containerStringdiv
class-nameString
optionsObject{}

License

MIT © katalonne