MarkdownPage #
One Markdown page on disk.
Fields #
filestring
Absolute path of the Markdown file.
sourcePathstring
Path relative to the source root, for example /guide/intro.md.
pagePathstring
Source path after rewrites, for example /intro.md; the same as
sourcePath when no rule moves the page.
routePathstring
Public route path of the page, for example /guide/intro.
Full type signature
TypeScript
interface MarkdownPage {
file: string
sourcePath: string
pagePath: string
routePath: string
}

Comments