DeadLink #

An internal link that points at nothing.

Fields #

hrefstring

Original href from the Markdown source, for example ./intro.md#setup.

targetstring

Public route or public file path without the site base, including search and hash.

sourcestring

Source path relative to srcDir, for example /guide/intro.md.

linenumber

1-based line number of the Markdown block that contains the link.

reasonDeadLinkReason

Why the link is dead.

Full type signature
TypeScript
interface DeadLink {
  href: string
  target: string
  source: string
  line: number
  reason: DeadLinkReason
}

Edit this page

Comments