PageLinks #

Links and heading IDs of one page, as seen by the dead link checker.

Fields #

routestring

Public route of the page, for example /guide/intro.

sourcestring

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

headingsreadonly string[]

Anchor IDs of every heading on the page, from h1 to h6.

linksreadonly LinkRecord[]

Internal links written in the page.

Full type signature
TypeScript
interface PageLinks {
  route: string
  source: string
  headings: readonly string[]
  links: readonly LinkRecord[]
}

Edit this page

Comments