README.md in middleman-syntax-2.1.0 vs README.md in middleman-syntax-3.0.0
- old
+ new
@@ -1,13 +1,13 @@
# Middleman-Syntax
`middleman-syntax` is an extension for the [Middleman] static site generator that adds syntax highlighting via [Rouge](https://github.com/jayferd/rouge).
-[![Gem Version](https://badge.fury.io/rb/middleman-syntax.png)][gem]
-[![Build Status](https://travis-ci.org/middleman/middleman-syntax.png)][travis]
-[![Dependency Status](https://gemnasium.com/middleman/middleman-syntax.png?travis)][gemnasium]
-[![Code Quality](https://codeclimate.com/github/middleman/middleman-syntax.png)][codeclimate]
+[![Gem Version](https://badge.fury.io/rb/middleman-syntax.svg)][gem]
+[![Build Status](https://travis-ci.org/middleman/middleman-syntax.svg)][travis]
+[![Dependency Status](https://gemnasium.com/middleman/middleman-syntax.svg?travis)][gemnasium]
+[![Code Quality](https://codeclimate.com/github/middleman/middleman-syntax.svg)][codeclimate]
## Installation
If you're just getting started, install the `middleman` gem and generate a new project:
@@ -113,9 +113,21 @@
Now your Markdown will work just like it does [on GitHub](http://github.github.com/github-flavored-markdown/) - you can write something like this with Redcarpet:
<pre>
```ruby
+def my_cool_method(message)
+ puts message
+end
+```
+</pre>
+
+You can also disable the line numbers on a specific code block. However, this is Middleman-syntax specific feature, which only works when using Redcarpert.
+
+Disabling the line numbers on a code block:
+
+<pre>
+```ruby?line_numbers=false
def my_cool_method(message)
puts message
end
```
</pre>