Open external links in a new tab

Sets openLinksInNewTab: true on the CrawlLinks transformer so readers
don't lose their place in the docs when they follow a citation.
This commit is contained in:
Padreug 2026-05-20 15:32:06 +02:00
commit dde60746ab

View file

@ -67,7 +67,7 @@ const config: QuartzConfig = {
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest", openLinksInNewTab: true }),
Plugin.Description(),
Plugin.Latex({ renderEngine: "katex" }),
],