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.
contentlayer.dev/blog/beta
Contentlayer 0.3.4:
◆ Support for esbuild 0.18
◆ Added `aspectRatio` to image field data
◆ Various bug fixes & upgraded dependencies
github.com/contentlayerdev/c…
Contentlayer 0.3.3:
◆ `onSuccess` callback (e.g. for validation/scripting)
◆ Improved support for non-latin alphabets
◆ Fixed bugs & upgraded dependencies
github.com/contentlayerdev/c…
Replying to @ericclemmons
Historically rather the other way around 😇
Contentlayer retweeted
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:
Contentlayer 0.3.2:
◆ Improved Next.js & TypeScript integration
◆ Support for `next export`
◆ Fixed bugs & upgraded dependencies
github.com/contentlayerdev/c…
Contentlayer retweeted
@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 🤯
Contentlayer retweeted
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:
github.com/contentlayerdev/c…
Contentlayer 0.3.1:
◆ React Server Components (RSC) support
◆ Dynamic content fetching (experimental)
◆ Fixed bugs & upgraded dependencies (Next.js 13.2)
github.com/contentlayerdev/c…
Contentlayer 0.3.0:
◆ New content source: Remote files (experimental)
◆ Smoother TS support via `defineFields` utilities
◆ Fixed bugs & upgraded dependencies (esbuild 0.17)
github.com/contentlayerdev/c…
Contentlayer 0.2.9:
◆ Support for Next.js 13 (RSC not yet supported)
◆ Improved types for `useMDXComponent`
◆ Upgraded dependencies
github.com/contentlayerdev/c…
Replying to @mattrothenberg
Not yet but hopefully soon - just a matter of prioritization.
Contentlayer retweeted
is anyone working on building a GUI on top of @contentlayerdev ? huge opportunity IMO
Contentlayer 0.2.8:
◆ Improved monorepo support (incl. Turbo, npm, ...)
◆ More list field types
◆ Various bug fixes & improvements
github.com/contentlayerdev/c…
That’s exactly what Contentlayer does. Feel free to check out this example: github.com/contentlayerdev/n…
Contentlayer retweeted
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/jasonkuhrt/websit…
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! 🙏
github.com/contentlayerdev/c…
Contentlayer 0.2.6:
◆ Improved compatibility with PNPM
◆ Updated dependencies
◆ Various bug fixes & improvements
Big thanks to all contributors! 🙏
github.com/contentlayerdev/c…
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 📑
code.visualstudio.com/update…
Contentlayer 0.2.5:
◆ More flexible Markdown/MDX processing
◆ Better error messages
◆ Various bug fixes & improvements
Big thanks to all contributors! 🙏
github.com/contentlayerdev/c…







