Welcome to HN Static Site Generator! This is a simple, elegant static site generator built with Node.js that transforms your markdown files into a beautiful retro-styled website.
This static site generator comes with many powerful features:
Create a new markdown file in the content/ folder with front-matter:
---
title: My First Post
description: This is my first blog post
date: "2025-01-15"
tags: ["blog", "first-post"]
draft: false
---
Your content goes here...
npm run build - Build your static sitenpm run serve - Start development servernpm run dev - Watch for changes and auto-rebuildEdit src/config.js to customize your site:
This generator supports many markdown features:
function greet(name) {
console.log(`Hello, ${name}!`);
}
greet("World");
| Feature | Supported |
|---|---|
| Markdown | ✓ |
| Tables | ✓ |
| Code | ✓ |
| Footnotes | ✓ |
Press Ctrl+S to save or Cmd+Q to quit.
Start writing your own posts and customize the configuration to make this site your own. Happy blogging!
This post was generated automatically as an example.