Vue Markdown Design
March 27, 2026 Β· View on GitHub
English | δΈζ
Vue Markdown Design
An out-of-the-box Markdown rendering component for Vue 3, built on markdown-it.
Key Features
π 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
π§ͺ Testing - Achieves 99% coverage in both E2E and unit tests, ensuring component stability and reliability
Quick Start
Installation
npm i vue-markdown-design
Usage
// 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`" />
More
For detailed documentation, visit https://markdown-design.pages.dev.
License
Released under the MIT license.