You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both of these plugins are marked as deprecated and the maintainer (who also maintains MDX) advices to switch to their rehype equivalent instead, rehype-slug and rehype-external-links.
If it doesn't produce any breaking changes, we should switch them over.
Additional context
remark-slug is used to automaticall add id to headings, which will create the link functionality to headings. That functionality should be preserved.
remark-external-links adds target="_blank" to all external links.
The text was updated successfully, but these errors were encountered:
JReinhold
changed the title
Upgrade remark-slug and remark-external-links are deprecatedremark-slug and remark-external-links are deprecated
Mar 30, 2023
We use two remark plugins to support our MDX functionality in
addon-docs
andbuilder-vite
:remark-slug
remark-external-links
Both of these plugins are marked as deprecated and the maintainer (who also maintains MDX) advices to switch to their rehype equivalent instead,
rehype-slug
andrehype-external-links
.If it doesn't produce any breaking changes, we should switch them over.
Additional context
remark-slug
is used to automaticall addid
to headings, which will create the link functionality to headings. That functionality should be preserved.remark-external-links
addstarget="_blank"
to all external links.The text was updated successfully, but these errors were encountered: