Class: Bootstrap::MarkdownRenderer

Inherits:
Redcarpet::Render::HTML
  • Object
show all
Defined in:
lib/bootstrap/markdown_renderer.rb

Instance Method Summary collapse

Instance Method Details

#table(header, body) ⇒ Object



3
4
5
6
7
8
# File 'lib/bootstrap/markdown_renderer.rb', line 3

def table(header, body)
  %{<table class="table table-bordered">
      #{header}
      #{body}
    </table>}
end