Milkdown / milkdown

🍼 Plugin driven WYSIWYG markdown editor framework.
https://milkdown.dev
MIT License
8.77k stars 385 forks source link

[RFC] MDX support. #921

Open Saul-Mirone opened 1 year ago

Saul-Mirone commented 1 year ago

Motivation

MDX is widely used now and it can help us to leverage awesome components built by different frameworks.

API

import { Counter, Image } from 'your-awesome-component'

Editor.make()
  .config((ctx) => {
    ctx.set(mdxMap, {
      counter: Counter,
      image: Image
    })
  })
  .use(mdx)
  .create();

WIP...

kesuskim commented 9 months ago

hello :) what is current progress of this issue? I want to contribute here.