the slide system no one needed.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.toml
LICENSE
Makefile
README.md
build.rs
lysbilder.html
slides.md

README.md

lysbilder1

the slide system no one needed.

1: that's norwegian for slides.

no really, no one needs this.

But it works (press Space to click through the slides).

usage

create a new cargo library project with cargo new --lib your-slide-deck
copy build.rs and lysbilder.html into your project
write your slides in slides.md. slides are separated by ---
build your slide deck: cargo build.

the output will be available in doc as HTML.

how

build.rs parses your slide.md (and by parse I mean split it at ---), generates some Rust code and then calls rustdoc to render it all. the small javascript snippet in lysbilder.html takes care of handling key input on the web page.

why

everyone should have build at least one slide system. now i did.

license

MIT. See LICENSE.