global_id | title | nav_title | excerpt |
---|---|---|---|
Contentlayer Documentation |
Documentation |
Contentlayer is a content preprocessor that validates and transforms your content into type-safe JSON you can easily import into your application. |
Contentlayer is a content preprocessor that validates and transforms your content into type-safe JSON you can easily import into your application.
Contentlayer lets you choose the source for your content. Currently only local file source is officially supported.
Sources that are supported, planned, or being considered:
- <ChevronLink label="Local Files" url="/docs/sources/files" />
- <ChevronLink label="Contentful" url="/docs/sources/contentful" />
- <ChevronLink label="Sanity" url="/docs/sources/sanity" />
- <ChevronLink label="Notion" url="/docs/sources/notion" />
Contentlayer supports a tight integration with Next.js. Other environment support is coming soon.
Frameworks that are supported, planned, or being considered:
- <ChevronLink label="Local Files" url="/docs/environments/nextjs" />
- <ChevronLink label="Contentful" url="/docs/environments/remix" />
- <ChevronLink label="Sanity" url="/docs/environments/svelte" />
- <ChevronLink label="Notion" url="/docs/environments/astro" />
Technical API reference for Contentlayer, the CLI, and associated plugins.
-
-
-