Skip to content

Commit

Permalink
Added basic PDF converter based on the prawn PDF generation library
Browse files Browse the repository at this point in the history
  • Loading branch information
gettalong committed Sep 21, 2013
1 parent 64e2d52 commit 6be94f5
Show file tree
Hide file tree
Showing 2 changed files with 465 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/kramdown/converter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ module Converter
autoload :Kramdown, 'kramdown/converter/kramdown'
autoload :Toc, 'kramdown/converter/toc'
autoload :RemoveHtmlTags, 'kramdown/converter/remove_html_tags'
autoload :Pdf, 'kramdown/converter/pdf'

end

Expand Down
Loading

2 comments on commit 6be94f5

@kgrz
Copy link

@kgrz kgrz commented on 6be94f5 Mar 6, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it would be worthwhile adding prawn to the gemspec? Currently, if the prawn gem is not installed, it would just thrown a LoadError.

@gettalong
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, since prawn is an optional dependency, same as with coderay.

Please sign in to comment.