Create stunning presentations in Markdown using Reveal.js from the confort of your command line.
Start by installing the revelar
utility globally:
npm install --g revelar
Create a new presentation project.
revelar create presentation-name
This will create a new folder called presentation-name
with:
- A
slides
folder to contain your slides divided into multiple sections; - A
themes
folder to contain custom themes (like a sampleyellow.css
); - And the
revelar_config.json
with configuration parameters.
Once the project is created, start the server to see the slides:
revelar
And point your browser to http://0.0.0.0:8000/.
Inside the slides
folder you can place as many Markdown files as you want.
Each file will correspond to a different section in your presentation.
Each section can contain multiple slides, each separated by a --
.
Here is an example of a section writen in a Markdown file:
# Revelar
## This is awesome
[paulo.ragonha.me](http://paulo.ragonha.me)
[@pirelenito](http://twitter.com/pirelenito)
--
# A second slide
--
# And a third
It is possible to change the theme of your presentation from the available Reveal.js themes by specifying it in the revelar_config.json
file:
{
"theme": "sky"
}
You can place your custom theme files inside the themes
folder and use them the same way as a default theme.
This is build on top of the amazing Reveal.js framework.