English | 中文
Vue Markdown Design is an out-of-the-box Markdown rendering component for Vue 3, built on markdown-it.
🚀 Core - Real-time Markdown rendering, table of contents generation, and full-text search
📦 Builtins - Includes commonly used Markdown features such as emoji, permalinks, and syntax highlighting
🎨 Theming - Replaceable Markdown themes and component styles configurable via CSS variables
🔌 Plugins - Compatible with markdown-it plugins for flexible extensibility
📱 Responsive - Optimized for both desktop and mobile with responsive layouts
🧩 Modular - Import core features on demand and compose components for flexible layouts
🛡️ Security - HTML sanitization is enabled by default to mitigate XSS and other attacks
📋 Typings - Written in TypeScript with complete type definitions
npm i vue-markdown-design// main.js
// Import component
import VueMarkdown from 'vue-markdown-design'
import { createApp } from 'vue'
const app = createApp()
// Register component
app.use(VueMarkdown)
app.mount('#app')<!-- App.vue -->
<vue-markdown :src="`# Title\nContent`" />For detailed documentation, visit https://markdown-design.pages.dev.
Released under the MIT license.