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
Is your feature request related to a problem? Please describe.
Now Island.js set target: _blank for every external urls (start with http:// or https://), but sometimes we don't want to open a new tab for some links.So we should improve the extensibility of this function.
Describe the solution you'd like
For example, we can expose the config:
{markdown: {// The link in this list will not open a new window after clicktargetBlankWhiteList: []}}
Now in Island.js,the target: _blank will be attached by rehype-external-links, so we can implement it through it.
Is your feature request related to a problem? Please describe.
Now Island.js set
target: _blank
for every external urls (start withhttp://
orhttps://
), but sometimes we don't want to open a new tab for some links.So we should improve the extensibility of this function.Describe the solution you'd like
For example, we can expose the config:
Now in Island.js,the
target: _blank
will be attached byrehype-external-links
, so we can implement it through it.Describe alternatives you've considered
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: