Class: Bootstrap::MarkdownRenderer
- Inherits:
-
Redcarpet::Render::HTML
- Object
- Redcarpet::Render::HTML
- Bootstrap::MarkdownRenderer
- 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 |