- Clone this repo and move into the folder
git clone https://github.com/kvendrik/Present.git && cd Present - Run
grunt serveto start a server on127.0.0.1:9000 - Start customizing the slides' markup in
index.htmland modifing the styling of the theme and slides intheme.scssandslides.scss
Present uses grunt for its server, compiling SASS and concatting and uglifying JavaScript. In order to be able to use grunt you need to have the grunt-cli installed: npm install -g grunt-cli.
servestarts a server at127.0.0.1:9000and watches for changes.- When a JS file is changed the concat task will run and output
js/app.js - When a SCSS file is changed the SASS will be compiled to
css/main.css
- When a JS file is changed the concat task will run and output
buildcompiles the SCSS files tocss/main.cssand uglifies the JS tojs/app.min.js
- HTML elements with the class
slideare considered slides - Within these slides you can use HTML elements with the class
stepto create steps
main.scsscontains the core stylestheme.scsscontains styling for the themeslides.scsscontains styling for specific slides
You can link to a specific slide and step by specifing them in the URL.
#slide-4&step-2