Markdown with Components
Fast, streaming-ready markdown parser with full MDC (Markdown Component) syntax support.
Built for modern applications with TypeScript, Vue 3, React, and real-time streaming capabilities.
Simple to use, powerful features
Install with npm and start parsing markdown in seconds
<script setup>
import { MDC } from 'mdc-syntax/vue'
const markdown = `# Hello **World**`
</script>
<template>
<MDC :markdown="markdown" />
</template>Zero Config
Works out of the box with sensible defaults
Type Safe
Full TypeScript support with type definitions
Framework Agnostic
Use with React, Vue, or vanilla JavaScript
Everything you need for modern content parsing
Typography
MDC supports typography out of the box, so you get things like headings, paragraphs, and more.
Caret Indicator
Show a caret indicator while streaming content.
GitHub Flavored Markdown
MDC supports GitHub Flavored Markdown (GFM) out of the box, so you get things like task lists, tables, and more.
Code Block
MDC supports code blocks out of the box, so you get things like syntax highlighting, line numbers, and more.
Math Support for MDC
MDC supports math support out of the box, so you get things like inline and block math, even with complex math expressions.
CJK Language Support
MDC supports CJK language support out of the box, so you get things like emphasis in Chinese, Japanese, and Korean text, even with ideographic punctuation.