Contentlayer
@contentlayerdev
Followers
2K
Following
65
Media
9
Statuses
43
Content made easy for developers. A project by @stackbit / @netlify.
Edge Network
Joined March 2022
Working with content (Markdown files, CMS, ...) is surprisingly difficult when developing modern sites. Contentlayer (now in beta) is a content SDK which aims to make content easy for developers with a focus on great DX & performance. https://t.co/wU3bzZH4Bh
contentlayer.dev
Working with content data (e.g. Markdown files or CMS) is a surprisingly difficult and laborious task when developing modern sites (e.g. with Next.js). Contentlayer is a content SDK that aims to make...
8
67
349
Contentlayer 0.3.4: ◆ Support for esbuild 0.18 ◆ Added `aspectRatio` to image field data ◆ Various bug fixes & upgraded dependencies https://t.co/vXkKImEAvd
github.com
ℹ️ [TLDR] Many smaller bug fixes, improvements and updated dependencies Improvements Added aspectRatio property to ImageFieldData for type: image fields Added images example Support for esbuild 0....
0
0
12
Contentlayer 0.3.3: ◆ `onSuccess` callback (e.g. for validation/scripting) ◆ Improved support for non-latin alphabets ◆ Fixed bugs & upgraded dependencies https://t.co/fSg4ZjvrlE
github.com
ℹ️ [TLDR] New onSuccess callback that runs after completing a build successfully ✨ onSuccess Callback A new callback will now be called when a successful build has completed. The callback function ...
0
1
10
Love @contentlayerdev for simplifying the MDX ecosystem! Fewer packages, and works great with Server Components and App Router (kudos to @schickling 🦸🏼) Define your content schema & MDX Components → Get typesafe data. Custom fields power most of our features, a rough overview:
3
3
44
Contentlayer 0.3.2: ◆ Improved Next.js & TypeScript integration ◆ Support for `next export` ◆ Fixed bugs & upgraded dependencies https://t.co/p27jaCcvmw
github.com
ℹ️ [TLDR] Bug fixes for next dev, Support for next export, bug fixes and updated dependencies Improved next-contentlayer integration As part of 0.3.2 we've overhauled the next-contentlayer inte...
0
2
20
@contentlayerdev was a godsend when it comes to writing blog posts with Markdown/MDX. The best part? Hot Module Replacement (HMR) 😍 On each save, changes are compiled & reflected in the UI instantaneously 🤯
3
4
32
You want to use Notion as a Headless CMS? I've released the Alpha of the Notion implementation for @contentlayerdev. I'm looking for alpha-testers: https://t.co/AqqaMSPx6u
github.com
🚧 This is a work in progress Supports for Notion This pull request implements Notion as a content source. Related issues Support Notion as a content source #174 Context Notion is becoming a stand...
0
1
6
Contentlayer 0.3.1: ◆ React Server Components (RSC) support ◆ Dynamic content fetching (experimental) ◆ Fixed bugs & upgraded dependencies (Next.js 13.2) https://t.co/F2vg4ZQPZC
github.com
ℹ️ [TLDR] React Server Components support, Dynamic content fetching (experimental), updated dependencies, bug fixes React Server Components (RSC) support We're super excited to announce that Co...
1
3
48
Contentlayer 0.3.0: ◆ New content source: Remote files (experimental) ◆ Smoother TS support via `defineFields` utilities ◆ Fixed bugs & upgraded dependencies (esbuild 0.17) https://t.co/aD4rcbeWVH
github.com
ℹ️ [TLDR] New experimental source and required peer dependency update. ⚠️ Breaking Change: Updated esbuild Dependency 0.3.0 requires use of esbuild 0.17.0. You may need to update peer dependencies ...
1
1
18
Contentlayer 0.2.9: ◆ Support for Next.js 13 (RSC not yet supported) ◆ Improved types for `useMDXComponent` ◆ Upgraded dependencies https://t.co/rWFiP4B1Ee
github.com
Changes Next.js 13 Support Slightly delayed (sorry about that) Contentlayer now finally supports the Next.js version 13. Things should work just as they did before when using getStaticProps. 🚀...
3
1
23
is anyone working on building a GUI on top of @contentlayerdev ? huge opportunity IMO
1
1
3
Contentlayer 0.2.8: ◆ Improved monorepo support (incl. Turbo, npm, ...) ◆ More list field types ◆ Various bug fixes & improvements https://t.co/wVys64JruQ
github.com
ℹ️ [TLDR] 0.2.8 improves list fields, field validations and error handling, type safety, and monorepo support. ✨ Improved Monorepo Support When accessing documents outside the directory that contai...
0
2
17
Trying out @contentlayerdev for my personal website content and loving it so far! Highly recommend giving it a spin if you're a developer. Just Data ™️. No abstraction or anything really. Perfect. Here's my PR for example:
github.com
1
1
9
Contentlayer 0.2.7: ◆ New `image` field type incl. blurhash and size support ◆ Support for relative imports in MDX content ◆ Various bug fixes & improvements Big thanks to all contributors! 🙏 https://t.co/SoYaWkBNTk
github.com
ℹ️ [TLDR] 0.2.7 brings experimental support for an image field when using files source. ✨ (Experimental) Support for image Field with Files Source When using source-files as the content source, you...
0
2
16
Contentlayer 0.2.6: ◆ Improved compatibility with PNPM ◆ Updated dependencies ◆ Various bug fixes & improvements Big thanks to all contributors! 🙏 https://t.co/7iQRXNdEvp
github.com
ℹ️ [TLDR] 0.2.6 contains some small improvements and a few bug fixes (e.g. when using PNPM). Changes next-contentlayer: You can now set a custom configPath via createContentlayerPlugin in the Nex...
0
0
15
The latest VSC release includes some really neat features in regards to Markdown editing: ◆ Image drag & drop ◆ Cross-project link & headline refactoring ◆ Find all references to files Check out the release notes 📑 https://t.co/vWWXuwh8sj
0
0
8
Contentlayer 0.2.5: ◆ More flexible Markdown/MDX processing ◆ Better error messages ◆ Various bug fixes & improvements Big thanks to all contributors! 🙏 https://t.co/wOavEoEKfa
github.com
ℹ️ [TLDR] 0.2.5 brings significant flexibility to processing MDX and markdown documents, along with a number of smaller fixes and improvements. ✨ Markdown Processing Contentlayer now supports cust...
0
1
15
Did you miss @schickling teaching us about @contentlayerdev live on LWJ? No worries! Watch highlights from the episode here, then check out the full episode replay https://t.co/AgVbG57rqe
0
3
9
⚠️ Starting in 90 Minutes! ⚠️ @contentlayerdev is an SDK that transforms content from any source (including Markdown) into type-safe JSON. @schickling will teach us how it works and how we can use it in our own projects. ⬇️ Details Here ⬇️ https://t.co/AgVbG56TAG
codetv.dev
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
3
8
Today, I'm starting an in-depth series on Building a Developer Blog with Next.js. Part 1: Turn Freeform MDX Content into Structured Data with @contentlayerdev ◆ Types and helper functions ◆ MDX config in one place ◆ Less fs, glob, path boilerplate https://t.co/4PdADeYEZT
8
14
91