Skip to content
Browse files

Update README.md

Hey, wanted to add how to use the pygments styles, since I was using some time myself finding out. Thanks.
  • Loading branch information...
1 parent 3f2881a commit ae8baf54827324d029739d7920850ca14283e6df @kayloos kayloos committed
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.

0 comments on commit ae8baf5

Please sign in to comment.
Something went wrong with that request. Please try again.