Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mpdehaan/revelator
Write reveal.js index.html files in YAML.
https://github.com/mpdehaan/revelator
Last synced: 4 months ago
JSON representation
Write reveal.js index.html files in YAML.
- Host: GitHub
- URL: https://github.com/mpdehaan/revelator
- Owner: mpdehaan
- License: gpl-3.0
- Created: 2014-01-20T22:20:55.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-28T23:13:17.000Z (over 9 years ago)
- Last Synced: 2024-04-14T11:15:30.652Z (10 months ago)
- Language: JavaScript
- Size: 552 KB
- Stars: 61
- Watchers: 10
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
the Revelator
=============Who's That Writin' Reveal.js Slide HTML?
Not me.
Relevator generates Reveal JS presentation decks from simplified (and easier to edit) YAML files.
This is NOT actively maintained anymore, and the error handling around the YAML isn't very good. There probably should be a Python "DSL" instead to make it easier.
Background
==========Reveal.js is a pretty awesome framework for generating web-based slides.
This is what Reveal.js looks like: http://lab.hakim.se/reveal-js/#/
HTML you write typically looks like: https://github.com/hakimel/reveal.js/blob/master/index.html
Except with Revelator, you can write simpler things like: https://github.com/mpdehaan/slide-the-revelator/blob/master/test.yml
So you have to write a lot less of the angle brackets.
Usage
=====chmod +x write_it
vim test.yml
write_it test.yml my_presentation_directory
sensible-browser my_presentation_directorySupported Reveal.js Features
============================- Setting the Title, Author, and Description
- HTML tags via shorthand
- Class notes
- Nested slides
- Changing background colors
- Changing transitions
- Images
- Hyperlinks
- Formatted Code Blocks
- Ordered and Unordered Lists
- BlockquotesSyntax
======Here's how slide transitions and fragments (transitions between parts of slides) work:
set_global options:
- fragment
+ true
+ false
+ grow
+ shrink
+ "roll-in"
+ "zoom-in"
+ "highlight-blue|green|red"
+ "highlight-current-blue|green|red"
+ "fade-out" +/- "-visible"
- transition
+ linear
+ concave
+ zoom
+ cube
+ page
+ fade
License
=======GPLv3
Author
======Michael DeHaan