Markbase is a simple, lightweight, and fast static site generator that turns a bunch of markdown files into a website.
Features:
markbase build folder/to/markdown/files
to get your outputmarkbase watch folder/to/markdown/files
to open a local server and automatically rebuild your site on file changesInstall markbase with
npm install -g markbase
Then, run
markbase build folder/to/markdown/files
to generate your website. The output will be in the ./out
folder.
You can also use markbase watch
to automatically rebuild your site on file changes.
You can configure how markbase generates your site by creating a configuration file config.yml
at the root of your
document folder:
title: My Website
description: This is my website
documents: ["**/*.md"]
assets: ["**/*.png", "**/*.jpg"]
out: ./dist
See here for more information on the configuration options.