vue-remarkable
Vue Remarkable
Vue component for rendering Markdown with remarkable.
Demo
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
| Property | Type | Default |
|---|---|---|
| source | String | |
| container | String | div |
| class-name | String | |
| options | Object | {} |
License
MIT © katalonne
Related Packages
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.0 | ^2.6.8 | MIT |