Skip to content

Commit

Permalink
Merge pull request github#493 from himynameismartin/patch-1
Browse files Browse the repository at this point in the history
Add Ruby syntax highlighting
  • Loading branch information
bkeepers committed May 5, 2015
2 parents 43fe31a + d2860bf commit 4691aec
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,24 @@ you wish to run the library. You can also run `script/bootstrap` to fetch them a
Installation
-----------

gem install github-markup
```
gem install github-markup
```

Usage
-----

require 'github/markup'
GitHub::Markup.render('README.markdown', "* One\n* Two")
```ruby
require 'github/markup'
GitHub::Markup.render('README.markdown', "* One\n* Two")
```

Or, more realistically:

require 'github/markup'
GitHub::Markup.render(file, File.read(file))
```ruby
require 'github/markup'
GitHub::Markup.render(file, File.read(file))
```

Contributing
------------
Expand Down

0 comments on commit 4691aec

Please sign in to comment.