Creating internal links in Gatsby MDX files
— 1 min read
<Link />component is for linking between pages within your site. For external links to pages not handled by your Gatsby site, use the regular HTML
This pre-fetches resources providing fast performance. You can Read more about
an example of using
<Link> in your blog in an MDX file:
lines 1 -4 are "front matter" This fields can vary depending on your theme.
line 6 imports link just like we would in a js file.
line 10 is the internal link. You can use as many as you need per page