Update README.md
This commit is contained in:
parent
7150222f2f
commit
cc5e07271a
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue