middleman / middleman-syntax

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

Include Rouge formatter options in code helper instances #50

Closed ndorfin closed 8 years ago

ndorfin commented 9 years ago

Hi gang, This pull request adds the options hash to the code helper, so that the template author can override or set options on the code blocks they're working on. I've included some feature tests that use line_numbers and start_line options, and updated the README. -nd

Arcovion commented 9 years ago

Thanks, LGTM. Do you think you could add the start_line option to extension.rb too so it's available globally?

ndorfin commented 9 years ago

@Arcovion Done - thanks.

bhollis commented 8 years ago

Thanks, this is great! Would you mind rebasing so I can merge?

bhollis commented 8 years ago

I merged this myself. Sorry it took so long!