forked from jgthms/bulma
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsnippet.html
More file actions
39 lines (36 loc) · 1.07 KB
/
Copy pathsnippet.html
File metadata and controls
39 lines (36 loc) · 1.07 KB
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
33
34
35
36
37
38
39
<div class="
bd-snippet
{% if include.horizontal %}bd-is-horizontal{% else %}bd-is-vertical{% endif %}
{% if include.fullwidth %}bd-is-fullwidth{% endif %}
{% if include.clipped %}bd-is-clipped{% endif %}
{% if include.size %}bd-is-size-{{ include.size }}{% endif %}
">
<div class="bd-snippet-example">
<p class="bd-snippet-title">
<span class="bd-snippet-tag bd-is-example">Example</span>
</p>
<div class="bd-snippet-preview">
{% if include.wrapper %}
<div class="{{ include.wrapper }}">
{{ include.content }}
</div>
{% else %}
{{ include.content }}
{% endif %}
</div>
</div>
<div class="bd-snippet-source">
<p class="bd-snippet-title">
<span class="bd-snippet-tag bd-is-html">HTML</span>
</p>
<div
class="
bd-snippet-code
{% unless include.clipped %}bd-highlight-full{% endunless %}
{% if include.more %}bd-is-more bd-is-more-clipped{% endif %}
"
>
{% highlight html %}{{ include.content }}{% endhighlight %}
</div>
</div>
</div>