Today I released
middleman-presentation. This release brings you some new features.
middleman-presentation is powered by
middleman, a flexible static site generator which also offers a live preview of your presentation.
First and foremost it brings plugin-support
Nested template engines for slides
.html.md.erbto a slide name, first
Erubiswill parse your slide, second
Kramdownwill parse the result. This can help you if you need some more dynamic slides, but you don’t want to miss the comfort of
Add standalone webserver for exported presentations
I added a standalone webserver to the gem which will be added to all exported presentations. If you want to give your presentation away as zip-file, the other person does not need to install a webserver to view your presentation in all its glory. She just needs to unzip the presentation and run the
server-executable. There are pre-compiled 64 bit-executables avaible for all major platforms: Linux, Mac OS X and Windows.
Minify assets and html
I did my best to fully localize the cli for English and German.
Smart Quotes in
Now support for smart quotes in
Markdown-slides is enabled by default. But this is configurable.
Improvements on the commandline
Now there are a lot of new commandline commands available to list known assets, frontend components, plugins etc. But also a helper to create plugins or to change the name of an existing slide – I found that helper quite handy by the way :-). I also added some wrapper code to wrap
middleman-commands. So there’s no need to know both commandlines – from
middleman-presentation. And there’s also an
export-command which should help you, if you want to give your presentation way as zip-file. If you need to re-create your presentation for some reason, you might want to use the
Move helpers to
I move some helper-code to the
helper-gem which makes use of the new plugin-mechanism.
I switched from the version of
reveal.jsto a native one, which is much more newer. The reason for this was the mismatch of the online documentation for
hightligh.jswith the version which comes with
That’s it. Happy presenting.
DiscussionIf you found a mistake in this article or would like to contribute some content to this article, please file an issue in this Git Repository
DisclaimerThe contents of this article are put together to the best of the authors' knowledge, but it cannot be guaranteed that it's always accurate in any environment. It is up to the reader to make sure, that all information found in this article, does not do any damage to the readers's working environment or whereever this information is applied to. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, arising from, out of or in connection with this article. Please also note the information given on the Licenses' page.
- Break it Baby, break it – How the network sniffer "Wireshark" can break Rubygems
- Having No Fun with Rubygems, Systemd, Docker and Networking
- Creating an IRB-based Read-Eval-Print-Loop-console for your project
- Setting up a Ruby-based HTTP-server to back your test suite
- Setting up an HTTP proxy with ruby