Last active
August 29, 2015 14:03
-
-
Save mhaligowski/f8045192436ac4ebe7e4 to your computer and use it in GitHub Desktop.
rakefile for asciidoctor
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'asciidoctor' | |
gem 'tilt' | |
gem 'haml' | |
gem 'rake' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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