blob: 2c3e63879726df0e8bb85aa3a1b29d3243740f33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
%div{ class: badge.title.gsub(' ', '-') }
.col-lg-12
%h4
= badge.title.capitalize
.card
.card-header
%b
= badge.title.capitalize
·
= badge.to_html
.float-right
= render 'shared/ref_switcher', destination: 'badges', align_right: true
.card-body
.row
.col-md-2.text-center
Markdown
.col-md-10.code.js-syntax-highlight
= highlight_badge('.md', badge.to_markdown, language: 'markdown')
.row
%hr
.row
.col-md-2.text-center
HTML
.col-md-10.code.js-syntax-highlight
= highlight_badge('.html', badge.to_html, language: 'html')
.row
%hr
.row
.col-md-2.text-center
AsciiDoc
.col-md-10.code.js-syntax-highlight
= highlight_badge('.adoc', badge.to_asciidoc)
|