Welcome to Slidev!
- Use
local-preview.sh
./scripts/local-preview.sh [path/to/sldies.md]
or run steps manually. To start the slide show locally from scratch:
npm install
npm run dev [path/to/sldies.md]
By default local
slides.md
is used, however, oen can optionally point to an externalslides.md
file, outside of this repository (recommended).
-
The browser should open automatically. If not, use
o
shortcut or open slides at: http://localhost:3030. -
Edit the slides.md to render other slides/training modules. Use
Ctrl+Shift+R
to hard reload the page bypassing the cached resources.
Note: To start the slide show with remote access on port 8088:
npm run dev -- -p 8088 --remote
Learn more about Slidev at the documentation.
Script is integrated into scripts/render-slides.sh
.