Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Allow encoding to be set through showoff.json.

  • Loading branch information...
commit ae11f6a3c82e96319ed6e37ea9ae092e9d871230 1 parent c2113f9
@jcoglan authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/showoff.rb
View
3  lib/showoff.rb
@@ -62,7 +62,8 @@ def initialize(app=nil)
showoff_json = JSON.parse(File.read(ShowOffUtils.presentation_config_file))
settings.showoff_config = showoff_json
- # Set options for template and page size
+ # Set options for encoding, template and page size
+ settings.encoding = showoff_json["encoding"]
settings.page_size = showoff_json["page-size"] || "Letter"
settings.pres_template = showoff_json["templates"]
end
Please sign in to comment.
Something went wrong with that request. Please try again.