Skip to content

Commit

Permalink
Improve SmartyPants section in README
Browse files Browse the repository at this point in the history
  • Loading branch information
mildsunrise committed Oct 4, 2012
1 parent 193a1fe commit 7127bb9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,18 @@ Robotskirt includes some useful utilities. Code speaks by itself:
'Include 5% me in a-query? WíthÙTF!'
```

##### SmartyPants
##### [SmartyPants](http://daringfireball.net/projects/smartypants)

Often used in conjunction with Markdown.
It makes "smart" punctuation. See more on [its homepage](http://daringfireball.net/projects/smartypants).

```javascript
//Often used in conjunction with Markdown.
//It makes "smart" punctuation. Sundown implements
//SmartyPants with the same speed and security as Markdown.
> rs.smartypantsHtml('And I said ---to him--- "no worries".');
'And I said —to him— “no worries”.'
> rs.smartypantsHtml('And I said ---to him--- "no worries"...');
'And I said —to him— “no worries”…'
```

Sundown implements SmartyPants with the same
speed and security as usual.

##### Version stuff

Expand Down

0 comments on commit 7127bb9

Please sign in to comment.