Nuxt/examples/markdownit/plugins/md-it.js

6 lines
111 B
JavaScript
Raw Normal View History

2017-11-27 03:30:20 +00:00
import MarkdownIt from 'markdown-it'
export default ({ app }, inject) => {
inject('md', new MarkdownIt())
}