Giter Site home page Giter Site logo

hugo-revealjs-generator's Introduction

Hugo Reveal.js Generator

Simple presentation generator with hugo and reveal.js.

An example is here. https://tanstaafl.0pt.jp/slides/

How to use

  1. Install hugo command.
  2. Create your workspace.
$ mkdir your-work-space && hugo new site your-work-space
  1. Install this theme.
$ cd your-work-space
$ git clone https://github.com/minoritea/hugo-revealjs-generator themes/revealjs
  1. Add your first presentation.
$ hugo new your-presentation-name/slide1.md
$ hugo new your-presentation-name/slide2.md
$ hugo new your-presentation-name/slide3.md
# ...

Note that your slides are sorted by title(e.g. slide1 > slide2 > slide3 ...).

  1. edit your slides.
  • put your contents into slides in hugo's Markdown format.

5.1. You can preview your slides on your computer.

$ hugo server -D -t revealjs # default URL is http://localhost:1313/
  1. Generate pages.
  • don't forget to set draft as false in TOML headers in markdown files before publish them.
$ hugo -t revealjs
  1. Put generated contents(in public directory) into your web site.

How to set a theme to a slides page.

  1. download revealjs themes to static/css/theme (some themes are already included).
  2. edit data/themes.toml.
["the title of your presentation(converted to lowercase, and singularized)"]
theme = "the file name of the theme you want(without `.css` suffix)"

LISENCE

MIT LISENCE

Note: hugo and reveal.js have their own LISENCE.

hugo-revealjs-generator's People

Contributors

minoritea avatar

Watchers

 avatar  avatar

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.