v-markdown-directive
v1.0.4
Published
vue directive plugin to parse markdown into html
Downloads
144
Maintainers
Readme
v-markdown-directive
Markdown parser for Vue.js
Install
import markdown from "v-markdown-directive";
const app = createApp(App);
app.use(markdown);
app.mount("#app");
Usage
<template>
<div v-markdown="markdown" />
</template>
<script setup>
import { ref } from 'vue'
const markdown = ref('# Hello World')
</script>