Skip to content

Commit

Permalink
Merge pull request github#1071 from jpuck/patch-1
Browse files Browse the repository at this point in the history
doc fix example with newline interpolation
  • Loading branch information
Yuki Izumi authored Jun 12, 2017
2 parents 46325ba + d8fee0d commit 69ee5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Basic form:
```ruby
require 'github/markup'

GitHub::Markup.render('README.markdown', '* One\n* Two')
GitHub::Markup.render('README.markdown', "* One\n* Two")
```

More realistic form:
Expand All @@ -62,7 +62,7 @@ And a convenience form:
```ruby
require 'github/markup'

GitHub::Markup.render_s(GitHub::Markups::MARKUP_MARKDOWN, '* One\n* Two')
GitHub::Markup.render_s(GitHub::Markups::MARKUP_MARKDOWN, "* One\n* Two")
```


Expand Down

0 comments on commit 69ee5d6

Please sign in to comment.