Skip to content

Commit

Permalink
Improve example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jayjun committed Oct 12, 2017
1 parent 0da2592 commit f8abb88
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Expand Up @@ -12,16 +12,14 @@ clipboard utilities on macOS, Linux and Windows but can be configured to call an
## Examples

```elixir
Clipboard.copy("Hello, World!")
"Hello, World!"
Clipboard.copy("Hello, World!") # Copied to clipboard

"Bye, World!"
"Hello, World!"
|> Clipboard.copy() # Insert into pipelines
|> send_to_api()
|> business_as_usual()

# And paste too!
Clipboard.paste()
"Bye, World!"
greeting = Clipboard.paste()
```

## Options
Expand Down

0 comments on commit f8abb88

Please sign in to comment.