IndexTemplateData
interfaceinterface IndexTemplateDataData model for aggregate (index) templates.
PROPERTIES
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| examples | { description?: string; id: string; title: string }[] | β |
| format | string | β |
| helpers | { codeBlock: (contents: string, language?: string, attributes?: Record<string, string>) => string; createFileAccessor: (file: ExampleFile, title?: string) => FileAccessor; filesByExt: (files: ExampleFile[], ext: string) => ExampleFile[]; hunkDescription: (metadata: Record<string, unknown>, hunkId: string) => string | undefined; isProseFile: (file: ExampleFile) => boolean; langFromPath: (filePath: string) => string; region: (files: ExampleFile[], regionId: string) => { content: string; file: ExampleFile } | undefined; slugify: (text: string) => string } | β |