It is now: 8b8cc607.
You can now create slides with textile. Supply a slides.textile
and
run reveal-ck generate
.
Some aspects of reveal.js only function when the reveal.js files are
retrieved from a webserver. The most important example of this are the
"Speaker Notes." You can now run reveal-ck serve
(or reveal-ck server
) to start up a webserver, and then press "s" to see Speaker
Notes.
reveal-ck generate now prints out a simple message when generate slides. This message indicates which "slides file" is being processed. Was getting confused with the growing number of file types and ability to select a file explicitly.
You can now create slides with markdown. Previously, you created
slides with haml, slim, or ruby. You'd create a slides.haml
,
slides.slim
, or a slides.rb
and then run reveal-ck generate
. You
can now create a slides.md
and do the same.
It's the markdown you'd expect with one exception: you separate slides
with ---
.
Previously, I thought height and width were required. If you know them, you should add them, but reveal.js just "front-end magic" to make things ok. If you don't include them, and your first slide is an image, I think you'll experience a jump of content as the image resizes to appropriate dimensions.
Previously, most dependency requirements were written in such a way that we wouldn't work with new minor releases.
Now they are written so that we accept anything that's backwards compatible.
The central configuration file is now config.yml
instead of
config.toml
.
It is now: 9da292.
There was an issue where optins like "author" or "title" weren't being respected when set in the DSL.
Further, config.toml settings used to always take precedence over the DSL. No longer.
Whether in config.toml or the DSL, you can now supply "transition" to impact how the slides change.
You can now explicitly call out the name of your slides file. It used
to have to be one of: slides.haml
, slides.slim
, or
slides.rb
. Pass in --file
ala: reveal-ck generate --file /tmp/my_slides.haml
A helper function, contents_of
is now available to be invoked in
slim and haml templates, and in the ruby dsl.
This function takes a single argument, normally a relative path, and inlines the text returned by reading that file.
This lets you keep things like code-snippets in a "code/" directory.
The template named "title" has been renamed to "intro".
The "DSL" around presentations and slides has changed slightly. There's now a top level "presentation do" at the top of it all, ala:
presentation do
end
I've started using SimpleCov, Cane, Reek, Rubocop, and CodeClimate to motivate towards simplicity. Examples include:
- Adding Basic Documentation for each Class (Cane)
- Eliminating areas of code that were unused (SimpleCov)
- Simplifying larger methods (CodeClimate, Reek)
- Adhering to basic Style Guide standards (rubocop)
The beginnings of a slide "DSL" is in the works, and you can now
create a slides.rb
instead of a slides.haml
or a slides.slim
The class 'Slide' doesn't know about specific HTML content, and instead provided a reference to a template (slim, haml) when it is creatd. You can supply your own templates, but reveal-ck (the gem) provies several common ones for a title screen, an image slide, a quote slide, a code slide, and a text slide.
Classes like 'Slide' and 'Presentation' have been introduced and you
can use these to create a slide deck. See
examples/programmatic-slides.rb
for an example.
You can now author slides in either Slim or Haml. Choose which by
supplying a slides.haml
or a slides.slim
.
Via a config file, you can now:
- Use a theme other than the default
- Supply a
<title>
for your slides - Supply
<meta/>
author information
To achieve this, create a config.toml in the same directory as your slides.haml. The contents should look like:
author = "Your Name"
title = "Your Presentation's Name"
[presentation]
theme = "night"
You can now supply slide content via markdown (in haml..). It looks like:
%section
:markdown
# Hey Now
## Alright
reveal-ck works by unpacking an embedded version of reveal.js when creating slides. In prior versions, this was locked at a commit dating to January 2013. It's now been updated to around the end of June 2013.
In short, it was: f3b488. And now it is: 7d19b4.
- Avoid 'desc is not a method' error when running reveal-ck generate. There was an unexpected interaction between Rake and GLI 2.7.
- Additional Documentation
- Swapped out .rvmrc for .ruby-version
- Moved from Jeweler to Bundler for Gem Management
- Move generated slides.html to slides/slides.html