ExampleAccessor
interfaceinterface ExampleAccessorScoped API returned by example(id) inside guide templates.
PROPERTIES
| NAME | TYPE | DESCRIPTION |
|---|---|---|
| description? | string | The example's description. |
| files | ExampleFile[] | All files in the example. |
| metadata | Record<string, unknown> | The example's metadata. |
| title | string | The example's title. |
METHODS
file(relativePath: string): FileAccessorReturn a chainable FileAccessor for a file.
region(regionId: string): stringRender a region/hunk as a fenced code block (throws if ambiguous).