macana

Static site generator for Obsidian Vault

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
The easiest and cleanest way to use Macana is CLI script (`cli.ts`).
Pass a URL of the script to `deno run` and provide parameters.
Use `--help` to see parameters and arguments.

```
$ deno run https://deno.land/x/macana@v0.2.4/cli.ts --help
```

The CLI script accepts taking a config JSON/JSONC file via `--config` option.
Most of the generation options are available both as a CLI parameter and config field.
You need to grant `read` permission for the config JSON/JSONC file.

```
$ deno run --allow-read=.macana.json https://deno.land/x/macana@v0.2.4/cli.ts --config .macana.json
```

See [Config reference](/en/References/Config) for available options.