Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mrq1911 committed Sep 7, 2015
1 parent 6807ee6 commit 8b4976e
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# slackify-html

convert html to slack markdown
convert html to [slack markdown](https://slack.zendesk.com/hc/en-us/articles/202288908-Formatting-your-messages)

example usage:
```
var slackify = require('slackify-html');
var text = slackify('this <a href="http://github.com">link</a> is <b>important</b>');
// text variable contains 'this <http://github.com|link> is *important*'
```

0 comments on commit 8b4976e

Please sign in to comment.