middleman / middleman-syntax

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

How can I pass options to pygments? #4

Closed LeonB closed 11 years ago

LeonB commented 11 years ago

I would like pygments to show line numbers. I can't find a way to pass 'linenos=True' to pygments in config.rb.

I don't think this is possible at the moment. It would be nice if this could be implemented.

bhollis commented 11 years ago

That sounds like a good idea, and it would be pretty easy to do. Would you want to take a crack at it and send a pull request?

LeonB commented 11 years ago

Yeah, of course. I'll have a look at it.