Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/contentlayerdev/contentlayer
/ contentlayer.config.ts
File
contentlayer.config.ts
examples/archive/starter/contentlayer.config.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ defineDocumentType, makeSource } from
'contentlayer/source-files'
2
import
highlight from
'rehype-highlight'
3
4
export
const
Post = defineDocumentType(() => ({
Callers
nothing calls this directly
Calls
2
defineDocumentType
Function · 0.90
makeSource
Function · 0.90
Tested by
no test coverage detected