Theme is internally recognized as an object. It is used to convert Markdown files to HTML. Check maren-core for more information. This information is not essential unless you want to create a theme of your own.

Using theme

By default, a built-in theme is used to get quickly going. You can change the theme at any point by downloading one.

~/myblog $ git clone themes/default
~/myblog $ (cd themes/default && npm install)

Theme can be extracted under any name you'd like to have. To use the installed theme, update theme in maren.json.

Creating theme

Theme is easy to create. The only required file is template.js, a compiled render function that returns html.

Template can be developed by any template library. The way it handles data, and renders them, is completely up to you.

Check maren-core as reference and also maren-theme-default.