Usage
How to use and configure Ter.
Upd:
#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 https://deno.land/x/ter/main.ts
Use --input
and --output
(or -i
and -o
) flags for custom
source/destination directories:
deno run -A https://deno.land/x/ter/main.ts -i pages -o _dist
To start a local server with live refresh, pass the --serve
(or -s
) flag:
deno run -A https://deno.land/x/ter/main.ts -s