Entry
import type { Entry } from "@pitlane/content";One entry of a collection, as a caller sees it.
Type Parameters
Data
Data
Properties
collection
collection: string;data
data: Data;filePath?
optional filePath?: string;id
id: string;Methods
render()
render(): Promise<RenderedEntry>;Renders the entry's Markdown or MDX body, from the build's compiled
output when contentLayer() prebuilt it and from source otherwise.
Rejects for an entry its loader gave no body.
Returns
Promise<RenderedEntry>