The slides can be rendered in the browser using the reveal.js
node package.
-
Navigate to the directory where you want to store the slides and open
git bash
-
In
git bash
execute the following commandgit clone git@github.com:GlennVL-AP/cpp-programming-slides.git
-
Open the
cpp-programming-slides
directory with vscode -
If vscode asks to install the
Dev Containers
plugin, accept -
When vscode asks to launch the project in a dev container, accept
-
Open a new terminal in vscode
ctrl+shift+`
-
In the vscode terminal execute the following command
npm start
-
Navigate to the following page in your preferred browser
http://localhost:8000
-
To view speaker notes, press
s
-
Append
?print-pdf
to the url of a slide deckhttp://localhost:8000/slides/session_0_docker?print-pdf
-
Open the print dialog
ctrl+p
-
Change
Destination
toSave to PDF
-
Change
Layout
toLandscape
-
Change
Margins
toNone
-
Enable
Print backgrounds
option -
Click the
Save
button
- git - https://git-scm.com
- vscode - https://code.visualstudio.com
- docker - https://www.docker.com