lib/docify/document.rb in docify-1.0.0 vs lib/docify/document.rb in docify-1.0.1
- old
+ new
@@ -12,10 +12,10 @@
end
# Render document by specified format
def render(format, embed_css=true)
raise ArgumentError, 'Invalid format!' unless FORMATS.include?(format)
- result = GitHub::Markup.render("doc.#{format}", File.read(@path))
+ result = Docify::Markup.render("doc.#{format}", File.read(@path))
if embed_css
params = {:title => File.basename(@path), :content => result}
params[:css] = Docify::CSS if embed_css
@content = template(params)
else
\ No newline at end of file