dprint / dprint-plugin-markdown

Markdown code formatting plugin for dprint.
MIT License
28 stars 9 forks source link

MDX support #93

Open scarf005 opened 1 year ago

scarf005 commented 1 year ago

from: https://github.com/denoland/deno/issues/20383

I'm interested in writing this plugin. It'd be really helpful if i could get a pointer on where to start.

dsherret commented 12 months ago

@scarf005 A contribution for this would be very welcome! I'm not sure what mdx entails, but most likely it should be within the markdown plugin and be turned on when the file type is .mdx. Then perhaps those sections could be formatted by calling out to the typescript plugin. I'm going to transfer this issue there.