Skip to content

Commit

Permalink
README formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rjz committed May 23, 2016
1 parent a38c843 commit ddda269
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ A utility for building [twitter intents](https://dev.twitter.com/web/intents)
Example
-------------------------------------------------------------------------------

var twitterIntent = require('twitter-intent');
var href = twitterIntent.tweet.url({
text: 'Tweet me!',
hashtag: ['node.js', 'npm']
});

console.log('<a href="' + href + '">Click me!</a>');
```js
var twitterIntent = require('twitter-intent');
var href = twitterIntent.tweet.url({
text: 'Tweet me!',
hashtag: ['node.js', 'npm']
});

console.log('<a href="' + href + '">Click me!</a>');
```

Installation
-------------------------------------------------------------------------------
Expand Down

0 comments on commit ddda269

Please sign in to comment.