lib/rpub/commands/preview.rb in rpub-0.2.1 vs lib/rpub/commands/preview.rb in rpub-0.3.0

- old
+ new

@@ -11,12 +11,11 @@ end def invoke super return unless markdown_files.any? - concatenation = markdown_files.join("\n") File.open(@filename, 'w') do |f| - f.write move_styles_inline(Kramdown::Document.new(concatenation, KRAMDOWN_OPTIONS.merge(:template => layout)).to_html) + f.write move_styles_inline(Typogruby.improve(concatenated_document.to_html)) end end private