An open API service indexing awesome lists of open source software.

https://github.com/ZeroOneJs/markdown-design

An out-of-the-box Markdown rendering component for Vue 3, built on markdown-it. It provides real-time Markdown rendering, table of contents generation, and full-text search, along with other commonly used features including markdown-it plugins, emoji, permalinks, and TypeScript.
https://github.com/ZeroOneJs/markdown-design

component markdown-it search toc vue-markdown vue3

Last synced: 20 days ago
JSON representation

An out-of-the-box Markdown rendering component for Vue 3, built on markdown-it. It provides real-time Markdown rendering, table of contents generation, and full-text search, along with other commonly used features including markdown-it plugins, emoji, permalinks, and TypeScript.

Awesome Lists containing this project

README

          

English | [δΈ­ζ–‡](./README.zh-CN.md)

# Vue Markdown Design

Vue Markdown Design is an out-of-the-box Markdown rendering component for Vue 3, built on [markdown-it](https://github.com/markdown-it/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

## Quick Start

### Installation

```sh
npm i vue-markdown-design
```

### Usage

```js
// 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')
```

```vue

```

## More

For detailed documentation, visit https://markdown-design.pages.dev.

## License

Released under the [MIT](./LICENSE) license.