profile
viewpoint

Ask questionsUse remark-external-links as dependency

Hello, I'm the creator of remark-external-links

Why not require the official plugin as a dependency and do not rewrite it ? There are some officials plugins using this feature: https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-remark-custom-blocks/src/index.js

JLongley/gatsby-remark-external-links

Answer questions zslabs

@karlhorky FWIW, I switched to MDX recently and wrote my own logic to handle both internal and external links https://github.com/zslabs/zslabs.com/blob/master/src/components/mdxShortcodes.js#L17

useful!

Related questions

No questions were found.
Github User Rank List