New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

markdown-it-mdc

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-it-mdc

Markdown Components (MDC) support for markdown-it

latest
Source
npmnpm
Version
0.2.12
Version published
Weekly downloads
25K
42.86%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

markdown

FAQs

Package last updated on 17 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts