10000 Merge branch 'custom_body_feature' of https://github.com/ShopRunner/j… · Nikki-Gu/jupyter-notify@49882e7 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge branch 'custom_body_feature' of https://github.com/ShopRunner/j…
Browse files Browse the repository at this point in the history
…upyter-notify into custom_body_feature

pulling readme updates locally
  • Loading branch information
Hanna Torrence authored and Hanna Torrence committed Aug 25, 2017
2 parents 5cd0dae + 53c2cea commit 49882e7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,15 @@ The following options exist:
- `require_interaction` - Boolean, default False. When this is true,
notifications will remain on screen until dismissed. This feature is currently
only available in Google Chrome.

## Custom Message

You may specify what message you wish the notification to display:

```
%%notify -m "sleep for 5 secs"
import time
time.sleep(5)
```

<img src="https://s30.postimg.org/e0v1jbo8h/custom_message_img.png" alt="Jupyter notebook notification with custom message" width="750"/>

0 comments on commit 49882e7

Please sign in to comment.
0