Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #65 from kayloos/patch-1

Update README.md
  • Loading branch information...
commit d524f7780b8e7c4e0c2c1800b503a492d614f8b7 2 parents 3f2881a + ae8baf5
@tnm tnm authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
6 README.md
@@ -50,6 +50,12 @@ Pygments.css
Pygments.css('.highlight')
```
+To use a specific pygments style, pass the :style option to the `#css` method:
+
+``` ruby
+Pygments.css(:style => "monokai")
+```
+
Other Pygments high-level API methods are also available.
These methods return arrays detailing all the available lexers, formatters,
and styles.
Please sign in to comment.
Something went wrong with that request. Please try again.