ExpandedMarkdownSource #

A page source with includes and snippets written out, and where each line came from.

Fields #

sourcestring

The page source with every include and snippet written out.

dependenciesstring[]

Absolute paths of every file the expanded source was read from, the page excluded.

lineOriginsnumber[]

For each line of source, the 1-based line of the page file it comes from. Lines written by an include or a snippet point at that directive.

Full type signature
TypeScript
interface ExpandedMarkdownSource {
  source: string
  dependencies: string[]
  lineOrigins: number[]
}

Edit this page

Comments