Create a blog
~ $ mkdir myblog
~ $ cd myblog
~/myblog $ npm init -y
~/myblog $ npm install maren
~/myblog $ npx maren init
~/myblog $ echo "# My blog" > documents/index.md
~/myblog $ echo "# 404" > documents/404.md
~/myblog $ npx maren build
~/myblog $ npx maren serve
Visit http://localhost:8080
Example Markdown
---
title: 'Custom title'
toc: true
author: 'Pavel'
tags:
- Art
- Fashion
---
# New collection
## Coats
## Jackets
## Jeans
## Bags
Markdown can contain YFM with any data. These data will flow to theme where they can be rendered.
In the end, theme (its template) will receive following data object:
{
meta,
html,
options
}
Check maren-core for more information.