npm install
npm start
For a huge SVG file, you might have to give more memory to Node.js:
export NODE_OPTIONS="--max-old-space-size=8192"
In this case, we will give 8 GiB of memory to Node.js.
To use an SVG as slides, you have to:
- have the top level element with id value of "slides"
- have <title> element as a child of
- put slides and frames under whose id is "slides-layer"
- have a frame element named "frame-overview"
- have at least one slide whose id starts with "slide-"