Vue Markdown Design

March 27, 2026 Β· View on GitHub

English | δΈ­ζ–‡

Vue Markdown Design

NPM Version codecov GitHub License Release

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.