Nextein is a static site & blog generator. Combine the simplicity of Markdown and the power of Next.js.
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.
---
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.
import React from 'react'
import withPosts from 'nextein/posts'
import Content from 'nextein/content'
function Index ({ posts }) {
return (
<div>
<h1>Hello!</h1>
{posts.map(post => (
<div>
<h2>{post.data.title}</h2>
<Content {...post} excerpt />
</div>
))}
</div>
)
}
export default withPosts(Index)
Hello, World! This is my first post.
Get started right now with our Guides or check the Starter Kit.