A reveal.js presentation template with Pug, Sass, and modern build tools. This template is designed to help you quickly create and customize your own reveal.js presentations using Pug for templating and Sass for styling
You'll need Node.js (v18 or higher) and npm installed.
- Click Use This Template to use this repo as a project template.
- Clone your new repository locally
- Run
npm installto install dependencies - Run
npm run setupto configure your project name and details - Run
npm run update:revealto copy reveal.js files - Run
npm run devto start the development server
npm run dev- Start development server with live reloadnpm run build- Build all files for productionnpm run update:reveal- Update reveal.js files from node_modules to reveal/ foldernpm test- Check for Sass errors
- Edit the
pug/index.pugfile to modify your slides. You can use Pug syntax to create sections, add content, and include mixins.- Strongly Recommended: Split your slides into multiple partials in the
pug/partials/directory and include them inindex.pugfor better organization. - Check out
pug/partials/_mixins.pugfor useful mixins likedemoandiframe.
- Strongly Recommended: Split your slides into multiple partials in the
- Edit the global styles by editing
scss/lemon.scss. You can add your own styles or override existing ones. - Need help with demos? See demos/demos.md
- Edit
js/reveal-config.jsto customize reveal.js settings like transitions, controls, and plugins. - Need additional reveal.js help? Check out the reveal.js documentation.
When you want to update to the latest version of reveal.js:
- Update the reveal.js dependency:
npm update reveal.js - Copy the new files:
npm run update:reveal - Commit the updated
reveal/folder to git