Skip to content

Instantly share code, notes, and snippets.

@mhaligowski
Last active August 29, 2015 14:03
Show Gist options
  • Save mhaligowski/f8045192436ac4ebe7e4 to your computer and use it in GitHub Desktop.
Save mhaligowski/f8045192436ac4ebe7e4 to your computer and use it in GitHub Desktop.
rakefile for asciidoctor
source 'https://rubygems.org'
gem 'asciidoctor'
gem 'tilt'
gem 'haml'
gem 'rake'
require 'tilt'
require 'asciidoctor'
desc 'Render the slides to dzslides'
task :render do
Asciidoctor.render_file 'slides.adoc',
:in_place => true,
:backend => 'dzslides',
:template_dir => 'asciidoctor-backends/slim/'
end
task :default => :render do
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment