{"repo":"dtedesco1/nextjs-markdown-boilerplate","free":true,"listed":false,"github":"https://github.com/dtedesco1/nextjs-markdown-boilerplate","clone":"git clone https://github.com/dtedesco1/nextjs-markdown-boilerplate.git","description":"A minimal Next.js 15 application that renders content from Markdown files.","language":"TypeScript","stars":41,"topics":["markdown","markdown-to-html","nextjs","nextjs15","react"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Next.js 15 Markdown Boilerplate A minimal Next.js 15 application that renders content from Markdown files. Features - Render Markdown files as dynamic pages - Add React components anywhere in your Markdown - The folder structure becomes the URL path - Global styles using Tailwind CSS and DaisyUI See a live example at nextjs-markdown-boilerplate.vercel.app/ How to use it I'm lazy, so I made this extremely simple. Pages Just write some markdown in a .mdx file, and it will automatically become a properly styled page. Routing Add new pages by creating .mdx files in the app/content directory. The file name becomes the URL path: - app/content/index.mdx → / - app/content/a-beautiful-page.mdx → /a-beautiful-page - app/content/more-content/another-page.mdx → /more-content/another-page React Components Add custom React components to the components directory. Then, import them at the top of an MDX file and use them like any other React component. Next.js 15 Async API Caveats In Next.js 15, dynamic APIs like params and searchParams are now asynchronous. The boilerplate handles this automatically in the page component, but if you add custom logic: For static behavior, avoid using cookies() , headers() , draftMode() in layouts or pages unless necessary. Static vs Dynamic Behavior This boilerplate is static-first: pages are pre-rendered at build time. If you need dynamic features (e.g., user-specific content), opt into dynamic rendering by using the async APIs above or adding export const d","default_branch":null,"files":null,"tree":[],"storefront":"/r/dtedesco1","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dtedesco1/nextjs-markdown-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}