You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have multiple document projects, and we want to link each other with simple markdown link syntax, but currently all links starting with slash are considered in current document project which results unexpected behavior.
We can not use http:// like links because those websites are expected to be deployed under multiple hostnames. IPs, domains, etc.
What does the proposed API look like?
Add a new option like externalLinkPrefixes: string[]:
What problem does this feature solve?
We have multiple document projects, and we want to link each other with simple markdown link syntax, but currently all links starting with slash are considered in current document project which results unexpected behavior.
We can not use
http://
like links because those websites are expected to be deployed under multiple hostnames. IPs, domains, etc.What does the proposed API look like?
Add a new option like
externalLinkPrefixes: string[]
:And then handle these link prefixes at
rspress/packages/theme-default/src/layout/DocLayout/docComponents/link.tsx
Line 19 in 5309967
The text was updated successfully, but these errors were encountered: