Skip to content

Commit

Permalink
Fix example of SyntaxHighlightFilter in README.md [ci skip].
Browse files Browse the repository at this point in the history
Closes #186.
  • Loading branch information
JuanitoFatas committed Mar 13, 2015
1 parent dc8f6b9 commit b722289
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,8 @@ Prints:
```html
<p>This is <em>great</em>:</p>

<div class="highlight">
<pre><span class="n">some_code</span><span class="p">(</span><span class="ss">:first</span><span class="p">)</span>
</pre>
</div>
<pre><code>some_code(:first)
</code></pre>
```

To generate CSS for HTML formatted code, use the [pygments.rb](https://github.com/tmm1/pygments.rb#usage) `#css` method. `pygments.rb` is a dependency of the `SyntaxHighlightFilter`.
Expand Down

0 comments on commit b722289

Please sign in to comment.