Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 674 Bytes

File metadata and controls

27 lines (17 loc) · 674 Bytes

vue-github-markdown-editor

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.

Usage

<template>

    <markdowneditor :initialContent="initialContent" />

</template>

<script setup lang="ts">

import markdowneditor from '@/components/markdowneditor.vue';

const initialContent = 'Some content updated';

</script>

Preview

image