Update README.md

This commit is contained in:
Takashi Kokubun 2015-04-12 19:14:15 +09:00
parent 27b29846a0
commit 3bf294c98e
1 changed files with 2 additions and 11 deletions

View File

@ -50,18 +50,9 @@ 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
### Rails, Sinatra
Just update Gemfile.
### Sinatra
For compatibility with Haml, Hamlit does not escape html automatically in sinatra.
You can enable html escaping manually:
```ruby
set :haml, { escape_html: true }
```
Just update Gemfile. Html escaping is enabled by default.
## Why high performance?
### Less work on runtime