how to realtime preview markdown content? #4122
xiangnanscu
started this conversation in
General
Replies: 1 comment 1 reply
-
example, in an page component, then <script setup>
const markdownContent = ref("");
</script>
<template>
<a-row>
<a-col>
<textarea v-model="markdownContent"></textarea>
</a-col>
<a-col>
<MarkdownRender :content="markdownContent"></MarkdownRender>
</a-col>
</a-row>
</template>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to write a page for creating blog. Left section is a textarea I input markdown, right section is the preview. I've tried many packages but none meets my need.
Beta Was this translation helpful? Give feedback.
All reactions