GithubHelp home page GithubHelp logo

gaerfield / reveal-md-github-pages Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 2.0 2.45 MB

Automatically deploys reveal-md presentations to github-pages

Home Page: https://gaerfield.github.io/reveal-md-github-pages/

License: MIT License

CSS 22.28% JavaScript 77.72%
reveal-md slides presentation

reveal-md-github-pages's Introduction

reveal-md-github-pages

Use this template to automatically deploy your reveal-md presentations to github-pages.

Demo

  • see the example here

Get started

  • just press this nice & friendly green button

nice & friendly green button

  • give your new repo a name
  • keep it public! (or git will deny to publish it)
  • choose 'gh-pages' to be the public-branch by:
    • first switching to master
    • and then switching back to gh-pages
    • github-Bug? ¯\(ツ)

settings

writing content

  • edit the markdown-file slides.md
  • find all configurations on reveal-md

Customizations

  • I changed a whee-bit the defaults
  • custom.css:
    • has some additional configs (who needs borders around pictures)
    • just remove the content, if it not suits you
    • but keep the file, or the build will fail
  • includes of markdown files
    • split up the presentation into multiple documents (useful for large presentations)
    • an include is defined by {{path/to/include.md}}
  • embed small plantuml-diagrams into the presentation
  • included scripts are configured in includes.js
    • clear the content, if customizations not needed (but keep the file!)

view changes locally

  • to view the presentation locally the start of a server is needed
  • docker
    • a docker-compose.yml is part of the repository
    • call docker-compose up and open [http://localhost:1948/slides.md]
  • npm
    • install reveal-md within repository npm install reveal-md
    • and then call ./node_modules/.bin/reveal-md --preprocessor includes.js --css custom.css slides.md
    • the browser should open automatically

reveal-md-github-pages's People

Contributors

blatobi avatar gaerfield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

reveal-md-github-pages's Issues

custom.css

Hey I just tried your tool.

It is awesome. However it seems that the custom.css file is not loaded (even in your example).

Maybe changing the path?

Best,

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.