菜鸟程序员博客

js:Markdown编辑器Vue3版本md-editor-v3

在这里插入图片描述

文档

  • https://github.com/imzbf/md-editor-v3
  • https://imzbf.github.io/md-editor-v3/zh-CN/index

安装

npm install md-editor-v3

使用

<template>
  <MdEditor v-model="text" />
</template>

<script setup>
import { ref } from 'vue';
import { MdEditor } from 'md-editor-v3';
import 'md-editor-v3/lib/style.css';

const text = ref('Hello Editor!');
</script>
« Previous

.Net C# 免费PDF合成软件

Next »

python模块导入及属性:import

© 2024 菜鸟程序员博客. Generated with Hugo and Mainroad theme.