We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c43af63 commit 3ca2bf4Copy full SHA for 3ca2bf4
website/src/lib/unified/remark-resolve-relative-links/index.ts
@@ -14,9 +14,7 @@ const remarkResolveRelativeLinks: Plugin<[Options]> = ({ resolver }) => {
14
const visitor = (link: Link) => {
15
// only handle relative links
16
if (!relativeLinkRegex.test(link.url)) { return }
17
- console.log('old', link.url)
18
link.url = resolver(link.url)
19
- console.log('new', link.url)
20
}
21
22
visit(ast, 'link', visitor)
0 commit comments