Update README.md

This commit is contained in:
Takashi Kokubun 2015-05-16 12:25:38 +09:00
parent 7f85131cca
commit c29f3d9878
1 changed files with 9 additions and 2 deletions

View File

@ -49,9 +49,16 @@ Hamlit is used on [githubranking.com](http://githubranking.com/).
Basically the same as [haml](https://github.com/haml/haml).
Check out the [reference documentation](http://haml.info/docs/yardoc/file.REFERENCE.html) for details.
### Rails, Sinatra
### Rails
Just update Gemfile.
Just update Gemfile. Html escaping is enabled by default.
### Sinatra
Update Gemfile. Html escaping is enabled by default.
If you want to disable it, add following code.
```rb
set :haml, { escape_html: false }
```
## Why high performance?
### Less work on runtime