diff --git a/docs/docs/gatsby-link.md b/docs/docs/gatsby-link.md index da276fe3a49cb..3529be58c9f66 100644 --- a/docs/docs/gatsby-link.md +++ b/docs/docs/gatsby-link.md @@ -93,9 +93,9 @@ You can read more about it on [`@reach/router`'s documentation](https://reach.te ### Show active styles for partially matched and parent links -By default the `activeStyle` and `activeClassName` props will only be set on a `` component if the current URL matches its `to` prop _exactly_. Sometimes, we may want to style a `` as active even if it partially matches the current URL. For example: +By default the `activeStyle` and `activeClassName` props will only be set on a `` component if the current URL matches its `to` prop _exactly_. Sometimes, you may want to style a `` as active even if it partially matches the current URL. For example: -- We may want `/blog/hello-world` to match `` +- You may want `/blog/hello-world` to match `` - Or `/gatsby-link/#passing-state-through-link-and-navigate` to match `` In instances like these, just add the `partiallyActive` prop to your `` component and the style will also be applied even if the `to` prop only is a partial match: