Skip to content

michaelboeyens/v-markdown-directive

Repository files navigation

v-markdown-directive

Security audit Plugin tests

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>