lib/kitabu/exporter/html.rb
def export
        copy_images!
        copy_fonts!
        export_stylesheets!

        File.open(root_dir.join("output/#{name}.html"), "w") do |file|
          file << parse_layout(content)
        end

        true
      rescue StandardError => error
        handle_error(error)
        false
      end
# Parse all files and save the parsed content
# to <tt>output/book_name.html</tt>.
#
Parse all files and save the parsed content
to output/book_name.html.
Parse all files and save the parsed content to output / book_name . html .
def export
        copy_images!
        copy_fonts!
        export_stylesheets!
        File.open(root_dir.join("output/#{name}.html"), "w") do |file|
          file << parse_layout(content)
        end
        true
      rescue StandardError => error
        handle_error(error)
        false
      end
def export copy_images! copy_fonts! export_stylesheets! File . open ( root_dir . join ( "output/#{name}.html" ) , "w" ) do | file | file << parse_layout ( content ) end true rescue StandardError => error handle_error ( error ) false end
Parse all files and save the parsed content
to <tt>output/book_name.html</tt>.
Parse all files and save the parsed content to <tt > output / book_name . html< / tt > .