The parser already excludes anchor links, such as #main but includes root-relative and page-relative urls.
These likely don't need to be translated, and probably shouldn't be.
These probably shouldn't usually exist in the source-content, but have benefits, such as being untranslated after this change.
The parser already excludes anchor links, such as
#main
but includes root-relative and page-relative urls.These likely don't need to be translated, and probably shouldn't be. These probably shouldn't usually exist in the source-content, but have benefits, such as being untranslated after this change.
Example changes included.
How to test the changes in this Pull Request:
yarn build:patterns