middleman / middleman-syntax

Code syntax highlighting plugin via Rouge for Middleman
https://middlemanapp.com
MIT License
179 stars 57 forks source link

Passing options to Pygments not working as described on the readme #7

Closed dansowter closed 11 years ago

dansowter commented 11 years ago

Merges :lexer into the ::Middleman::Syntax.options hash.

Loved the idea, and tried the examples on the readme, but the line numbers just weren't coming up. Dug into Pygments.rb and I have a small tweak that fixes it for me.

bhollis commented 11 years ago

Awesome, thanks!