GithubHelp home page GithubHelp logo

theno / revealjs_template Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 25.0 2.02 MB

reveal.js presentation written in markdown

Home Page: https://theno.github.io/revealjs_template

HTML 11.73% JavaScript 53.02% CSS 35.25%

revealjs_template's Introduction

reveal.js template

reveal.js presentation written in markdown set up with fabric & fabsetup

This presentation shows how to create a reveal.js presentation which will be set up with the fabric task setup.revealjs of fabsetup.

Also, you can use this presentation source as a reveal.js template:

  • Checkout this repo
  • Then set the title in the index.html and edit the slides.md.

Technical Details

It is a reveal.js presentation (source) which means that this presentation is a static HTML5 website using a lot of JavaScript and CSS.

It has been set up with the fabric task setup.revealjs of fabsetup.

Open The Presentation:

Several possibilities exist:

Open index.html Directly

Just open file index.html with Firefox:

firefox index.html

(Does not work with Chromium which does not import the markdown file slides.md.)

Serve locally

Assure the symbolic links exist required for starting from within the subdir reveal.js:

ln -snf  ../img  img
ln -snf  ../index.html  index.html
ln -snf  ../reveal.js  reveal.js
ln -snf  ../slides.md  slides.md

Change into reveal.js subdir, update third libs and start the site:

cd reveal.js
npm update  # only required once
npm start

Open with your browser:

http://localhost:8000

Hints:

  • Works better (and smoother) with Chromium than with Firefox
  • Speaker Notes (push 's') and PDF export require Chromium/Chrome

Open github.io page

If this repo has its origin master repo at github and githup page is configured to build from 'master' branch open this URL:

https://theno.github.io/revealjs_template

Create PDF

You need the URL of the presentation, either served locally or from github. Then, use decktape decktape:

cd ~/bin/decktape/active && \
./phantomjs decktape.js --size 1280x800  URL  ~/repos/my_presi/my_presi.pdf

(decktape install command)

Or just print the slides.md rendered by github into a PDF:

https://github.com/theno/revealjs_template/blob/master/slides.md

Update reveal.js Codebase

This does not need to happen often. From time to time, maybe a year after the last edit, the presentation needs an update with regards to contents. Then, a reveal.js update could be a good idea, too.

Just re-run task setup.reveal.js of fabsetup:

cd ~/repos/fabsetup
git pull  # updating fabsetup suggested

fab setup.revealjs -H localhost

When asked for:

  • Enter dir of this presentation
  • Anwer 'yes' in order to reset (and re-download) reveal.js codebase

revealjs_template's People

Contributors

theno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

revealjs_template's Issues

DYNAMIC CONTENT

I want dynamic loadable contents on click,

how to completely insert some template's code into revealjs template?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.