Update README.md

This commit is contained in:
Jaehyun Shin 2016-04-25 10:03:16 +09:00
parent 7150222f2f
commit cc5e07271a
1 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ The example below, `html` variable is the html source from blog content "[Elixir
Readability.title(html) Readability.title(html)
#=> Elixir Design Goals #=> Elixir Design Goals
### Extract the content with transformed html. ### Extract the primary content with transformed html.
html html
|> Readability.article |> Readability.article
|> Readability.raw_html |> Readability.raw_html
@ -46,7 +46,7 @@ html
# ... # ...
# ... out our sidebar for other learning resources.</p></div></div> # ... out our sidebar for other learning resources.</p></div></div>
### Extract the text only content. ### Extract only text from the primary content.
html html
|> Readability.article |> Readability.article
|> Readability.readable_text |> Readability.readable_text