diff --git a/website/docs/docusaurus-core.md b/website/docs/docusaurus-core.md index 6d4ca9bb10..ea580e0092 100644 --- a/website/docs/docusaurus-core.md +++ b/website/docs/docusaurus-core.md @@ -60,6 +60,8 @@ This component enables linking to internal pages as well as a powerful performan The component is a wrapper around react-router’s `` component that adds useful enhancements specific to Docusaurus. All props are passed through to react-router’s `` component. +External links also work, and automatically have these props: `target="_blank" rel="noopener noreferrer"`. + ```jsx {2,7} import React from 'react'; import Link from '@docusaurus/Link'; @@ -70,8 +72,7 @@ const Page = () => ( Check out my blog!
- {/* Note that external links still use `a` tags, but automatically opens in new tab. */} - Follow me on Twitter! + Follow me on Twitter!
);