This builds a small website with one news article, using as little configuration as possible. You need Node.js 22 or later.
1. Install edaha.md
Add edaha.md to your project with your favourite package manager:
npm install --save-dev @lvl99dotcom/edaha.md
yarn add --dev @lvl99dotcom/edaha.md
pnpm add --save-dev @lvl99dotcom/edaha.md
To also write articles in the WYSIWYG editor, add its package too:
npm install --save-dev @lvl99dotcom/edaha-editor
yarn add --dev @lvl99dotcom/edaha-editor
pnpm add --save-dev @lvl99dotcom/edaha-editor
2. Add a config file
Create edahaconfig.yml next to your project’s package.json. Only the website’s name and description are required:
name: My blog
description: My cool blog powered by edaha.md
The config file can also be JSON or JavaScript, and can have other names. See Configuration for every setting.
3. Write an article
Create articles/news/hello-world/article.md:
<!--yaml
date: 2026-11-16T09:00:00Z
tags: [Welcome]
-->
# Hello world
This is my first article. <!-- readmore -->
Everything after the read more break is only shown on the article's own page.
newsis the article type. Types that aren’t in the config file get default settings, with a warning.hello-worldis the article’s slug, used in its URL.- The header at the top holds the article’s metadata. Only
dateis required. See Articles.
Your project now looks like this:
<project>/
package.json
edahaconfig.yml
articles/
news/
hello-world/
article.md
4. Build the website
npx edaha build --site-url https://myblog.example.com
yarn edaha build --site-url https://myblog.example.com
pnpx edaha build --site-url https://myblog.example.com
The website is written into build/:
build/news/hello-world/index.html: the article;build/news/index.html: the list of news articles;build/news/feed.xml: the RSS feed;build/news/tags/welcome/: the list (and feed) of articles tagged “Welcome”;build/site.css: the default theme’s stylesheet.
--site-url is your website’s address, which RSS feeds need for their links. You can set it once in the config file instead, with siteUrl.
To look at the website on your computer, serve the folder with any static file server, e.g. npx serve build.
5. Edit articles in the editor (optional)
npx edaha editor
yarn edaha editor
pnpx edaha editor
Open http://127.0.0.1:8449 to write and edit articles without touching Markdown. See WYSIWYG editor.
Next steps
- Configuration: article types, URL paths, output folders and more.
- Templating: change how your pages look.
- Build & deploy: put your website online.