2017-08-17 22:00:37 +05:30
|
|
|
%div{ class: badge.title.gsub(' ', '-') }
|
2018-03-17 18:26:18 +05:30
|
|
|
.col-lg-12
|
|
|
|
%h4
|
2016-09-13 17:45:13 +05:30
|
|
|
= badge.title.capitalize
|
2018-11-08 19:23:39 +05:30
|
|
|
.card
|
|
|
|
.card-header
|
2018-03-17 18:26:18 +05:30
|
|
|
%b
|
|
|
|
= badge.title.capitalize
|
|
|
|
·
|
|
|
|
= badge.to_html
|
2018-11-08 19:23:39 +05:30
|
|
|
.float-right
|
2018-03-17 18:26:18 +05:30
|
|
|
= render 'shared/ref_switcher', destination: 'badges', align_right: true
|
2018-11-08 19:23:39 +05:30
|
|
|
.card-body
|
2018-03-17 18:26:18 +05:30
|
|
|
.row
|
|
|
|
.col-md-2.text-center
|
|
|
|
Markdown
|
|
|
|
.col-md-10.code.js-syntax-highlight
|
2021-01-03 14:25:43 +05:30
|
|
|
= highlight_badge('.md', badge.to_markdown, language: 'markdown')
|
2018-03-17 18:26:18 +05:30
|
|
|
.row
|
|
|
|
%hr
|
|
|
|
.row
|
|
|
|
.col-md-2.text-center
|
|
|
|
HTML
|
|
|
|
.col-md-10.code.js-syntax-highlight
|
2021-01-03 14:25:43 +05:30
|
|
|
= highlight_badge('.html', badge.to_html, language: 'html')
|
2018-03-17 18:26:18 +05:30
|
|
|
.row
|
|
|
|
%hr
|
|
|
|
.row
|
|
|
|
.col-md-2.text-center
|
|
|
|
AsciiDoc
|
|
|
|
.col-md-10.code.js-syntax-highlight
|
2021-01-03 14:25:43 +05:30
|
|
|
= highlight_badge('.adoc', badge.to_asciidoc)
|