mdx-js / mdx

Markdown for the component era
https://mdxjs.com
MIT License
17.72k stars 1.14k forks source link

Packages names in MDX file with versions converted to mailto link (i.e. @mdx-js/mdx@1.6.21) #2283

Closed dnim closed 1 year ago

dnim commented 1 year ago

Initial checklist

Affected packages and versions

1.6.21

Link to runnable example

No response

Steps to reproduce

Screenshot 2023-04-05 at 09 47 17

Expected behavior

Actual behavior

Runtime

Node v18, Node v16

Package manager

npm v8, npm v6

OS

macOS

Build and bundle tools

webpack

wooorm commented 1 year ago

Hi! MDX 0 and 1 have bugs and are unmaintained. Use MDX 2. Or use `code`

dnim commented 1 year ago

Hi! MDX 0 and 1 have bugs and are unmaintained. Use MDX 2. Or use `code`

Hi! Thanks for the super fast reply. Thanks for good advise. Unfortunately we using Docusaurus that using MDX v1 so though maybe it will be possible to provide some fix :)

ChristianMurphy commented 1 year ago

Docusaurus can leverage MDX 2. As of today you can use https://github.com/pomber/docusaurus-mdx-2 Or you can help with https://github.com/facebook/docusaurus/issues/4029