Skip to content

Instantly share code, notes, and snippets.

@ianjennings
Last active August 23, 2022 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ianjennings/85eb2b925b6a7bb1c506bbb72380d131 to your computer and use it in GitHub Desktop.
Save ianjennings/85eb2b925b6a7bb1c506bbb72380d131 to your computer and use it in GitHub Desktop.

Getting Started with Reveal.js

Some reveal.js features, like external Markdown, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code.

Download and Install

Downloading and Installing Reveal.js

Make sure you have Node.js (10.0.0 or later) installed. Then, clone the reveal.js repository:

git clone https://github.com/hakimel/reveal.js.git

Next, move to the reveal.js folder and install dependencies:

cd reveal.js
npm install

Run the Demo

Setting up and running the Reveal.js Demo

Serve the presentation and monitor source files for changes:

npm start

Then, open http://localhost:8000 to view your presentation!

Any changes you make to the source files will be reflected in the presentation automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment