This is a collection of notes and resources for chemistry revision for my own use (UEC).
/src
contains the source files,/docs
contains the built files. (docs because I want to use github pages without a new branch)
- Install the packages with
npm install
. - Delete the
/docs
folder and runnode preprocess.js
to build the site.
To preview the site, run npx live-server
in /docs
and open localhost:8080
in your browser.
To deploy the site, run npm run deploy
, which runs npm run build && node gh-pages.js
.
- Install the packages with
npm install
. - Install
when-changed
here. - Run
npm run dev
.
preprocess is used to preprocess the files.
@include
uses relative paths (relative to the compiled file).
@includejs
can include js files in html.@prerender_katex
can prerender katex (remember to includekatex_css.html
)@include $lib/...
can include files from thesrc/__lib
folder.