/markdown-to-jsx-vue3

Primary LanguageTypeScriptMIT LicenseMIT

markdown-to-jsx-vue3

Fork markdown-to-jsx.

The most lightweight, customizable Vue3 markdown component, using Vue 3 SFC or TSX.

The component props is same as markdown-to-jsx.

Example

<template>
  <Markdown># Hello world! </Markdown>
</template>

<script setup>
import Markdown from "markdown-to-jsx-vue3";
</script>
import Markdown from "markdown-to-jsx-vue3";

defineComponent({
  setup() {
    return () => <Markdown># Hello world! </Markdown>
  }
})