All Projects → RyanWarner → next-mdx-digital-garden-starter

RyanWarner / next-mdx-digital-garden-starter

Licence: other
An opinionated starting point for Digital Garden content authoring.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to next-mdx-digital-garden-starter

Nextra
The Next.js Static Site Generator
Stars: ✭ 1,271 (+2442%)
Mutual labels:  nextjs, mdx
Next Js Blog Boilerplate
🚀 Nextjs Blog Boilerplate is starter code for your blog based on Next framework. ⚡️ Made with Nextjs, TypeScript, ESLint, Prettier, PostCSS, Tailwind CSS.
Stars: ✭ 134 (+168%)
Mutual labels:  nextjs, starter
Leerob.io
✨ My portfolio built with Next.js, MDX, Tailwind CSS, and Vercel.
Stars: ✭ 1,369 (+2638%)
Mutual labels:  nextjs, mdx
Egghead Next
The frontend for egghead.io.
Stars: ✭ 896 (+1692%)
Mutual labels:  nextjs, mdx
Next Startd
⚡ Free Next.js landing page template for SaaS products, online services and more.
Stars: ✭ 211 (+322%)
Mutual labels:  nextjs, starter
Next Boilerplate
A well-structured production ready Next.js boilerplate with Typescript, Redux, Jest, Enzyme, Express.js, Sass, Css, EnvConfig, Fetch, Reverse Proxy, Bundle Analyzer and Built-in Project CLI. https://pankod.github.io/next-boilerplate/
Stars: ✭ 936 (+1772%)
Mutual labels:  nextjs, starter
Next Advanced Apollo Starter
Advanced, but minimalistic Next.js pre-configured starter with focus on DX
Stars: ✭ 131 (+162%)
Mutual labels:  nextjs, starter
dogstudio-next-starter
Opinionated Next.js starter by Dogstudio
Stars: ✭ 66 (+32%)
Mutual labels:  nextjs, starter
Typescript Nextjs Starter
TypeScript starter for Next.js that includes all you need to build amazing apps ⚡️
Stars: ✭ 208 (+316%)
Mutual labels:  nextjs, starter
Tailwind Nextjs Starter Blog
This is a Next.js, Tailwind CSS blogging starter template. Comes out of the box configured with the latest technologies to make technical writing a breeze. Easily configurable and customizable. Perfect as a replacement to existing Jekyll and Hugo individual blogs.
Stars: ✭ 166 (+232%)
Mutual labels:  nextjs, mdx
Nextjs Firebase Authentication
Next.js + Firebase Starter
Stars: ✭ 502 (+904%)
Mutual labels:  nextjs, starter
garden
🌱 a place to think about digital gardening
Stars: ✭ 18 (-64%)
Mutual labels:  mdx, digital-garden
Mdx Docs
📝 Document and develop React components with MDX and Next.js
Stars: ✭ 412 (+724%)
Mutual labels:  nextjs, mdx
Blog.hellorusk.net
Tech Blog
Stars: ✭ 28 (-44%)
Mutual labels:  nextjs, mdx
Mastering Nextjs
A free video course for building static and server-side rendered applications with Next.js and React.
Stars: ✭ 256 (+412%)
Mutual labels:  nextjs, mdx
Mdx Embed
Embed 3rd party media content in MDX - no import required 🧽
Stars: ✭ 119 (+138%)
Mutual labels:  nextjs, mdx
blog
Tech Blog (moved to zenn.dev/hellorusk)
Stars: ✭ 29 (-42%)
Mutual labels:  nextjs, mdx
Next-JS-Landing-Page-Starter-Template
🚀 Free NextJS Landing Page Template written in Tailwind CSS 3 and TypeScript ⚡️ Made with developer experience first: Next.js 12 + TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Netlify + PostCSS + Tailwind CSS
Stars: ✭ 521 (+942%)
Mutual labels:  nextjs, starter
Strapi Starter Next Corporate
Next.js starter for creating a corporate site with Strapi.
Stars: ✭ 145 (+190%)
Mutual labels:  nextjs, starter
Mdnext
The opinionated ecosystem for MDX powered NextJS apps for blogs, documentation, and more.
Stars: ✭ 242 (+384%)
Mutual labels:  nextjs, mdx

🌱 Next + MDX Digital Garden Starter

An opinionated starting point for Digital Garden content authoring.

Note: This setup does not handle code-splitting. I tried switching to mdx-bundler but could not get it to work.

Deploy with Vercel

Getting started

npm install
npm run dev

Use

  • Write MDX in the content directory.
  • Put components in the components directory.
  • Use components in MDX (without imports).

Goals

Statically generated pages from MDX files that are not tied to the filesystem path

How it works

  • [slug].js generates static paths using getStaticPaths from all .mdx files located in the specified directory (content/ by default).
  • The getStaticProps NextJS method passes the MDX content including front-matter (parsed with gray-matter) to the <PostPage /> component to be rendered.
  • The index or home page uses similar logic to generate a list of posts sorted by date.

TODO

  • Support filesystem-based routing as an option
  • Add some batteries-included examples
  • Write a tutorial
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].