Github Markdown Editor Clone as a Vue Component.
Based on my original interactive cloning experiment here: https://github.com/StuFrankish/jubilant-succotash
Important
You will need to implement your own server-side Markdown to HTML render process to hook getMarkdownPreview
into.
<template>
<markdowneditor :initialContent="initialContent" />
</template>
<script setup lang="ts">
import markdowneditor from '@/components/markdowneditor.vue';
const initialContent = 'Some content updated';
</script>