2016-12-01 12:46:54 -05:00
|
|
|
%div{ class: badge.title.gsub(' ', '-') }
|
2017-09-06 11:38:13 -04:00
|
|
|
.col-lg-12
|
|
|
|
%h4
|
2016-08-12 09:10:02 -04:00
|
|
|
= badge.title.capitalize
|
2017-09-06 11:38:13 -04:00
|
|
|
.panel.panel-default
|
|
|
|
.panel-heading
|
|
|
|
%b
|
|
|
|
= badge.title.capitalize
|
|
|
|
·
|
|
|
|
= badge.to_html
|
|
|
|
.pull-right
|
|
|
|
= render 'shared/ref_switcher', destination: 'badges', align_right: true
|
|
|
|
.panel-body
|
|
|
|
.row
|
|
|
|
.col-md-2.text-center
|
|
|
|
Markdown
|
|
|
|
.col-md-10.code.js-syntax-highlight
|
|
|
|
= highlight('.md', badge.to_markdown)
|
|
|
|
.row
|
|
|
|
%hr
|
|
|
|
.row
|
|
|
|
.col-md-2.text-center
|
|
|
|
HTML
|
|
|
|
.col-md-10.code.js-syntax-highlight
|
|
|
|
= highlight('.html', badge.to_html)
|
|
|
|
.row
|
|
|
|
%hr
|
|
|
|
.row
|
|
|
|
.col-md-2.text-center
|
|
|
|
AsciiDoc
|
|
|
|
.col-md-10.code.js-syntax-highlight
|
|
|
|
= highlight('.adoc', badge.to_asciidoc)
|