ranger-reveal
v0.0.4
Published
Reveal.js plugin for Ranger Compiler
Downloads
2
Readme
Reveal.js plugin for Ranger Compiler
Creates slides for http://lab.hakim.se/reveal-js/#/
Usage
Install ranger compiler
npm install -g ranger-compiler
Install this package
npm install ranger-reveal
Create a file with slides, for example test_slides.txt
plugin.slides @noinfix(true) {
presentation "Testi presis" "reveal_test.html" {
slide {
h1 "Ranger"
}
slide {
slide {
h1 "Supports"
table {
tr 'JavaScript' 'Go' 'PHP'
tr 'Scala' 'C#' 'Java'
tr 'C++' 'TypeScript' 'Swift'
}
p.fragment '+ plugins'
}
slide {
h1 "Slide below ^ that"
}
}
}
}
And then run the compiler with command:
ranger-compiler -plugins=ranger-reveal test_slides.txt
The results will be saved in bin/reveal_test.html