Skip to content

comarkdown/markdown-it-comark

Repository files navigation

@comark/markdown-it

npm version npm downloads bundle JSDocs License

Comark (Component in Markdown) for markdown-it.

Use VS Code MDC Extension for IDE support.

Usage

npm i markdown-it @comark/markdown-it
import comark from '@comark/markdown-it'
import MarkdownIt from 'markdown-it'

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

const result = md.render(`
# Hello

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

Features

This plugin implements all the syntaxes documented in Comark Syntax. We are still testing behavior compatibility in detail before reaching v1.0.0.

License

Made with ❤️

Published under MIT License.

Credits

❤️ This project was originally created by Anthony Fu in 2022. Special thanks for the amazing work and inspiration! 🙏✨

About

MDC (Markdown Components) syntax for markdown-it.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors