README.md in faml-0.2.12 vs README.md in faml-0.2.13
- old
+ new
@@ -21,9 +21,19 @@
Or install it yourself as:
$ gem install faml
## Usage
+You can set several options via `Faml::Engine.options` .
+
+```ruby
+# Render in XHTML format
+Faml::Engine.options[:format] = :xhtml
+# Disable autoclose
+Faml::Engine.options[:autoclose] = []
+# Disable auto preserve
+Faml::Engine.options[:preserve] = []
+```
### Rails, sinatra
Just replace your `gem 'haml'` with `gem 'faml'` .
faml is only tested with Rails >= 4.0.