7 lines
189 B
Ruby
7 lines
189 B
Ruby
|
|
||
|
|
||
|
class BootstrapMarkdown < Redcarpet::Render::HTML
|
||
|
def table(header, body)
|
||
|
"<table class=\"table table-striped\">\n<thead>#{header}</thead>\n<tbody>#{body}</tbody></table>"
|
||
|
end
|
||
|
end
|