Hello, I'm

Nextein.

Nextein is a static site & blog generator.
Combine the simplicity of Markdown and the power of Next.js.

About

Built on top of Next.js, Nextein brings you the possibility of using plain Markdown files along with your React components to create static sites in minutes.

posts/first-post.md
---
title: First Post
---

Hello, World! This is my first post.

In a list, if we use the `excerpt` flag,
this paragraph won't be shown.

pages/index.js
import Content from 'nextein/content'

export async function getStaticProps () {
  const { getPosts } = await import('nextein/fetcher')
  return { props: { posts: await getPosts() }}
}

export function Index ({ posts }) {
  return (
    <div>
      <h1>Hello!</h1>
      {posts.map(post => (
        <div>
          <h2>{post.data.title}</h2>
          <Content {...post} excerpt />
        </div>
      ))}
    </div>
  )
}

localhost:3000/

Hello!

First Post

Hello, World! This is my first post.

Get started right now with our Guides or check the Starter Kit.

Contributors

This project exists thanks to all the people who contribute.

Sponsors

Amazing organizations that support this project.