Skip to content

Commit

Permalink
doc fix example with newline interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuck authored Jun 11, 2017
1 parent 46325ba commit d8fee0d
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 d8fee0d

Please sign in to comment.