This repository is a sort of template for using deck.js for nice presentations. It includes support for the following features:
- Use jade to generate HTML
- Use sass to generate CSS
- Include math easily with MathJax
- Show beautiful source code with highlight.js
- Typeset everything using awesome fonts
Everything required to show your slides is installed locally using the
setup.sh
script, so you will not need internet access during your presentation
(unless you include things in your slides that require it, e.g. YouTube videos).
Just download/unzip or clone this repository, run the included setup.sh
script
to install everything, then run develop.sh
.
git clone https://github.com/lmjohns3/deck
cd deck
./setup.sh -d -m -f source -t github
./develop.sh
You can then edit your slides and view them in your browser locally. When you're done editing and ready to present, you copy the entire folder onto a USB drive or the like.
The setup.sh
script can install individual components as needed. Run
setup.sh
for some command-line help. You might need to edit the setup.sh
script (or just install things yourself) if what you're trying to do is beyond
its current scope.
The setup.sh
script installs everything you need locally, inside the current
directory. To use the script and all of the features that it relies on, you'll
need the following on your system:
Note that none of these tools are needed when you have finished creating your slides -- they are just used when in "development mode."
If you're already doing development on a Mac or Linux box, most of these tools might already be installed. If not, it's pretty straightforward to install them using existing package managers.