markdown-it-mdc

Markdown Components (MDC) support for markdown-it
1,264,498 152
Install
npm install markdown-it-mdc
Latest Version:0.2.12
License:MIT
Last Updated:Oct 17, 2026
Links: GitHub  ·  npm
Maintainer: antfu

markdown-it-mdc

npm version npm downloads bundle JSDocs License

MDC (Markdown Components) for markdown-it.

Use VS Code MDC Extension for IDE support.

Usage

npm i markdown-it markdown-it-mdc
import MarkdownIt from 'markdown-it'
import pluginMdc from 'markdown-it-mdc'

const md = new MarkdownIt()
  .use(pluginMdc)

const result = md.render(`
# Hello

Hello **World** with :my-component{.text-red name="foo"}!
`)

Features

This plugin implements all the syntaxes documented in MDC Syntax. We are still testing behavior compatibility in detail before reaching v0.1.0.

Sponsors

License

MIT License © 2022 Anthony Fu

Related Packages

markdown-it-hz

针对海致科技专门需求的改造

4,871 373
@nuxtjs/markdownit-loader

Webpack loader to translate markdown to HTML using markdownit.

325,518 11
@cocoar/vue-markdown-core

Core markdown parsing utilities for @cocoar/vue-markdown

15,079 0
kokk

A beautiful way to create a documentation from markdown, and insert a vue compon...

10,142 49

Version History

Version Released License
0.2.12 MIT
0.2.10 MIT
0.2.9 MIT
0.2.8 MIT
0.2.6 MIT