Convert Markdown & CMS Content Into Type-Safe JSON

Опубликовано: 07 Май 2022
на канале: Learn With Jason
2,790
69

Contentlayer is an SDK that transforms content from any source (including Markdown) into type-safe JSON. Johannes Schickling will teach us how it works and how we can use it in our own projects.

0:00:00 - Welcome
0:00:38 - Who is Johannes Schickling?
0:04:57 - Writing in Markdown
0:12:17 - Is Prisma an ORM or is it something else?
0:22:28 - How do I get started with content layer?
0:32:59 - Checking out the ContentLayer docs
0:48:40 - Trying ContentLayer generated content
0:58:45 - Bringing a React component into the content
1:12:35 - Generating the pages
1:24:46 - Where can people find out more about ContentLayer?

Links

demo: https://nextjs-contentlayer-mdx.netli...

repo: https://github.com/learnwithjason/nex...

https://www.learnwithjason.dev/topic/...

https://100soft.shop/products/dumpste...

https://www.contentlayer.dev/docs

https://github.com/contentlayerdev/co...

https://www.contentlayer.dev/

Watch future episodes live at   / jlengstorf  

This episode was sponsored by:
Netlify (https://lwj.dev/netlify)
Nx (https://lwj.dev/nx)
Backlight (https://lwj.dev/backlight)

Live transcription by White Coat Captioning (https://whitecoatcaptioning.com/)

Credits:

Local Elevator by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Source: http://incompetech.com/music/royalty-...
Artist: http://incompetech.com/

Busybody by Audionautix is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Artist: http://audionautix.com/

Additional sound effects obtained from https://www.zapsplat.com