nuxt-themes / docus

Write beautiful documentations with Nuxt and Markdown.
https://docus.dev
MIT License
1.59k stars 156 forks source link

yarn -> pnpm #943

Open danielroe opened 1 year ago

danielroe commented 1 year ago

Would be nice to have something like this for automatic yarn/pnpm/npm conversions:

https://github.com/the-guild-org/docs/tree/main/packages/remark-npm2yarn

I'm not sure we can use it directly as it creates MDX but maybe worth creating an issue/discussion first to see if we can have a single remark plugin rather than a separate one for MDC.

atinux commented 1 year ago

What do you think @farnabaz ?

danielroe commented 1 year ago

And he would be keen to collaborate: https://twitter.com/B2o5T/status/1679470261475704832

atinux commented 1 year ago

I am in between since it forces to give the package name directly at build time though where we have the ::code-group working at runtime 🤔

farnabaz commented 1 year ago

I'm not sure about contributing to this package. Also we can add option to this plugin and generate a MDC flavoured AST but it would be like having two different plugins under the same name with and option.