No description
Find a file
2026-02-14 02:13:12 +01:00
.github/workflows Initial commit 2026-02-13 21:41:03 +01:00
src feat: extract crawl links transformer from Quartz core 2026-02-13 22:31:24 +01:00
.eslintrc.json Initial commit 2026-02-13 21:41:03 +01:00
.gitignore Initial commit 2026-02-13 21:41:03 +01:00
.prettierrc Initial commit 2026-02-13 21:41:03 +01:00
CHANGELOG.md Initial commit 2026-02-13 21:41:03 +01:00
LICENSE Initial commit 2026-02-13 21:41:03 +01:00
package-lock.json chore: update @quartz-community/types to v0.2.1 2026-02-13 22:55:43 +01:00
package.json feat: extract crawl links transformer from Quartz core 2026-02-13 22:31:24 +01:00
README.md docs: add plugin README 2026-02-14 02:13:12 +01:00
tsconfig.json Initial commit 2026-02-13 21:41:03 +01:00
tsup.config.ts feat: extract crawl links transformer from Quartz core 2026-02-13 22:31:24 +01:00
vitest.config.ts Initial commit 2026-02-13 21:41:03 +01:00

@quartz-community/crawl-links

Processes and resolves internal and external links, tracks outgoing links, and optionally adds external link icons.

Installation

npx quartz plugin add github:quartz-community/crawl-links

Usage

// quartz.config.ts
import * as ExternalPlugin from "./.quartz/plugins";

const config: QuartzConfig = {
  plugins: {
    transformers: [ExternalPlugin.CrawlLinks()],
  },
};

Configuration

Option Type Default Description
markdownLinkResolution "absolute" | "relative" | "shortest" "absolute" How to resolve internal links.
prettyLinks boolean true Whether to use pretty links.
openLinksInNewTab boolean false Whether to open links in a new tab.
lazyLoad boolean false Whether to lazy load links.
externalLinkIcon boolean true Whether to add an external link icon.

Documentation

See the Quartz documentation for more information.

License

MIT