Method: Rouge::Formatters::HTMLTable#style

Defined in:
lib/rouge/formatters/html_table.rb

#style(scope) {|%(#{scope} .rouge-table { border-spacing: 0 })| ... } ⇒ Object

Yields:

  • (%(#{scope} .rouge-table { border-spacing: 0 }))
[View source]

18
19
20
21
# File 'lib/rouge/formatters/html_table.rb', line 18

def style(scope)
  yield %(#{scope} .rouge-table { border-spacing: 0 })
  yield %(#{scope} .rouge-gutter { text-align: right })
end