Merge pull request #1001 from eltociear/patch-1
chore: update release-of-tailwind-nextjs-starter-blog-v2.0.mdx
This commit is contained in:
commit
81fd4bef53
@ -51,7 +51,7 @@ Typescript is also a perfect match with our new type-safe markdown processor - C
|
||||
|
||||
[Contentlayer](https://www.contentlayer.dev/) is a content SDK that validates and transforms your content into type-safe JSON data that you can easily import into your application. It makes working with local markdown or MDX files a breeze. This replaces `MDX-bundler` and our own markdown processing workflow.
|
||||
|
||||
First, a content source is defined, specifiying the name of the document type, the source where it is located along with the frontmatter fields and any additional computed fields that should be generated as part of the process.
|
||||
First, a content source is defined, specifying the name of the document type, the source where it is located along with the frontmatter fields and any additional computed fields that should be generated as part of the process.
|
||||
|
||||
```ts:contentlayer.config.ts
|
||||
export const Blog = defineDocumentType(() => ({
|
||||
|
Loading…
x
Reference in New Issue
Block a user