lib/middleman-syntax/extension.rb in middleman-syntax-3.2.0 vs lib/middleman-syntax/extension.rb in middleman-syntax-3.3.0
- old
+ new
@@ -7,9 +7,10 @@
module Middleman
module Syntax
class SyntaxExtension < Extension
option :css_class, 'highlight', 'Class name applied to the syntax-highlighted output.'
option :line_numbers, false, 'Generate line numbers.'
+ option :line_numbers_div, false, 'Generate line numbers with wrapping divs.'
option :start_line, 1, 'Start the line numbering (if enabled) at the desired integer'
option :inline_theme, nil, 'A Rouge::CSSTheme that will be used to highlight the output with inline styles instead of using CSS classes.'
option :wrap, true, 'Wrap the highlighted content in a container (<pre> or <div>, depending on whether :line_numbers is on).'
option :lexer_options, {}, 'Options for the Rouge lexers.'