update comments

pull/3400/head
Divyansh Singh 2 years ago
parent a019a9dffe
commit 2167a2eb10

@ -43,9 +43,9 @@ export const linkPlugin = (
const { pathname, protocol } = new URL(url, 'http://a.com')
if (
// skip on internal anchor links
// skip internal anchor links
!url.startsWith('#') &&
// skip on mail/custom protocol links
// skip mail/custom protocol links
protocol.startsWith('http') &&
// skip links to files (other than html/md)
treatAsHtml(pathname)

Loading…
Cancel
Save