CLI

Commands and their flags.

bakemd build [folder] [--out dist]
bakemd dev [folder] [--port 5174]

The folder is the one holding the Markdown pages and bakemd.json. Current folder by default. Both commands write a default bakemd.json and create _public/ if they are missing.

build

Renders every page and writes the site.

FlagDefault
--out, -odistOutput folder, resolved from the current directory. Emptied first

dev

Serves the folder, rendering each page on request so edits show on reload.

FlagDefault
--port, -p5174Port to listen on