CLI
Everything you need to run Marque from the terminal.
Run commands from your site folder unless the example says otherwise.
Command reference
marque new
Scaffold a new site from the packaged template.
marque new my-site
marque new my-site --layout sidebar --theme comte
marque new my-site layout:sidebar theme:rustiqueUse it when you're starting a project from scratch.
marque serve
Start the local development server with rebuilds and live reload.
marque serve .
marque serve . 4000Use it while writing and iterating locally.
marque build
Generate production-ready static output into dist/.
marque build .
marque build ./docs-sitemarque migrate
Import a supported markdown docs project into a fresh Marque site.
marque migrate ./old-docs
marque migrate ./old-book ./new-marque --from mdbook
marque migrate ./old-site ./new-marque --from mkdocsUse it when you already have content in mdBook or MkDocs and want to move it over quickly.
marque theme new
Create a token-first theme file in themes/.
marque theme new my-theme
marque theme new my-theme --reference rustiqueUse it when you want the normal custom-theme starting point.
marque help
Print command help and usage.
marque help
marque --helpTypical flow
marque new my-site
cd my-site
marque serve .
marque build .
Examples
New docs site
marque new docs-site --layout sidebar --theme comte
cd docs-site
marque serve .Alternate port
marque serve . 4000Then open http://localhost:4000.
Advanced theme scaffold
marque theme template . themes/custom.css --reference legacy/rustiqueUse the advanced scaffold when you want a larger starting point based on directive selectors and an existing reference theme. Use legacy/<name> when you specifically want one of the older full-size bundled theme variants.
Notes
Output
marque build writes generated HTML, CSS, JS, and copied static files to dist/.
Navigation
navigation.mq controls labels and ordering. The CLI does not infer navigation structure from folder names alone.
Configuration
Layout, theme, and width defaults come from marque.toml, with per-page overrides in frontmatter.
Troubleshooting
Command not found
- Confirm Node.js 18 or newer.
- Reinstall the package if the global command is missing.
Slow watch or file locks on Windows
- Keep your workflow in one environment.
- Avoid mixing WSL with files on the Windows-mounted filesystem.
A page builds but is missing from navigation
- Check that it exists in
pages/. - Add it to
navigation.mq.