Skip to content

Latest commit

 

History

History
81 lines (64 loc) · 2.65 KB

index.mdx

File metadata and controls

81 lines (64 loc) · 2.65 KB
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.


Sources

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" />

Environments

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" />

Reference

Technical API reference for Contentlayer, the CLI, and associated plugins.
- - -