public
Description: Turn a Markdown File into a Fully Functional Tutorial with an automatic and dynamic Table of Contents
Homepage: http://bogojoker.com/readline/
Clone URL: git://github.com/JosephPecoraro/markdownorial.git
markdownorial / Rakefile.rb
100644 17 lines (14 sloc) 0.375 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Author: Joseph Pecoraro
# Date: Saturday, May 16, 2009
# Description: Runs Markdown to generate the html.
 
# Setup
verbose(true)
task :default => :run
 
# run
desc "Generates the html file from the markdown file."
task :run do
puts "Generating HTML from content.markdown:"
sh "perl tools/Markdown.pl content.markdown > content.html"
puts
puts "Generation complete."
end