Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkunger authored Feb 6, 2020
1 parent c6275d2 commit 7f31108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleman-syntax/formatters.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def initialize(opts={})

@formatter = Rouge::Formatters::HTMLTable.new(@formatter, opts) if opts[:line_numbers]

@formatter = Rouge::Formatters::HTMLLinewise.new(@formatter, class='line-%i') if opts[:line_numbers_div]
@formatter = Rouge::Formatters::HTMLLinewise.new(@formatter, class:'line-%i') if opts[:line_numbers_div]

if opts.fetch(:wrap, true)
@formatter = Rouge::Formatters::HTMLPygments.new(@formatter, opts.fetch(:css_class, 'codehilite'))
Expand Down

0 comments on commit 7f31108

Please sign in to comment.