pbclife / gitopener.vercel.app

Git Opener is a learning web app if you are looking forward to get started with open source then you are in right place. Please read contribution guideline.
https://gitopener.vercel.app
MIT License
49 stars 32 forks source link

Feat: Add a custom rehype plugin that differentiates between external & internal links #79

Open sboy99 opened 1 year ago

sboy99 commented 1 year ago

Description

The issue is about creating a custom plugin that identifies internal and external type by string matching. Then it should wrap internal links with next Link component & for external links the link should open in a new tab.

Steps

Screenshots

N/A

Additional Information

This feature will improve documentation experience. And will prevent unnecessary link opening and also will leverage the power of next Link component.