Usage
How to use and configure Ter.
#Install deno
Ter is built with Deno, so you'll need to have it installed.
#Build a site
Default command will recursively search for *.md
files in the current
directory and generate a site into the _site
directory:
deno run -A --unstable https://deno.land/x/ter/main.ts
Use --input
and --output
flags for custom source/destination directories:
deno run -A --unstable https://deno.land/x/ter/main.ts --input pages --output _dist
To start a local server with live refresh, pass the --serve
flag:
deno run -A --unstable https://deno.land/x/ter/main.ts --serve